OpenParable
Skip to content
← Back to skills

dev:interrogate

Testing & Quality

dev:interrogate is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/analysis/interrogate-on-changes/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/dev-interrogate, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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)

git diff

Target: staged

git diff --cached

Target: changes

git diff HEAD

Target: commit

git show <hash>

Target: pr

gh pr diff <number>

Target: range ..

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 output plus follow-up probes:
    • "Walk me through the logic step by step"
    • "What edge cases could break this?"
    • "If this code has a bug, where is it most likely?"

Output

Format output per @context/workflows/interrogate.md#Output-Format based on selected mode.