git-code-shipit

git-code-shipit is a cursor rule for Cursor from oakensoul/nextjs-cursor-prompts. It costs 0 tokens per session (3,021 once invoked), scanned A, original, MIT.

A guided Git workflow for reviewing code changes, creating commits, checking quality, and pushing them to GitHub. Git is the tool used to track code history, while GitHub hosts shared code repositories.

In plain words
What is it for?
Use it to prepare changes, choose how to group commits, update documentation, run checks, push to GitHub, and report the result.
Why use it?
It reduces the chance of committing incomplete, poorly documented, or unsafe changes. It also adds checkpoints before changes are sent to the shared repository.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to prepare changes, choose how to group commits, update documentation, run checks, push to GitHub, and report the result.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/oakensoul/nextjs-cursor-prompts/git-code-shipit
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/oakensoul/nextjs-cursor-prompts

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 git-code-shipit

README.md
[![agentmods](https://agentmods.dev/badge/rules/oakensoul/nextjs-cursor-prompts/git-code-shipit/github.svg)](https://agentmods.dev/rules/oakensoul/nextjs-cursor-prompts/git-code-shipit)
Your own site
<a href="https://agentmods.dev/rules/oakensoul/nextjs-cursor-prompts/git-code-shipit"><img src="https://agentmods.dev/badge/rules/oakensoul/nextjs-cursor-prompts/git-code-shipit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-code-shipit

Your own site · 80×15
<a href="https://agentmods.dev/rules/oakensoul/nextjs-cursor-prompts/git-code-shipit"><img src="https://agentmods.dev/badge/rules/oakensoul/nextjs-cursor-prompts/git-code-shipit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 3,021 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.00000 $0.03021
Opus 5.5 $0.00000 $0.01208
Sonnet 5.5 $0.00000 $0.00604
Haiku 4.5 $0.00000 $0.00302

Measured 1mo ago against content hash a48aa765e2f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-code-shipit 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 1mo 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/prompts/git/git-code-shipit.mdc · 362 lines

How it starts

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

Git Code Ship It - Complete Workflow Orchestrator

🚢 This is the ultimate "Ship It" command - a comprehensive git workflow that takes you from code changes to GitHub push with complete quality validation and documentation.

🎯 SHIP IT OBJECTIVES:

  1. ORCHESTRATE complete git workflow from preparation through push
  2. ENSURE comprehensive quality at every phase with zero tolerance for failures
  3. PROVIDE detailed reporting of all operations and validations
  4. MAINTAIN safety checkpoints with clear go/no-go decisions
  5. DELIVER production-ready code to GitHub with confidence

🚢 SHIP IT WORKFLOW PHASES:

Phase 1: PREPARATION    → Analyze, document, plan
Phase 2: COMMIT         → Validate, execute, verify  
Phase 3: PUSH           → Quality gates, security, deploy
Phase 4: CONFIRMATION   → Success report, monitoring

📋 COMPLETE SHIPIT PROCESS:

🔍 PHASE 1: PREPARATION

Following .cursor/prompts/git/git-code-prep.mdc

Comprehensive Change Analysis:
  • Analyze all modifications - Files changed, features added, bugs fixed
  • Determine commit strategy - Single vs. multiple commits, logical grouping
  • Update documentation - Changelog, README, API docs, sitemap
  • Plan commit messages - Conventional commit format preparation
  • Execute initial quality checks - Precommit hooks, linting, type checking
Phase 1 Success Criteria:
  • Change analysis complete - Full understanding of modifications
  • Documentation updated - Changelog, LLMs.mdc, sitemap current
  • Commit strategy planned - Clear execution plan prepared
  • Initial quality gates pass - Precommit hooks successful
  • Files staged appropriately - Correct staging for planned commits
🚨 Phase 1 Checkpoint:

CONTINUE TO PHASE 2? [GO/NO-GO]

  • If NO-GO: Stop, address preparation issues, re-run Phase 1

✅ PHASE 2: COMMIT EXECUTION

Following .cursor/prompts/git/git-code-commit.mdc

Read the full file on GitHub · 362 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. 1mo ago First seen · 362 lines · 0 tokens per session scan A a48aa765e2f6

Subscribe to this mod's changes

git-code-shipit is a cursor rule published in the GitHub repository oakensoul/nextjs-cursor-prompts (4 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,021 tokens. 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-31.