05-release-preparation

05-release-preparation is a cursor rule for Cursor from MarcoPorcellato/matryca-plumber. It costs 19 tokens per session (522 once invoked), scanned A, original, Apache-2.0.

A release checklist for the Matryca Plumber Python project that updates the changelog, version, lockfile and release checks. Semantic versioning, or semver, is the X.Y.Z version format used for releases.

In plain words
What is it for?
Use it when preparing, cutting or shipping a release, such as version 1.6.2.
Why use it?
It reduces missed release steps and confirms that the documented notes, dependencies and tests match the target version.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when preparing, cutting or shipping a release, such as version…

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/marcoporcellato/matryca-plumber/05-release-preparation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/MarcoPorcellato/matryca-plumber

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 05-release-preparation

README.md
[![agentmods](https://agentmods.dev/badge/rules/marcoporcellato/matryca-plumber/05-release-preparation.svg)](https://agentmods.dev/rules/marcoporcellato/matryca-plumber/05-release-preparation)
Your own site
<a href="https://agentmods.dev/rules/marcoporcellato/matryca-plumber/05-release-preparation"><img src="https://agentmods.dev/badge/rules/marcoporcellato/matryca-plumber/05-release-preparation.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00522
Opus 5 $0.00010 $0.00261
Sonnet 5 $0.00004 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 7d ago against content hash d60492595939, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

05-release-preparation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/05-release-preparation.mdc · 38 lines

What it actually says

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

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 38 lines · 19 tokens per session scan A d60492595939

Subscribe to this mod's changes

05-release-preparation is a cursor rule published in the GitHub repository MarcoPorcellato/matryca-plumber (96 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 522 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.