shipjaw.cursor-rule

shipjaw.cursor-rule is a cursor rule for Claude Code, Cursor from XyDisorder/shipjaw. It costs 567 tokens per session, scanned A, original, MIT.

A project rule for Shipjaw-built TypeScript and Next.js apps that describes how to read documentation, plan changes, test code, and finish work.

In plain words
What is it for?
Adding features, fixing bugs, reviewing non-trivial plans, running tests, and recording the next handoff.
Why use it?
It gives agents a consistent way to resume work without overlooking project decisions, tests, or unfinished tasks.

Cursor rule for Claude CodeCursor

Written for Claude Code and Cursor: installed under .claude/, but also a Cursor rule (.mdc). Also seen: mentions subagents.

Good fit Adding features, fixing bugs, reviewing non-trivial plans, running tests, and recording the next handoff.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/xydisorder/shipjaw/shipjaw.cursor-rule
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/XyDisorder/shipjaw

Made for: Claude Code, 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 shipjaw.cursor-rule

README.md
[![agentmods](https://agentmods.dev/badge/rules/xydisorder/shipjaw/shipjaw.cursor-rule/github.svg)](https://agentmods.dev/rules/xydisorder/shipjaw/shipjaw.cursor-rule)
Your own site
<a href="https://agentmods.dev/rules/xydisorder/shipjaw/shipjaw.cursor-rule"><img src="https://agentmods.dev/badge/rules/xydisorder/shipjaw/shipjaw.cursor-rule/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 shipjaw.cursor-rule

Your own site · 80×15
<a href="https://agentmods.dev/rules/xydisorder/shipjaw/shipjaw.cursor-rule"><img src="https://agentmods.dev/badge/rules/xydisorder/shipjaw/shipjaw.cursor-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 567 This file is loaded in full into every session.
When invoked 567 The same file — it is already loaded in full.
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.00567 $0.00567
Opus 5.5 $0.00227 $0.00227
Sonnet 5.5 $0.00113 $0.00113
Haiku 4.5 $0.00057 $0.00057

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

Security

Grade A, and why

shipjaw.cursor-rule 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.

.claude/skills/shipjaw-build/templates/scaffold/shipjaw.cursor-rule.mdc · 48 lines

How it starts

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

Shipjaw project contract

This app was scaffolded with Shipjaw. For features, fixes, refactors, and resumed work, follow the shipjaw-ask contract (prefer invoking /shipjaw-ask; if not invoked, still obey this rule).

Before non-trivial plans/choices (new phase, auth, data, primary UI, ADR): run a built-in challenger pass (prefer a separate Task/subagent). Optional /shipjaw-challenge only for a durable written report.

Do

  1. Read documentation/INDEX.md first. Use Open when as a hard filter.
  2. Then read documentation/handoff.md if present (last session next step).
  3. Open at most 1–2 KB/product files the task needs. Prefer Grep + offset reads.
  4. Implement against project tooling (strict TS, eslint, domain → application → infrastructure → presentation). Place types/constants/helpers by ownership — no grab-bag lib/utils.ts. Ports + composition.ts; Server Actions stay thin; map typed errors to UI/HTTP.
  5. Domain/application changes → Vitest (happy path + required edges).
  6. Critical User can… journeys → Playwright golden path + e2e edges + axe.
  7. Bug fix → regression test (fails before, passes after). Never weaken tests to green.
  8. Run the gate (typecheck → lint → unit → e2e as relevant). Stop after 2 failed fix attempts and ask the human.
  9. Update documentation/ surgically before ending (changelog, features-index, touched KB, phase status). Overwrite documentation/handoff.md with the next slash command. State lives in the repo, not the chat.
  10. No agent can trigger /compact itself. Past ~6 investigation reads without root cause, or after finishing one phase of a multi-part feature, say so and suggest /compact/fresh chat before continuing.

Don't

  • Re-run bootstrap (shipjaw-build) or recreate the stack when KB exists.
  • Implement Out-of-v1 / out-of-phase scope “while we’re here”.
  • Invent business rules when behavior is ambiguous after one clarifying question — stop and ask.
  • Dump framework docs into documentation/ or paste large code into docs.
  • Park domain types or business constants inside React files or a global utils bag.

Read the full file on GitHub · 48 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 · 48 lines · 567 tokens per session scan A 4be8bc0e55e7

Subscribe to this mod's changes

shipjaw.cursor-rule is a cursor rule published in the GitHub repository XyDisorder/shipjaw (2 stars, last pushed 9d ago), licensed MIT. It adds 567 tokens to every session, about $0.0023 per session on Opus 5.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-31.