This skill explains code changes or designs at beginner, intermediate, and expert levels to improve understanding and reveal gaps.
npx playbooks add skill arjenschwarz/agentic-coding --skill explain-like
Explain code changes or design documents at three progressive expertise levels to ensure understanding and catch logical gaps.
Both workflows serve knowledge transfer - helping others (or your future self) understand complex changes.
For each level, follow this format:
## Beginner Level
### What Changed / What This Does
[Plain language summary - assume no domain knowledge]
### Why It Matters
[Business or user impact in simple terms]
### Key Concepts
[Define any technical terms used, with analogies where helpful]
---
## Intermediate Level
### Changes Overview
[Technical summary with specific files/components affected]
### Implementation Approach
[Patterns used, architectural decisions, how pieces fit together]
### Trade-offs
[What alternatives existed, why this approach was chosen]
---
## Expert Level
### Technical Deep Dive
[Detailed implementation, edge cases handled, performance considerations]
### Architecture Impact
[How this affects the broader system, coupling, future extensibility]
### Potential Issues
[Edge cases, failure modes, things to monitor]
Gather context first:
# Detect default branch (main, master, etc.)
BASE=$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main)
# Get commit history
git log --oneline $BASE..HEAD
# Get full diff
git diff $BASE...HEAD
# If PR exists, get PR description
gh pr view --json title,body,commits
Focus explanations on:
After generating the three explanations, add a validation section:
## Validation Findings
### Gaps Identified
[List any missing requirements, undefined behaviors, or unclear sections]
### Logic Issues
[Contradictions, circular dependencies, impossible states]
### Questions Raised
[Things that became unclear when explaining at different levels]
### Recommendations
[Specific improvements to the design document]
The act of explaining at beginner level often reveals assumed knowledge that should be documented. Expert-level explanation reveals edge cases and integration concerns.
When the user requests saving (or as part of a final review), write the explanation to a file:
explanation.mdspecs/<feature-name>/explanation.md if a matching spec exists, otherwise offer to create oneAsk before saving if the user hasn't explicitly requested it.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.