dev:interrogate
Interrogate code changes to surface decisions, alternatives, and confidence levels. Use when user asks to "interrogate", "what decisions", "hardest part", "alternatives", or wants to understand the reasoning behind code changes.
npx skills add majiayu000/claude-skill-registry --skill interrogate-on-changes --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Interrogate Code Changes Ask "why" instead of just reading code. Surfaces assumptions, decisions, and confidence levels. ## Workflow @context/workflows/interrogate.md ## Input: $ARGUMENTS Parse arguments to determine: - **Target:** `unstaged` (default), `staged`, `changes` (staged+unstaged), `commit <hash>`, `pr <number>`, or `range <ref1>..<ref2>` - **Mode:** `--quick` (minimal output) or `--skeptical` (extra validation) ## Gather Context Based on target, gather the code diff: ### Target: unstaged (default) ```bash git diff ``` ### Target: staged ```bash git diff --cached ``` ### Target: changes ```bash git diff HEAD ``` ### Target: commit <hash> ```bash git show <hash> ``` ### Target: pr <number> ```bash gh pr diff <number> ``` ### Target: range <ref1>..<ref2> ```bash git diff <ref1>..<ref2> ``` ## Execute Interrogation Apply the three core questions from the workflow to the gathered diff: 1. **What was the hardest decision?** 2. **What alternatives did you reject?** 3. **What are you least confident about?** ## Mode Behavior - **Default:** Full explanations with confidence levels and structured tables - **--quick:** Compact table with brief answers only - **--skeptical:** Full
- Workflow
- Input: $ARGUMENTS
- Gather Context
- Target: unstaged (default)
- Target: staged
- Target: changes
- Target: commit <hash>
- Target: pr <number>
- Target: range <ref1>..<ref2>
- Execute Interrogation
- Mode Behavior
- Output
git diff git diff --cached git diff HEAD git show <hash> gh pr diff <number> git diff <ref1>..<ref2>
What does the dev:interrogate skill do?
Interrogate code changes to surface decisions, alternatives, and confidence levels. Use when user asks to "interrogate", "what decisions", "hardest part", "alternatives", or wants to understand the reasoning behind code changes.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill interrogate-on-changes --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
