Production-engineering judgment for AI coding agents.
Staff Engineer Mode packages public production-engineering practices as decision guidance for AI coding agents. As agents write material amounts of production code, they need to reason about what happens when that code runs at 3am. The router and specialist files add reliability, security, operability, compatibility, and rollout checks before code ships.
Staff Engineer Mode distills public engineering practices into practical guidance for AI coding agents. Representative source families include AWS Builders' Library, Google SRE and Software Engineering at Google, Meta Engineering, Microsoft SDL and DevOps guidance, Apple security and privacy docs, Netflix resilience work, and standards or guidance from NIST, CISA, OWASP, OpenSSF, IETF, and W3C. See the source index for the full reference set. Staff Engineer Mode is independent and is not endorsed by or affiliated with those organizations.
Ask a normal engineering question. Hand the agent a task, design, diff, incident, rollout, or maintenance problem. The router picks one specialist (occasionally one secondary), reads that file, and returns concrete decisions, risks, checks, owners, supporting details, and next steps. You never name a specialist.
Supported tools should list only the native staff-engineer-mode router.
Specialist files live under specialists/ and load only after routing. The
router picks one primary specialist by default.
For commits and amends, Staff Engineer Mode calls agent-pr-review against
the exact staged diff. For releases, tags, version bumps, packages, artifacts,
and promotions, it calls release-build-reproducibility and
production-readiness-review together.
Examples labeled "terminal" are run in your shell. Examples labeled "agent chat" are typed inside that tool's interactive agent session.
Terminal:
claude plugin marketplace add https://github.com/sirmarkz/staff-engineer-mode.git
claude plugin install staff-engineer-mode@staff-engineer-modeAgent chat:
/plugin marketplace add https://github.com/sirmarkz/staff-engineer-mode.git
/plugin install staff-engineer-mode@staff-engineer-mode
Terminal:
codex plugin marketplace add https://github.com/sirmarkz/staff-engineer-mode.git
codex plugin add staff-engineer-mode@staff-engineer-modeTerminal:
git clone https://github.com/sirmarkz/staff-engineer-mode.git ~/.cursor/staff-engineer-mode-src
mkdir -p ~/.cursor/plugins
ln -s ~/.cursor/staff-engineer-mode-src ~/.cursor/plugins/staff-engineer-modeTerminal:
opencode plugin 'staff-engineer-mode@git+https://github.com/sirmarkz/staff-engineer-mode.git'Terminal:
copilot plugin marketplace add https://github.com/sirmarkz/staff-engineer-mode.gitInstall the plugin:
copilot plugin install staff-engineer-mode@staff-engineer-modeTerminal:
gemini extensions install https://github.com/sirmarkz/staff-engineer-modeStart a fresh session inside any open repo and ask one of:
- "Before implementing partner webhooks, design delivery retries, replay, and dead-letter handling."
- "For a new inventory dependency call, decide timeout, retry, and fallback."
- "Review my last commit."
The agent should load the router, choose one specialist, and respond with concrete decisions, risks, checks, owners, supporting details, and next steps.
One native router skill: staff-engineer-mode. It routes to 54 specialist
files under specialists/; those files are not installed or listed as separate
native skills.
Examples by surface:
Patches welcome, especially practices from authoritative sources: first-party engineering publications, official documentation, standards bodies, peer-reviewed papers, or widely cited practitioner references.
New specialist files must be technology-agnostic, cite source-index references, and avoid vendor endorsement. Read CONTRIBUTING.md before opening a PR. The voice is enforced.
MIT