test-setup
Skill1 starsChanged 5 months agoMITView on GitHub
Scaffold the test stack for the SaaS app: install and configure Vitest + Testing Library, Playwright, and a CI test step. Run after qa-plan is approved. Produces a runnable test harness.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- striderZA/OpenCodeGameStudiostheir own version, first seen Nov 4, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Oct 19, 2026
- venus2099/codex-game-studiostheir own version, first seen Oct 17, 2026
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- dawn840705/claude-code-studiostheir own version, first seen Aug 28, 2026
Used with
Projects with it also use vertical-slice.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hongyuancSkillvertical-slice
Build and evaluate a production-quality vertical slice before advancing from Pre-Production to Production.
Also in 4 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- striderZA/OpenCodeGameStudios★ 118same name
- cenconq25/claude-code-app-studio★ 40same name
- dawn840705/codex-code-studios★ 17same name
- lilangMax/ClaudeCodeGameStudios★ 8same name
- hongyuanc/codex-game-studios★ 5same name
- gonimar/claude-web-studio★ 4same name
- dawn840705/claude-code-studios★ 1same name
- HunLuanZhiZhu/Game-Studios-Plugin★ 1same name
- venus2099/codex-game-studios★ 1same name
1 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 repository22 other files it gives its agents.
- build-featureSkill
- code-reviewSkill
- compliance-checkSkill
- design-architectureSkill
- design-pricingSkill
- design-schemaSkill
- design-uiSkill
- helpSkill
- launch-checklistSkill
- map-flowsSkill
- qa-planSkill
- scope-checkSkill
- security-auditSkill
- setup-billingSkill
- setup-deploySkill
- setup-stackSkill
- startSkill
- studio-statusSkill
- threat-modelSkill
- validate-ideaSkill
- write-prdSkill
- write-testsSkill
The file
Files
Scaffold the project's test infrastructure from the approved QA plan before any feature tests are written. Non-autonomous: present the full plan, get approval, then execute. Never install packages or write config files without sign-off.
Phases
- Load context — read
docs/specs/qa-plan.mdto understand the chosen pyramid and tooling decisions. If the file is missing, stop and direct to/qa-plan. Also readpackage.jsonand any existing test config files to avoid duplicating setup. - Present the plan — show the user the EXACT commands and files that will be created, including: install commands for Vitest,
@testing-library/react,@testing-library/jest-dom,@playwright/test, and any supporting packages (jsdom,@vitejs/plugin-react— or@vitejs/plugin-react-swcfor Next.js projects that use the SWC compiler; both requirejsdomas the Vitest test environment, etc.); a Playwright browser-binary install step (npx playwright install --with-deps) that runs after@playwright/testis installed, so thatnpm run test:e2edoes not fail with a missing-browser error; config files to be written (vitest.config.ts,vitest.setup.ts,playwright.config.ts);package.jsonscripts to be added (test,test:watch,test:e2e); and the CI test step (e.g. a GitHub Actions job snippet). Underfull, confirm each category; underlean, one confirmation for the whole plan; undersolo, proceed directly. Get explicit approval before running anything. - Apply — on approval, run the install commands (including
npx playwright install --with-deps), write the config files, and add thepackage.jsonscripts. Then add one trivial smoke test — place it under__tests__/colocated with the app (e.g.src/__tests__/smoke.test.ts, or at the project root__tests__/smoke.test.tsif there is nosrc/directory) — rendering a minimal component, and one Playwright homepage test (e2e/smoke.spec.tsvisiting/) to verify the harness end-to-end. - Verify — run
npm test(or equivalent) andnpm run test:e2eagainst the smoke tests; show the output. If anything fails, diagnose and fix before proceeding. Underfull, confirm each suite result; underleanorsolo, summarize the combined result. - Next step — on a green run, point to
/write-tests.
Output
A runnable test scaffold: Vitest + Testing Library config, Playwright config, two smoke tests, updated package.json scripts, and a CI test step snippet. No application code is modified.
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.

