refiner
Skill4 starsChanged 7 months agoMITView on GitHub
Reads a structured QA failure report and the current source files, emits replacement file contents that fix the listed failures. Bounded — at most 3 iterations per generation pipeline. Use after playtester reports failures.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Autodesk/claude-browser-test-skillstheir own version, first seen Jul 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Autodesk/claude-browser-test-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- action-platformerSkill
- audio-composerSkill
- beat-em-upSkill
- bg-artistSkill
- codesmithSkill
- game-designerSkill
- gameforgeSkill
- gap-checkerSkill
- iso-city-builderSkill
- iso-living-worldSkill
- manifest-auditorSkill
- mobile-compat-checkerSkill
- multiplayerSkill
- palette-enforcerSkill
- parallel-qa-orchestraSkill
- physics-debug-validatorSkill
- pixel-action-adventureSkill
- playtesterSkill
- rpg-overworldSkill
- sprite-artistSkill
- tile-artistSkill
- world-architectSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 0 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
When qa/qa-report.json has passed === false and the orchestrator has not yet hit its 3-iteration cap.
- Very specific: line 28
Don't modify files outside src/.
- Very specific: line 30
If a failure is console-error: <X>, fix the cause — do not silence the log.
- Very specific: line 31
If winCondition is unreachable, fix the level OR the code so the QA scenario can complete.
- Very specific: line 35
Read the latest QA report from qa/qa-report.json.
- Very specific: line 36
Read the GDD + manifest from game-state.json.
- Very specific: line 37
Read all relevant source files under src/ (use scripts/collect_files.mjs <dir>).
- Very specific: line 40
Run scripts/apply_fixes.mjs <project-dir> <fixes-json> — refuses paths outside src/.
- Very specific: line 64
After every successful fix, call scripts/debug_library.mjs --add to record the lesson so future generations don't repeat the same mistake:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Refiner
Apply targeted fixes to the codesmith's output based on structured QA failures. Conservative — patches the listed failures only, doesn't refactor.
When to use
When qa/qa-report.json has passed === false and the orchestrator has not yet hit its 3-iteration cap.
Output contract
Output ONLY a JSON object:
{
"files": [
{ "path": "src/scenes/Game.js", "content": "<full new contents>" }
],
"rationale": "<one short paragraph explaining the fixes>"
}- Provide full file contents, not patches.
- Don't modify files outside
src/. - Preserve the GameScene contract (
init,create,scene-readyevent,window.__gameStateshape). - If a failure is
console-error: <X>, fix the cause — do not silence the log. - If
winConditionis unreachable, fix the level OR the code so the QA scenario can complete.
Process
- Read the latest QA report from
qa/qa-report.json. - Read the GDD + manifest from
game-state.json. - Read all relevant source files under
src/(usescripts/collect_files.mjs <dir>). - Build context: failures, GDD essentials, manifest, current files.
- Produce the JSON.
- Run
scripts/apply_fixes.mjs <project-dir> <fixes-json>— refuses paths outsidesrc/. - Re-invoke
playtester(orchestrator's job, not yours).
Failure → fix recipe
| Failure kind | Likely cause | Fix to consider |
boot-timeout | scene-ready never emitted, or asset 404 | Verify events.emit('scene-ready') at end of create(); verify manifest paths |
exception | Runtime JS error | Read message; locate file; correct |
console-error | Asset 404, animation key missing, etc. | Cross-check manifest |
no-movement (walk-right Δx ≤ 0) | Player blocked by wall, or input wiring wrong | Check spawn is on passable tile + body size; check input dispatch |
no-jump (jumpDelta ≤ 0) | Using isDown instead of JustDown for jump; or no ground beneath spawn | Switch to JustDown(SPACE); check b.blocked.down |
screenshot-diff (≥ 5%) | Visual regression OR genuine improvement | Inspect diff image; if intentional, run with --update-baselines |
low-fps | Too many objects, missing culling | Pool projectiles, cull off-screen |
blank-canvas | Render layer setup wrong | Confirm tilemap layer created; confirm pixelArt config |
Halt conditions
- 3 iterations reached → halt, surface to user with the persistent failures.
- Refiner output references a file outside
src/→ reject, request resubmit. - Refiner output references a non-existent animation key → reject, request resubmit.
Persistent debug library
After every successful fix, call scripts/debug_library.mjs --add to record the lesson so future generations don't repeat the same mistake:
node scripts/debug_library.mjs --add "<symptom>" "<cause>" "<one-line fix>" [genre]
# e.g.
node scripts/debug_library.mjs --add \
"Cannot read properties of null (reading 'setVelocity')" \
"body accessed before physics world resolves the sprite" \
"guard all body access with: if (!sprite.body) return;" \
"any"The library lives at ~/.game-creation-agent/debug-library.json. The codesmith reads the top entries on each generation to pre-empt known bugs. View library: node scripts/debug_library.mjs --list.
Scripts
scripts/collect_files.mjs <project-dir>— emits all.js/.mjsundersrc/with contents.scripts/apply_fixes.mjs <project-dir> <fixes-json>— safety-checked file writer.scripts/debug_library.mjs --add <symptom> <cause> <fix> [genre]— record a fix.scripts/debug_library.mjs --list— view all entries sorted by hit count.
References
references/failure-taxonomy.md— the canonical list of failure kinds and recipes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

