Skip to content

Add operating-method, code-change-discipline, and ship-and-recover rules#53

Open
Sharrmavishal wants to merge 2 commits into
sanjeed5:mainfrom
Sharrmavishal:add-operating-kit-rules
Open

Add operating-method, code-change-discipline, and ship-and-recover rules#53
Sharrmavishal wants to merge 2 commits into
sanjeed5:mainfrom
Sharrmavishal:add-operating-kit-rules

Conversation

@Sharrmavishal

Copy link
Copy Markdown

Three .mdc rules from operating-kit, a portable self-installing operating method for Claude Code and Cursor.

What's included:

  • operating-method.mdc (alwaysApply: true) — builder + strategic-vetting persona with hard gates: permission discipline, production-mutation pre-flight, scratch-test before prod, milestone gate, verify-don't-infer. References playbooks in docs/claude/ for teams that want the full context.
  • code-change-discipline.mdc (auto-attached on code globs) — re-read before edit, treat bugs as hypotheses, 3-edit consolidation stop rule, field-notes scan before deploy.
  • ship-and-recover.mdc (on-demand) — deploy discipline (test > build > deploy > verify-live) and incident recovery playbook.

All three are project-agnostic. The globs in code-change-discipline.mdc cover common source extensions and should be tuned to the project.

Each rule works standalone or as part of the full kit.

Made with Cursor

Sharrmavishal and others added 2 commits June 22, 2026 19:38
Three .mdc rules from the operating-kit (https://github.com/Sharrmavishal/operating-kit):
- operating-method: builder + strategic-vetting persona with hard gates, always-on
- code-change-discipline: re-read before edit, bug-as-hypothesis, 3-edit stop rule
- ship-and-recover: deploy discipline and incident recovery playbook, on-demand

All three are project-agnostic and reference playbooks in docs/claude/ for teams
that want the full context. They work standalone too.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace @docs/claude/* paths with GitHub URLs to operating-kit source
files. Add deploy-related globs to ship-and-recover.mdc. Remove broken
project-context reference. Align with PatrickJS PR #319 fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant