interrogate
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart". Multiple LLM reviewers challenge changes from independent angles.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- interrogate
- description
- Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart". Multiple LLM reviewers challenge changes from independent angles.
02 资源文件 4
- 参考文档references/code-quality-review.md5.1 KB
- 参考文档references/lead-judgment.md3.4 KB
- 参考文档references/reviewer-prompt.md2.4 KB
- 参考文档references/rubric.md4.9 KB
03 SKILL.md 正文
Interrogate
On Codex, read the platform mapping, including its per-skill notes, before following this skill.
On GitHub Copilot, read the platform mapping, including its per-skill notes, before following this skill.
Spawn one reviewer per configured model to adversarially review code changes. Each model gets the same prompt and rubric. The adversarial signal comes from model diversity, not assigned personas.
The deliverable is a synthesized verdict. Do NOT auto-apply changes.
Step 1, Determine Scope
Identify what to review from context:
- If the user points at specific files or a diff, use that
- If on a feature branch, run
git diff main...HEAD(or the appropriate base branch) for the full changeset - If the user's message references recent work, gather the relevant files
Package the diff (or file contents) plus any surrounding context files the reviewers need to understand the code.
Step 2, State the Intent
Before spawning reviewers, state the intent explicitly. Derive this from:
- The user's message
- Commit messages
- PR description if one exists
- The code itself
Write one clear paragraph. If you're unsure about the intent, ask the user before proceeding.
Step 3, Spawn Reviewers
Launch all reviewers in a single message using the Agent tool. Use the interrogate reviewers line in the pstack-models.md override sheet (/setup-pstack lists its path per runtime), one reviewer per entry, extending or shrinking the Reviewer labels below to the configured entry count. If the sheet or that line is missing, use the table defaults.
| Subagent | Default model |
|---|---|
| Reviewer A | opus |
| Reviewer B | fable |
| Reviewer C | sonnet |
| Reviewer D | haiku |
For each reviewer:
subagent_type:patina-readermodel: the configuredinterrogate reviewersentry, or the table default with no configured line. For anautoorinherit-parententry, omitmodelso that reviewer runs on the parent model.readonly:true
If the Agent tool rejects a configured entry, run that reviewer on the table default of its family and say so. Families go by model name, such as Opus, Fable, or Sonnet. With no family match, use Reviewer A's default. If it rejects a table default, check the valid slugs in the Agent tool's error message, pick the closest equivalent (prefer the same family and reasoning tier), spawn with it, and open a separate PR to update the default table. Do not block the review on the slug issue. Never treat an alias entry as a rejected slug or apply either fallback to it.
Read references/reviewer-prompt.md and fill in the template with:
- The stated intent
- The diff or file contents
- The review rubric from
references/rubric.md - The code-quality lens from
references/code-quality-review.md
The same filled template goes to all reviewers, so every model applies the code-quality lens.
Step 4, Synthesize
As results come back, build a unified picture:
- Parse all findings from the reviewers
- Identify consensus. Findings raised by 2+ models independently are highest signal.
- Identify lone-model findings. Still worth reading, but weight accordingly.
- Deduplicate. Different models may describe the same issue differently. Merge these and note which models raised it.
- Note disagreements. If one model flags something and another explicitly says the opposite, that's useful context for the verdict.
Step 5, Lead Judgment
You are the lead reviewer, a pragmatic senior engineer, not a neutral aggregator.
Read references/lead-judgment.md for the full framework.
Categorize every finding using these buckets:
- Act on. Real issues affecting correctness, security, or maintainability given the actual goals. These would block a real PR.
- Consider. Legitimate points, but you're not sure they outweigh the cost of addressing them right now. Worth the user's attention.
- Noted. Technically valid but not actionable. Context-dependent, premature optimization, or low-impact given the current stage.
- Dismissed. Wrong, nitpicky, or missing context. Brief explanation why.
For each finding, include:
- Which model(s) raised it
- The category (act on / consider / noted / dismissed)
- A one-line rationale for the categorization
Output Format
Present the verdict in this structure:
Intent
[The stated intent paragraph from Step 2]
Reviewers
- Reviewer [label]: [model name], [N findings] (one bullet per reviewer)
Act On
[Findings that should be addressed. For each: description, which models raised it, why it matters.]
Consider
[Findings worth thinking about. For each: description, which models raised it, tradeoff involved.]
Noted
[Valid but low-priority. Brief list.]
Dismissed
[Rejected findings with brief rationale.]
Agreement Map
[Where did models agree, where did they diverge, and what does the pattern of agreement/disagreement tell us?]
Reasoning effort
A role value in the override sheet may name a reasoning effort after its model, as in opus @xhigh. Levels on Claude Code: low, medium, high, xhigh, max. Which ones apply depends on the model. A value without @ takes the sheet's default effort line, a level or session, and session when the sheet has no such line. session sets no effort, so the dispatch is the usual one. Strip the suffix before reading the model: inherit-parent or auto still omits model at every level, and a model name is passed as model. On Claude Code, a level picks the effort agent from the subagent_type you would otherwise use. patina-agent becomes subagent_type: "patina-agent-<level>". patina-reader becomes subagent_type: "patina-reader-<level>". general-purpose, or no subagent_type, becomes subagent_type: "effort-<level>". The effort agents set only effort, so the model you pass still decides the model. On Codex, pass the level as spawn_agent's reasoning_effort and keep the usual instructions.
04 同仓库更多 Skills
code-review
Review the changes since a fixed point (commit, branch, tag, or merge-base) along five axes: Standards (does the code follow this repo's documented coding standards?), Spec (does the code match what the originating issue/spec asked for?), Evidence (does each claim in the pull request have evidence that shows it?), Bugs (does the changed code have logic errors, unhandled states, races, or regressions?), and Security (does the change open injection, auth, secret, input, or CI workflow holes?). Runs the reviews in parallel sub-agents, tags every finding Important, Nit, or Pre-existing, and reports them side by side with what blocks merge. Given an earlier reviewed head and its findings, it reviews only the newer commits, rechecks the earlier findings, and never repeats one. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
writing-for-pstack
Write or tighten an operator prompt for a patina-mode run. Use when the operator asks to write, revise, or review a prompt that will be passed to patina-mode.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.