matryca-plumber / rules
Cursor rule99 starsChanged 4 months agoApache-2.0View on GitHub
Prepare a semver release (CHANGELOG, pyproject.toml, uv.lock, checks)
- Reads credentials
- 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,531 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 repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/00-karpathy-agent-behavior.mdcCursor rule
- .cursor/rules/01-core-paradigm.mdcCursor rule
- .cursor/rules/02-python-standards.mdcCursor rule
- .cursor/rules/03-logseq-api.mdcCursor rule
- .cursor/rules/04-spatial-parser.mdcCursor rule
- .cursor/rules/06-auto-changelog.mdcCursor rule
- .cursor/rules/07-env-example.mdcCursor rule
- .cursor/rules/08-github-workflow-standards.mdcCursor rule
- .cursor/rules/09-github-identity-marco-porcellato.mdcCursor rule
- .cursor/rules/10-tooling-static-analysis-policy.mdcCursor rule
- .cursor/rules/11-prompt-maintainer.mdcCursor rule
- .cursor/rules/12-clean-code-architecture.mdcCursor rule
- llms.txtllms.txt
- .well-known/llms.txtllms.txt
- matryca-changelogSkill
- matryca-clean-architectureSkill
- matryca-envSkill
- matryca-githubSkill
- matryca-logseq-ioSkill
- matryca-logseq-paradigmSkill
- matryca-prompt-maintainerSkill
- matryca-python-standardsSkill
- matryca-releaseSkill
- matryca-spatial-parserSkill
The file
We split this 05-release-preparation.mdc into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
When the user asks to prepare, cut, or ship a release (e.g.
- Very specific: line 29
Never tag [Unreleased] or ship with version/changelog mismatch.
- Very specific: line 30
Do not use gh release create --generate-notes.
- Very specific: line 31
Do not commit secrets (.env).
- Distinctive: line 32
Only create a git commit when the user explicitly requests it.
≈ “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: Prepare a semver release (CHANGELOG, pyproject.toml, uv.lock, checks) alwaysApply: false --- # Release preparation (Matryca Plumber) When the user asks to **prepare**, **cut**, or **ship** a release (e.g. “prepare release v1.6.2”, “rilascia 1.6.2”), run this checklist **in order** without skipping steps. ## Inputs - Target version: `X.Y.Z` (from user message; accept `vX.Y.Z` and normalize). - Today’s date: ISO `YYYY-MM-DD` for the changelog heading. ## Steps 1. **Read** `CHANGELOG.md`. Under `## [Unreleased]`, there must be at least one meaningful bullet **or** the user explicitly confirms an empty/maintenance release. 2. **Finalize changelog** - Rename `## [Unreleased]` → `## [X.Y.Z] - <today>`. - Insert a fresh `## [Unreleased]` at the top (after the intro lines) with empty optional subsections or none. 3. **Bump version** — set `version = "X.Y.Z"` in `pyproject.toml` (no `v` prefix). 4. **Lockfile** — run `uv lock` from the repo root. 5. **Verify notes** — run `python scripts/extract_changelog.py vX.Y.Z` and confirm output matches the new section. 6. **Tests** — run `make check` if available; otherwise `uv run ruff check src tests`, `uv run mypy src tests`, `uv run pytest -q`. 7. **Summarize for the user** — list changed files and the exact git commands from `docs/RELEASE_PROCESS.md` (commit message `chore: release X.Y.Z`, tag `vX.Y.Z`, push branch + tag). **Do not** create the tag or push unless the user explicitly asks. ## Constraints - Never tag `[Unreleased]` or ship with version/changelog mismatch. - Do not use `gh release create --generate-notes`; release notes come only from `CHANGELOG.md` via CI. - Do not commit secrets (`.env`). - Only create a git commit when the user explicitly requests it. ## Reference - [`docs/RELEASE_PROCESS.md`](docs/RELEASE_PROCESS.md) - [`scripts/extract_changelog.py`](scripts/extract_changelog.py)
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.

