test-setup
Skill1 starsChanged 23 days agoMITView on GitHub
Sets up the project's test infrastructure for its stack: unit/component runner, integration tests against a real test database (Docker Compose), Playwright e2e with axe, coverage, fixtures and CI-ready scripts. Use after /setup-stack, when tests are missing, or when the test setup is broken.
- Installs packages
14 other projects use a version of this.
Adopted by
Most recently taken up by
- bullish0x/GameStudiotheir own version, first seen Nov 29, 2026
- chuanglibs/Claude-Code-Game-Studios-Codextheir own version, first seen Nov 15, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Nov 9, 2026
- striderZA/OpenCodeGameStudiostheir own version, first seen Nov 4, 2026
- venus2099/codex-game-studiostheir own version, first seen Oct 17, 2026
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- striderZA/OpenCodeGameStudios★ 124same name
- cenconq25/claude-code-app-studio★ 40same name
- bullish0x/GameStudio★ 29same name
- dawn840705/codex-code-studios★ 17same name
- lilangMax/ClaudeCodeGameStudios★ 8same name
- hongyuanc/codex-game-studios★ 5same name
- gonimar/claude-web-studio★ 4same name
- chuanglibs/Claude-Code-Game-Studios-Codex★ 1same name
- dawn840705/claude-code-studios★ 1same name
4 more not listed
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 repository100 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- add-ai-featureSkill
- add-authSkill
- add-cmsSkill
- add-i18nSkill
- add-paymentsSkill
- add-realtimeSkill
- adoptSkill
- analytics-planSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- brainstormSkill
- brand-identitySkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- ci-setupSkill
- client-demoSkill
- competitor-auditSkill
- consistency-checkSkill
- content-calendarSkill
- content-strategySkill
- create-architectureSkill
- create-epicsSkill
- create-storiesSkill
- cro-reviewSkill
- data-modelSkill
- db-migrationSkill
- dependency-auditSkill
- deploy-setupSkill
- design-reviewSkill
- design-systemSkill
- design-tokensSkill
- dev-storySkill
- e2eSkill
- email-flowsSkill
- estimateSkill
- experimentSkill
- feature-specSkill
- funnel-reviewSkill
- gate-checkSkill
- helpSkill
- hotfixSkill
- incidentSkill
- install-depsSkill
- launch-checklistSkill
- load-testSkill
- market-researchSkill
- milestone-reviewSkill
- observability-setupSkill
- onboardSkill
- perf-auditSkill
- personasSkill
- postmortemSkill
- privacy-auditSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Write each file after approval.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Test Setup
Gives the project the three test layers the TDD workflow needs, with commands that run identically on a laptop and in CI.
Inputs
project.yaml → stack.*,stack.test_unit,stack.test_e2e.claude/docs/stack-matrix.md: the runner, commands and conventions per stack- Existing config (
vitest.config.*,jest.config.*,pytest.ini/pyproject.toml,playwright.config.*,phpunit.xml,.rspec) bash .claude/scripts/detect-stack.shto confirm what is installed
Phases
Phase 1: Inventory
Report what exists and what is missing per layer. If stack.test_unit is null,
recommend the matrix default (Vitest for Vite/TS stacks, Jest only if already present,
pytest, go test, Pest/PHPUnit, RSpec/Minitest) and set it after approval.
Phase 2: Plan
Spawn test-engineer to propose:
- Unit/component: runner config, Testing Library for UI, path aliases matching
the app,
tests/unit/and colocated component tests - Integration:
docker-compose.test.ymlwith Postgres (and Redis if used) on non-default ports; per-run database (or per-worker schema) with migrations applied; factories/fixtures; MSW/respx/httptest for third-party HTTP - E2E:
playwright.config.tswithwebServerstarting the app,baseURLfromBASE_URL, traces on first retry, projects for chromium (+ mobile viewport);@axe-core/playwrighthelper; auth storage-state setup - Scripts:
test,test:unit,test:integration,test:e2e,test:coverage(or Makefile/composer/rake equivalents) sobash .claude/scripts/test-run.shfinds them - Coverage thresholds by rigor (
minimalnone,standard70% lines onsrc/logic,full80% + changed-lines coverage in CI)
Show the file list and ask.
Phase 3: Write and verify
Write each file after approval. Install commands (e.g. pnpm add -D vitest
@testing-library/react @playwright/test @axe-core/playwright) are printed for the
user to run or approved individually. Add one smoke test per layer and run
bash .claude/scripts/test-run.sh all; show the result.
Next step
/ci-setup to run these in CI, or /dev-story.
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.

