Apply during planned rewrites and migrations with explicit phase boundaries. Converge on the target architecture; don't preserve smooth intermediate states with throwaway compatibility code.
Apply after completing a task, before declaring done. Verify against the real artifact (run the feature, read the actual value, inspect the diff), not a proxy, self-report, or 'it compiles.'
Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
Apply when concurrent actors might write to the same file, branch, key, or state object. Eliminate the sharing first; serialize structurally only when one shared writer is a real invariant.
Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result). Local by default; commit it when a reviewer needs the trail to trust the result. Use for /show-me-your-work, autonomous or multi-phase runs, or work a human reviews after stepping away.
Apply when sequencing an addition, refactor, or rewrite. Remove dead code, redundant validators, and stub references first, then build on the simpler base.
Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
Comprehensive security and correctness audit of a branch's changes. Use for thermo nuclear, thermonuclear, or deep review requests, or branch/PR diff audits focused on bugs, breaking changes, security issues, devex regressions, and feature-gate leaks.
Launch both thermo-nuclear review subagents in parallel, then synthesize their findings. Use for thermos, double thermo review, or combined bug/security and code-quality branch audits.
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
Cursor Plan Mode 流水线:拷问 → think 审查清单 → CreatePlan;UI 批准后实现,再 check。仅在 Cursor 且需要 Plan Mode 闸口时使用。用户说 cursor-plan-pipeline、 Plan Mode 拷问落地、Cursor 里 grill 出计划时触发。Not for other runtimes (→ grill-and-think). Not for live incident 排障 (→ hunt).
跨运行时设计流水线:拷问 → 深思 → 实现 → 审查。编排 grill-me/grill-with-docs、 think、check。宿主有原生计划批准 UI 时用该闸口且 think 只做审查;否则跑 think 全文并口头批准。用户说 grill-and-think、拷问深思、设计落地流水线时触发。 Not for Cursor Plan Mode (→ cursor-plan-pipeline). Not for live incident 排障 (→ hunt).
双向钢人论证(steelman):先把支持和反对当前选项的论证都强化到最强再裁决, 用于重要决定,对抗谄媚。用户点名钢人/steelman/双向钢人论证,或明确要求 唱反调、压力测试、论证、帮我想清楚一个决定时使用(含工程 A vs B)。 日常小决定直接答。方案与架构用 think;抽需求用 grilling。 不要仅因「纠结/拿不准」就触发。
中文写作补充:输出为中文时,先加载 unslop 与 technical-writing,再套中文词表、 标点、混排空格与人称。用户说 technical-writing-zh、中文写作、中文润色、 中文技术文档时触发。列出的 skill 缺失则停下并报告缺哪个。 Not for English output (→ unslop + technical-writing). Not for 纯代码生成、数据查询、非写作任务.
Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.
CLAUDE.md or AGENTS.md?
CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.
What is a skill?
A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.
Can I search my own team's files too?
Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.