balakit / rules
Cursor rule1 starsChanged 2 months agoMITView on GitHub
Git tag, CHANGELOG heading, package.json, and npm publish must share one semver. Use when releasing, shipping, deploying, tagging, or publishing npm.
- Commits and pushes
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 1,533 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 repository103 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/base.mdcCursor rule
- .cursor/rules/changelog.mdcCursor rule
- .cursor/rules/comments.mdcCursor rule
- .cursor/rules/seo-ai-search.mdcCursor rule
- .cursor/rules/testing.mdcCursor rule
- agent-readySkill
- authoring-skills-and-rulesSkill
- blinded-evalSkill
- cloakbrowser-fallbackSkill
- deep-deliberationSkill
- design-rationaleSkill
- dissectSkill
- documentation-writerSkill
- everything-seoSkill
- executeSkill
- generating-app-verifySkill
- inceptionSkill
- kit-workflowsSkill
- marketing-psychologySkill
- media-genSkill
- nlm-skillSkill
- opinionSkill
- proving-change-safetySkill
- refreshing-app-verifySkill
- release-deploySkill
- seo-auditSkill
- startup-marketing-brainSkill
- subsystem-walkthroughSkill
- unmatched-workflowSkill
- agent-readySkill
- authoring-skills-and-rulesSkill
- blinded-evalSkill
- cloakbrowser-fallbackSkill
- deep-deliberationSkill
- design-rationaleSkill
- dissectSkill
- documentation-writerSkill
- everything-seoSkill
- executeSkill
- generating-app-verifySkill
- inceptionSkill
- kit-workflowsSkill
- marketing-psychologySkill
- media-genSkill
- nlm-skillSkill
- opinionSkill
- proving-change-safetySkill
- refreshing-app-verifySkill
- release-deploySkill
- seo-auditSkill
- startup-marketing-brainSkill
- subsystem-walkthroughSkill
- unmatched-workflowSkill
- agent-readySkill
- authoring-skills-and-rulesSkill
- blinded-evalSkill
- cloakbrowser-fallbackSkill
- deep-deliberationSkill
- The first 60 shown.
The file
We split this release.mdc into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Commit. Tag that commit: git tag -a vX.Y.Z -m "vX.Y.Z".
- Very specific: line 29
If the tag workflow fails after the GitHub Release exists, do not publish a different version locally to "catch up." Fix the secret/token, …
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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
--- description: Git tag, CHANGELOG heading, package.json, and npm publish must share one semver. Use when releasing, shipping, deploying, tagging, or publishing npm. alwaysApply: true --- # Release version lockstep **One version.** The git tag, `package.json` `"version"`, CHANGELOG heading, and npm publish are the same semver. Never tag or publish a version that is not already committed in `package.json`. ## Identity | Surface | Form | Example | |---------|------|---------| | `package.json` `"version"` | no leading `v` | `1.14.0` or `1.15.0-beta.1` | | git tag | `v` + that string | `v1.14.0` or `v1.15.0-beta.1` | | CHANGELOG heading | `## [vX.Y.Z]` (or without `v`) | `## [v1.14.0]` | | npm | that same `package.json` version | `balakit@1.14.0` (`latest`) or dist-tag `beta` | Plugin / marketplace `version` fields lockstep with `package.json`. Skill `SKILL.md` `version:` does not. Bump `package.json` only, then `./sync.sh`. Never hand-edit generated plugin versions. ## Order 1. Cut CHANGELOG `[Unreleased]` into `## [vX.Y.Z]`. 2. Set `package.json` `"version"` to `X.Y.Z` (no `v`). 3. `./sync.sh` then `npm test` and `node scripts/check-lockstep.mjs --rebuild --git`. 4. Commit. Tag that commit: `git tag -a vX.Y.Z -m "vX.Y.Z"`. 5. Push the tag only after the commit is on the release branch. The `v*` workflow creates the GitHub Release and runs `npm publish`. Do **not** also `gh release create` or `npm publish` locally — that duplicates the tag and can publish a different version than the tag. If the tag workflow fails after the GitHub Release exists, do not publish a different version locally to "catch up." Fix the secret/token, then re-run the same tag job (make `gh release create` a no-op if the release already exists). ## npm auth GitHub Actions `NPM_TOKEN` must be an npm **Automation** token (bypasses 2FA). Publish/classic tokens fail CI with `EOTP`. Procedure: `release-deploy` skill + `skills/release-deploy/projects/<owner>-<repo>.md`.
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.

