zshy / rules
Cursor rule1.1k starsChanged 15 months agoMITView on GitHub
When tests fail due to snapshot mismatches, update the snapshots using: or the short form: Snapshots are stored in test/snapshots/zshy.test.ts.snap and contain expected output from the zshy build tool tests.
We split this snapshot-updates.mdc into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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 8
When tests fail due to snapshot mismatches, update the snapshots using:
- Distinctive: line 22
After making intentional changes to test behavior
- Distinctive: line 23
When fixing bugs that affect test output
- Distinctive: line 24
When adding new features that change build output
- Distinctive: line 25
After refactoring code that impacts test results
- Distinctive: line 34
Only update snapshots when the new behavior is correct
- Distinctive: line 35
Commit snapshot updates separately from code changes for easier review
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 Cursor rule 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
--- --- # Snapshot Testing Guide ## Updating Snapshots When tests fail due to snapshot mismatches, update the snapshots using: ```bash pnpm vitest run --update ``` or the short form: ```bash pnpm vitest run -u ``` ## When to Update Snapshots - After making intentional changes to test behavior - When fixing bugs that affect test output - When adding new features that change build output - After refactoring code that impacts test results ## Snapshot Files Snapshots are stored in [test/**snapshots**/zshy.test.ts.snap](mdc:test/__snapshots__/zshy.test.ts.snap) and contain expected output from the zshy build tool tests. ## Best Practices - Review the diff before updating snapshots to ensure changes are expected - Only update snapshots when the new behavior is correct - Commit snapshot updates separately from code changes for easier review
Trending
Less talk lately.about the whole repository
Who's talking about colinhacks/zshy
- adrianbrowning/faxios“chore(deps-dev): bump the development_dependencies group across 1 directory with 10 updates”GitHub · Oct 6, 2026
- adrianbrowning/dynamic-throttled-queue“chore(deps-dev): bump the dev-dependencies group across 1 directory with 3 updates”GitHub · Oct 2, 2026
- velut/zod-package-json“chore(deps-dev): bump zshy from 0.7.3 to 0.8.0”GitHub · Oct 1, 2026
- onparallel/write-excel-file-data-validation“No package entry point for node environments”GitHub · Oct 1, 2026
- Cumulocity-IoT/cumulocity-dynamic-mapper“Bump zshy from 0.7.0 to 0.8.0 in /dynamic-mapper-smart-function”GitHub · Oct 1, 2026
The biggest 5 of 31 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 31
Talked about on GitHub and Bluesky (31 times).
On GitHub · 30
- Oct 6, 2026chore(deps-dev): bump the development_dependencies group across 1 directory with 10 updates — adrianbrowning/faxios0 reactions · 2 comments
- Oct 2, 2026chore(deps-dev): bump the dev-dependencies group across 1 directory with 3 updates — adrianbrowning/dynamic-throttled-queue0 reactions · 5 comments
- Oct 1, 2026chore(deps-dev): bump zshy from 0.7.3 to 0.8.0 — velut/zod-package-json0 reactions
- Oct 1, 2026No package entry point for node environments — onparallel/write-excel-file-data-validation0 reactions · 1 comment
- Oct 1, 2026Bump zshy from 0.7.0 to 0.8.0 in /dynamic-mapper-smart-function — Cumulocity-IoT/cumulocity-dynamic-mapper0 reactions · 1 comment
25 more on GitHub
- Oct 1, 2026build(deps-dev): bump zshy from 0.7.3 to 0.8.0 — velut/verify-hcaptcha0 reactions
- Oct 1, 2026chore(deps-dev): bump zshy from 0.7.3 to 0.8.0 — jsdocs-io/extractor0 reactions
- Oct 1, 2026build(deps-dev): bump zshy from 0.7.3 to 0.8.0 — velut/short-time-ago0 reactions
- Aug 1, 2026Bump the typescript-and-tools group across 1 directory with 5 updates — m10rten/typescript-bits0 reactions · 2 comments
- Jul 9, 2026perf(deps): bump zshy from 0.7.2 to 0.7.3 — kc-workspace/kcws0 reactions · 4 comments
- Jul 1, 2026chore(deps-dev): bump zshy from 0.7.2 to 0.7.3 — velut/zod-package-json0 reactions
- Jul 1, 2026build(deps-dev): bump zshy from 0.7.2 to 0.7.3 — velut/verify-hcaptcha0 reactions
- Jul 1, 2026Bump the typescript-and-tools group with 4 updates — m10rten/typescript-bits0 reactions · 3 comments
- Jul 1, 2026chore(deps-dev): bump zshy from 0.7.2 to 0.7.3 — jsdocs-io/extractor0 reactions
- Jul 1, 2026build(deps-dev): bump zshy from 0.7.2 to 0.7.3 — velut/query-registry0 reactions
- Jul 1, 2026build(deps-dev): bump zshy from 0.7.2 to 0.7.3 — velut/short-time-ago0 reactions
- Jun 19, 2026chore(deps): upgrade fast-check to v4.8.0 — boneskull/bupkis0 reactions · 2 comments
- May 30, 2026perf(deps): bump zshy from 0.7.0 to 0.7.2 — kc-workspace/kcws0 reactions · 3 comments
- May 1, 2026chore(deps-dev): bump zshy from 0.7.0 to 0.7.2 — velut/zod-package-json0 reactions · 1 comment
- May 1, 2026build(deps-dev): bump zshy from 0.7.0 to 0.7.2 — velut/query-registry0 reactions
- Feb 9, 2026dev-deps: bump the dev-deps-minor-patch group across 1 directory with 7 updates — charlie-labs/format-for0 reactions · 1 comment
- Feb 9, 2026dev-deps: bump the dev-deps-minor-patch group across 1 directory with 6 updates — charlie-labs/bun-lib-template0 reactions · 1 comment
- Jan 5, 2026Bump zshy from 0.3.5 to 0.7.0 — AdityaBorkar/kitto-form0 reactions
- Jan 5, 2026build(deps-dev): Bump zshy from 0.4.4 to 0.7.0 — quitsmx/show-text0 reactions
- Jan 5, 2026build(deps): bump zshy from 0.3.5 to 0.7.0 — AdityaBorkar/sine-toolbox0 reactions
- Jan 1, 2026chore(deps-dev): bump zshy from 0.4.4 to 0.7.0 — outslept/json-crdt0 reactions
- Jan 1, 2026chore(deps-dev): bump zshy from 0.4.4 to 0.7.0 — outslept/md-fence0 reactions
- Jan 1, 2026chore(deps-dev): bump the dev group across 1 directory with 5 updates — marcalexiei/eslint-plugin-react-import0 reactions · 1 comment
- Jan 1, 2026chore(deps-dev): bump zshy from 0.4.4 to 0.7.0 — outslept/aho-corasick0 reactions
- Jul 10, 2025Use zshy — tmcw/vitest-results0 reactions · 1 comment
On Bluesky · 1
- Aug 19, 2025see disclaimer but if you want sth that's easy and just works, zshy *should* work for js too disclaimer: it usually is zero configuration;… — @itsnco.bsky.social0 likes and reposts · 1 reply
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 3,978 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/testing-tsconfig.mdcCursor rule
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.

