Skip to content
Back to skills

Harness

ASecurity

Set up and verify the agent's harness for a Roblox project BEFORE any game work: the pinned toolchain (Rokit, Rojo, Lune, Selene, StyLua, luau-lsp), the three test tiers (Lune for pure rules, Open Cloud Luau Execution for a real DataModel headlessly, Studio MCP only for what a person must see), and `harness.py doctor`, which probes the capabilities a task needs and stops the work by name when one is missing instead of letting the agent substitute what it can do. Use WHENEVER the work is "set ...

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythonbashgitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add th3r-dev/th3-skills --skill harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/th3r-dev-harness/badge)](https://www.skillsdirectory.com/skills/th3r-dev-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: game-dev-harness
description: >-
  Set up and verify the agent's harness for a Roblox project BEFORE any game work: the pinned
  toolchain (Rokit, Rojo, Lune, Selene, StyLua, luau-lsp), the three test tiers (Lune for pure
  rules, Open Cloud Luau Execution for a real DataModel headlessly, Studio MCP only for what a
  person must see), and `harness.py doctor`, which probes the capabilities a task needs and stops
  the work by name when one is missing instead of letting the agent substitute what it can do.
  Use WHENEVER the work is "set up a harness", "set up the agent for Roblox", "before working with
  Roblox", "what do I need installed", "wire the agent to Studio", "headless Roblox tests",
  "test without Studio", "Open Cloud Luau Execution", "CI for a Roblox game", "the agent used
  Python instead of Blender", "the agent ignored the skill", "ตั้ง harness", "เตรียมเครื่องมือ
  ก่อนทำเกม", "เทสต์ Roblox แบบไม่เปิด Studio". Read this before the first task in a Roblox
  project, and run the doctor again whenever a task changes kind.
---

# Harness: prove the capability, then work

An agent that cannot load a skill or start a tool **does not stop**. It reaches for the capability
it has: Python instead of Blender, generated geometry instead of a model, a parse instead of a run.
That substitution reads as progress for days. One project lost ten days to it — a full `modeling/`
skill and a Blender pipeline existed, the worker could not load them, and it baked the terrain from
Python instead; the resulting float check reached round 21.

So the harness is a **gate, not a scaffold**. Before a task, probe what that task needs.

```bash
uv run --no-project python scripts/harness.py doctor                  # everything
uv run --no-project python scripts/harness.py doctor --for model      # a modelling task
uv run --no-project python scripts/harness.py doctor --for luau --strict
```

| `--for` | Needs | A miss stops |
|---|---|---|
| `luau` | rokit, rojo, lune, selene, stylua, a type gate, an LF pin | writing or checking Luau |
| `model` | Blender | **every modelling task — do not generate geometry instead** |
| `vfx`, `playtest` | Studio MCP | authoring effects, playtests, screenshots |
| `headless-test` | an Open Cloud key with the execution scope | tier 2 tests |
| `loop` | referenced skills resolvable, commit hooks installed | running the agent loop at all |

`MISS` exits 1. A probe that ran but cannot prove its answer prints `NOT ASSESSED` — a running
Studio is not provable from a script — and is never counted as a pass; `--strict` fails on it too.

**The doctor's answer is the whole point.** When it reports a miss, say which capability is missing
and stop. Do not route around it. That rule is the mechanical form of the flow's
[asset authoring law](../modeling/SKILL.md) and of
[`references/agentic-build.md`](../references/agentic-build.md#gates-that-count).

## The three test tiers

Most Roblox projects test in one place — a human clicking Play — and so they test almost nothing.
There are three tiers, and the cheap ones carry most of the load:
[`references/tiers.md`](references/tiers.md).

| Tier | Runs | Cost | What belongs here |
|---|---|---|---|
| 1. Lune | rules modules that never touch `game` | milliseconds, free, every commit | pacing, wallet, gear tiers, height rules, every remote validator |
| 2. Open Cloud Luau Execution | a real place, headless, full DataModel | API-rate-limited: a pre-merge gate, not a loop | streaming, replication, instance tree, anything needing a real DataModel |
| 3. Studio MCP | Studio on a person's machine | slow, serial, needs Studio open | rendering, real input, screenshots — what a person must see |

Design rules modules so tier 1 can reach them. A project whose logic only runs inside `game` has
chosen tier 3 for everything, which is why its tests become screenshots and its screenshots become
opinions.

## Set-up order

1. `rokit init`, then pin every tool in `rokit.toml` and run `rokit install`. Pinned *and* on PATH
   is the only state the doctor accepts; either alone is version drift between you and CI.
2. `.gitattributes` with `*.luau text eol=lf`. Without it a fresh Windows clone fails
   `stylua --check` on every file, and the first thing an agent does is "fix" the formatting.
3. The project layout and the config module: [`../roblox/SKILL.md`](../roblox/SKILL.md).
4. Tier 1 first: `tests/run.luau` with Lune, with a rules module to test. Before any feature.
5. The Studio MCP server, from inside Studio: [`../engine-mcp/SKILL.md`](../engine-mcp/SKILL.md).
6. Tier 2 last, and only once a place is published: an API key scoped to Luau execution.
7. Vendor every skill the instruction files name into `.claude/skills/`, or the agent in a fresh
   worktree cannot load it. A reference that cannot resolve is worse than no reference, because
   the owner believes it is in force.
8. Install the commit hooks. Then `doctor --strict` and fix what it names.

## Check

`doctor --for <task>` exits 0 for the task you are about to do, and the project's own CI runs tiers
1 and 2. A tier-3 result is attached as a capture, never summarised as "looks right".

## Tests

```bash
cd skills/shipped/game-dev && uv run --no-project python harness/scripts/harness.py --selftest
uv run --no-project python -m pytest -q
```

Files in this skill

  • SKILL.md5.3 KB
  • references/tiers.md3.6 KB
  • scripts/harness.py12.7 KB
  • tests/test_harness.py4.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.