vitest
Skill96 starsChanged 2 months agoMITView on GitHub
Repository configuration, projects, setup, imports/globals, environments, aliases, test placement, and cleanup own the test contract. Inspect them and nearby tests before adding generic patterns. Do not add globals, jsdom, coverage, new setup, or browser mode by default. Define the behavior or regression, test its observable public result, and mock system boundaries rather than the behavior under test. Follow local fixture and cleanup ownership. In Effect repositories, use established @effect/vitest conventions such as it.effect, Layers, and TestClock rather than generic replacements.…
20 other projects use a version of this.
Adopted by
Most recently taken up by
- compozy/compozytheir own version, first seen Oct 1, 2026
- antfu/skillstheir own version, first seen Sep 30, 2026
- supabase/supabasetheir own version, first seen Sep 28, 2026
- onmax/nuxt-skillstheir own version, first seen Sep 18, 2026
- SkotAlexsander/skillstheir own version, first seen Sep 16, 2026
- PanPanFR/oh-my-openkilotheir own version, first seen Aug 28, 2026
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- supabase/supabase★ 111ksame name
- antfu/skills★ 5.9ksame name
- compozy/compozy★ 2.8ksame name
- onmax/nuxt-skills★ 717same name
- pedronauck/skills★ 633same name
- JetBrains/skills★ 360same name
- ever-works/ever-works★ 157same name
- FranRom/pupila★ 36same name
- PanPanFR/oh-my-openkilo★ 9same name
- fefogarcia/approved-skills★ 2same name
10 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 repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- toolkit/AGENTS.mdAGENTS.md
- agents-brainSkill
- agents-docsSkill
- agents-introspectionSkill
- ai-pruneSkill
- autoresearchSkill
- brainstormSkill
- chromium-browserSkill
- claude-handoffSkill
- cli-castSkill
- cli-coingeckoSkill
- cli-ghSkill
- cli-justSkill
- codebase-designSkill
- code-polishSkill
- codex-handoffSkill
- commitSkill
- copy-transcript-pathSkill
- effect-tsSkill
- evm-atlasSkill
- fresh-eyes-sweepSkill
- frontend-designSkill
- git-squashSkill
- grill-meSkill
- html-debriefSkill
- html-playgroundSkill
- interview-meSkill
- large-file-refactorSkill
- naming-refactorSkill
- node-deps-bumperSkill
- pdfSkill
- release-bumperSkill
- repo-cross-pollinationSkill
- repo-harmonizationSkill
- repo-renameSkill
- skill-doctorSkill
- skill-harmonizationSkill
- skill-mapSkill
- skill-writingSkill
- spreadsheetsSkill
- tailwind-cssSkill
- task-handoffSkill
- todo-archiveSkill
- tool-finderSkill
- wrap-upSkill
- yeetSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
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 21
Read patterns for component, async, fixture, snapshot, tag, or browser questions.
“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
Vitest
Repository configuration, projects, setup, imports/globals, environments, aliases, test placement, and cleanup own the test contract. Inspect them and nearby tests before adding generic patterns. Do not add globals, jsdom, coverage, new setup, or browser mode by default.
Workflow
Define the behavior or regression, test its observable public result, and mock system boundaries rather than the
behavior under test. Follow local fixture and cleanup ownership. In Effect repositories, use established
@effect/vitest conventions such as it.effect, Layers, and TestClock rather than generic replacements. For a bug fix,
reproduce the failure before relying on a passing result when practical.
Read patterns for component, async, fixture, snapshot, tag, or browser questions; mocking for module, timer, spy, or global boundaries; configuration for projects, migration, coverage, or reporter selection; and troubleshooting for hangs, discovery, resolution, or flaky state.
For test changes, run the narrowest established command for the changed behavior, then the affected package suite only
when shared setup or contracts changed. Use nlx vitest run only when no project recipe or script exists. Reuse passing
results until new edits, failures, or unresolved concerns justify another run.
Completion requires a meaningful passing focused test under repository configuration and concise command/result evidence
for test changes. A read-only explanation instead requires supporting configuration or API evidence; do not add or run
tests merely to satisfy the change workflow. Use ### 🧪 Regression covered when red-before-green evidence exists;
otherwise ### 🧪 Tests verified for executed tests.
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.

