create-release

A set of rules for releasing and publishing new versions of JavaScript packages. It covers checking the Git repository and planning and carrying out the release.

In plain words
What is it for?
For inspecting a package, checking its branch and uncommitted changes, reviewing recent commits, and preparing a new published version.
Why use it?
It provides a repeatable release process and helps catch repository or version-publishing issues before changes are shipped.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/zackiles/cursor-mcp-manager/create-release
Clone the repo
git clone --depth 1 https://github.com/zackiles/cursor-mcp-manager

Made for: Cursor.

Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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 $0.00009 $0.02060
Opus 5 $0.00005 $0.01030
Sonnet 5 $0.00002 $0.00412
Haiku 4.5 $0.00001 $0.00206

Measured 2d ago against content hash d6fd0abfcec9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-release 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 2d 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.

Origin

This is a copy

91% identical to create-release — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/global/create-release.mdc · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Task

You will analyze the codebase and plan how to release or publish a new version of this package or module, and then execute that plan. To do so, you will follow all of the steps bellow.


Steps

Analyze Codebase

  1. Run git commands to understand which branch is checked out, whether the main branch is named main or master, if the working directory is clean or has uncommitted changes, how far ahead or behind we are from main, and what the local git config/custom git options are:

    # EXACT COMMAND: Run this exact command to check branch, status and recent commits
    run_terminal_cmd(
      command: "git branch --show-current && git status && git log --oneline -n 5 | cat",
      is_background: false,
      explanation: "Checking current branch, status, and recent commits"
    )
    
    # EXACT COMMAND: Run this exact command to check git configuration
    run_terminal_cmd(
      command: "git config --list | grep -E '^(user|core|remote|branch)' | cat",
      is_background: false,
      explanation: "Checking git configuration"
    )
    
  2. If GitHub info is accessible (via CLI or other tools), check whether there is an open pull request for this branch and how local commits diverge from the remote repository:

    # EXACT COMMAND: Run this exact command to check commits relative to upstream
    run_terminal_cmd(
      command: "git fetch && git rev-list --count --left-right @{upstream}...HEAD | cat",
      is_background: false,
      explanation: "Checking commits ahead/behind remote"
    )
    
  3. Look in .github/workflows to see which release steps occur locally vs remotely (e.g., GitHub Actions):

    # EXACT COMMAND: Run this exact command to list workflow files
    list_dir(
      relative_workspace_path: ".github/workflows",
      explanation: "Checking for CI/CD workflow configurations"
    )
    
  4. Grep for package files to identify package name, version, publish registries, and any release tools:

    # EXACT COMMAND: Run this exact command to find version information in JSON files
    grep_search(
      query: "version",
      include_pattern: "*.json",
      explanation: "Finding version information in package files"
    )
    
    # EXACT COMMAND: Run this exact command to extract package metadata
    run_terminal_cmd(
      command: "find . -name 'package.json' -o -name 'deno.json' -o -name 'jsr.json' | xargs cat | grep -E '\"(name|version|publish|registry)\"' | cat",
      is_background: false,
      explanation: "Extracting package information"
    )
    

Read the full file on GitHub · 233 lines

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. 2d ago First seen · 233 lines · 9 tokens per session scan A d6fd0abfcec9

Subscribe to this mod's changes

create-release is a cursor rule published in the GitHub repository zackiles/cursor-mcp-manager (3 stars, last pushed 1y ago), licensed MIT. It adds 9 tokens to every session and 2,060 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to create-release, differing in 3 lines, and is treated as a copy.