Skip to content
Back to skills

Interrogate On Changes

ASecurity

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.

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 9, 2026
toolsbashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill interrogate-on-changes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Interrogate On Changes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Interrogate On Changes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-interrogate-on-changes/badge)](https://www.skillsdirectory.com/skills/majiayu000-interrogate-on-changes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dev:interrogate
description: 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.
allowed-tools: Bash(git diff:*), Bash(git show:*), Bash(gh pr diff:*)
argument-hint: <unstaged|staged|changes|commit|pr> [--quick|--skeptical]
---

# 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 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.