web-testing
Skill90 starsChanged 8 months agoMITView on GitHub
Test browser games with fast unit tests for pure logic, headless smoke tests, and a deliberate browser matrix.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- PracticalSwan/agent-skillstheir own version, first seen Sep 14, 2026
- darrenCWJ/agent-skills-scaffoldtheir own version, first seen Aug 9, 2026
- Ron-dali/vibe-coding-rulestheir own version, first seen Jul 8, 2026
- pyaephyo11979/rent4Utheir own version, first seen Jun 24, 2026
- mrgoonie/claudekit-skillstheir own version, first seen Nov 10, 2025
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- mrgoonie/claudekit-skills★ 2.2ksame name
- PracticalSwan/agent-skills★ 18same name
- pyaephyo11979/rent4U★ 4same name
- Ron-dali/vibe-coding-rules★ 4same name
- darrenCWJ/agent-skills-scaffold★ 0same 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 repository115 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/00-project-context.mdcCursor rule
- .cursor/rules/01-engine-isolation.mdcCursor rule
- .cursor/rules/02-workflow.mdcCursor rule
- .cursor/rules/03-doc-sync.mdcCursor rule
- .cursor/rules/README.mdCursor rule
- 2d-animation-pipelineSkill
- 3d-animation-pipelineSkill
- 3d-asset-pipelineSkill
- ai-asset-generationSkill
- art-bibleSkill
- audio-implementationSkill
- cinematic-pipelineSkill
- dialogue-content-pipelineSkill
- generated-raster-asset-pipelineSkill
- lighting-lod-pipelineSkill
- localization-pipelineSkill
- materials-shading-pipelineSkill
- placeholder-asset-pipelineSkill
- rigging-skinning-pipelineSkill
- sprite-pipelineSkill
- technical-art-pipelineSkill
- tilemap-pipelineSkill
- ui-animation-pipelineSkill
- ui-asset-pipelineSkill
- vfx-pipelineSkill
- accessibility-designSkill
- combat-designSkill
- core-loop-designSkill
- economy-balancingSkill
- game-feel-designSkill
- level-designSkill
- liveops-designSkill
- monetization-designSkill
- narrative-designSkill
- onboarding-tutorial-designSkill
- procgen-designSkill
- progression-designSkill
- quest-designSkill
- ai-behavior-patternsSkill
- animation-state-patternsSkill
- asset-managementSkill
- build-pipeline-patternsSkill
- event-bus-patternsSkill
- gameplay-architectureSkill
- input-abstractionSkill
- memory-budgetingSkill
- multiplayer-netcode-patternsSkill
- performance-budgetingSkill
- physics-gameplay-patternsSkill
- save-system-patternsSkill
- telemetry-instrumentationSkill
- tools-pipeline-patternsSkill
- ui-hud-patternsSkill
- godot-3d-scenesSkill
- godot-build-releaseSkill
- godot-csharp-patternsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Test browser games with fast unit tests for pure logic, headless smoke tests, and a deliberate browser matrix.
- Distinctive: line 25
keep game rules, scoring, collision math, and save serialization in pure modules with no browser globals, and cover them with fast unit …
- Distinctive: line 27
write scenario tests that step the simulation through real sequences (spawn, collide, score, die) and assert end state, not implementation …
- Distinctive: line 28
add a headless browser smoke test that loads the built game, waits for boot, and fails on console errors, missing assets, or a blank canvas
- Distinctive: line 29
run a manual matrix pass before release across the main desktop engines and at least one real touch device, checking input, audio unlock, …
- Distinctive: line 32
test strategy split by layer (unit, deterministic scenario, headless smoke, manual matrix)
- Distinctive: line 62
Keep this skill aligned with the relevant rules layer and current project documentation.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Testing
Purpose
Test browser games with fast unit tests for pure logic, headless smoke tests, and a deliberate browser matrix.
Use When
- adding tests to a browser game or deciding what to cover
- regressions keep appearing in game rules, scoring, or save data
- a release needs confidence across browsers and devices
Inputs
- feature risk profile (what breaks the game versus what annoys)
- separation between pure logic and browser-bound code
- available runners (node-based unit runner, headless browser tool)
- target browser and device list
Process
- keep game rules, scoring, collision math, and save serialization in pure modules with no browser globals, and cover them with fast unit tests
- make simulation deterministic for tests: seedable random, fixed timestep, and a step function that can be advanced N ticks without rendering
- write scenario tests that step the simulation through real sequences (spawn, collide, score, die) and assert end state, not implementation details
- add a headless browser smoke test that loads the built game, waits for boot, and fails on console errors, missing assets, or a blank canvas
- run a manual matrix pass before release across the main desktop engines and at least one real touch device, checking input, audio unlock, resize, and save persistence
Outputs
- test strategy split by layer (unit, deterministic scenario, headless smoke, manual matrix)
- candidate test cases per layer
- determinism requirements for the simulation
- browser and device matrix with pass criteria
Quality Bar
- unit tests run in milliseconds with no DOM, canvas, or network dependencies
- the same seed and tick count always produce the same simulation state, so failures reproduce exactly
- the smoke test exercises the production build and catches load-order, path, and boot regressions that unit tests cannot see
- gating tests are separated from exploratory checks; the release blocks only on the former
- the matrix includes a genuinely different browser engine and a real touch device, not just one desktop browser at several window sizes
Common Failure Modes
- logic welded to rendering or input so nothing can be tested without spinning up a browser
- unseeded randomness and wall-clock time making every scenario test flaky
- asserting internal fields and call counts instead of observable game state, so refactors break green tests
- a smoke test against the dev server while the deployed build fails on base paths or asset casing
- declaring browser support from a single-engine test pass and missing audio, fullscreen, or touch differences elsewhere
Related Agents
- qa-lead
- gameplay-programmer
- web-reviewer
Related Commands
- tdd
- verify
- qa-plan
Notes
- Keep this skill aligned with the relevant rules layer and current project documentation.
- Framework scenes are integration territory; keep their logic thin and push decisions into pure modules where the cheap tests live.
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.

