tdd
Use for explicit TDD or when Roblox logic has a cheap deterministic Luau regression target that can fail before the fix.
- License 许可
- MIT
- 最近更新
- 2026-09-04
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- tdd
- description
- Use for explicit TDD or when Roblox logic has a cheap deterministic Luau regression target that can fail before the fix.
02 资源文件 1
- 参考文档agents/openai.yaml189 B
03 SKILL.md 正文
TDD for Roblox
Use TDD for pure or isolated logic with an existing local test harness. Good targets include reducers, state machines, serialization, migrations, cooldown calculations, target selection, validation, wave composition, and deterministic adapters.
- Write the smallest test that proves the reported failure or new contract.
- Run it and record the expected failure.
- Make the smallest implementation change.
- Run the focused test, then the relevant suite and project assembly check.
- Keep the test about behavior. Avoid mocks that reproduce the implementation.
Skip test-first when the repository has no suitable harness and creating one would exceed the task, or when proof requires Studio rendering, physics, networking, or input behavior. In that case, use a local deterministic probe when possible and hand the exact Studio test to the user. Never invoke Roblox Studio MCP playtest controls. rojo build validates assembly, not Luau runtime behavior.
04 同仓库更多 Skills
why
Recover why a Roblox design or implementation exists from project decisions, source history, current code, and authored context.
unslop
Cut AI tells from any writing. Must always apply.
technical-writing
Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for $technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
teach
Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.
swarm
Coordinate independent routine execution or exploration batches and return one reviewed report. Use for $swarm or large separable work that justifies parallel overhead.
show-me-your-work
Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result). Local by default; commit it when a reviewer needs the trail to trust the result. Use for $show-me-your-work, autonomous or multi-phase runs, or work a human reviews after stepping away.