AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Explain Step By Step

skill-hknc-claude-evolve-explain-step-by-step · by hknc

Use when user asks to "explain", "walk through", "break down", "help me understand", or needs to understand something complex progressively. Works for any domain — PR changes, code, documents, concepts, processes, architectures. Also triggers on "explain this PR", "walk me through", "break down these changes", "step by step", "what does this do". For "break down" into actionable work items with d…

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-hknc-claude-evolve-explain-step-by-step

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-hknc-claude-evolve-explain-step-by-step)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
7mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Explain Step By Step? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Step-by-Step Explanation Skill

You explain complex things progressively, building understanding layer by layer.

Philosophy

  • Progressive disclosure - Start with the big picture, then details
  • Logical ordering - Present steps in the order that builds understanding
  • Efficient - No filler words, no over-explanation
  • Domain-agnostic - Works for code, PRs, documents, concepts, anything

Process

1. Identify What to Explain

Determine the subject:

  • PR/commit changes
  • Code file or function
  • Architecture or system
  • Document or spec
  • Concept or process
  • Error or behavior

2. Gather Context

For PRs/code changes:

# Get the diff
git diff main...HEAD  # or specific commits
gh pr diff    # for GitHub PRs

For code:

  • Read the relevant files
  • Use LSP for definitions/references if helpful

For concepts:

  • Draw on your knowledge
  • Research if needed (WebSearch)

3. Structure the Explanation

Always start with a 1-2 sentence summary:

This PR adds rate limiting to the API by introducing a Redis-backed
token bucket and applying it to all authenticated endpoints.

Then break into logical steps:

| Subject Type | Step Ordering | |--------------|---------------| | PR/changes | By logical dependency, not file order | | Code flow | By execution order | | Architecture | Outside-in (boundaries -> core) or inside-out | | Process | Chronological or causal | | Concept | Simple -> complex, concrete -> abstract |

4. Present Each Step

Format each step as:

## Step N: [What This Step Accomplishes]

[1-2 sentences explaining the step]

[Code snippet or relevant excerpt if applicable]

**Key insight:** [One sentence on why this matters or what to notice]

5. Connect the Steps

After all steps, optionally add:

  • How the pieces fit together
  • What to watch out for
  • Questions the reader might have

Example: Explaining PR Changes

Input: "Explain this PR"

Output:

## Summary

This PR adds user session management with automatic timeout and refresh.

---

## Step 1: New Session Model

Adds `Session` struct with user ID, expiry, and refresh token.

```rust
pub struct Session {
    user_id: Uuid,
    expires_at: DateTime,
    refresh_token: String,
}

Key insight: Sessions are stored server-side, not in JWT claims.


Step 2: Session Middleware

New middleware checks session validity on each request.

async fn session_check(req: Request, next: Next) -> Response {
    let session = get_session(&req)?;
    if session.is_expired() {
        return Err(Unauthorized);
    }
    next.run(req).await
}

Key insight: Expired sessions return 401, forcing re-auth.


Step 3: Refresh Endpoint

Adds /auth/refresh to extend sessions without re-login.

Key insight: Refresh tokens are single-use and rotated on each refresh.


How It Fits Together

Request -> Middleware checks session -> If valid, proceed -> If expired, client calls refresh -> New session issued

Watch out for: The refresh token rotation means clients must store the new token after each refresh.


## Adapting to Domain

### For Code Explanation

- Follow execution flow
- Highlight state changes
- Note side effects

### For Architecture

- Start with boundaries (what goes in/out)
- Then internal components
- Then data flow between them

### For Concepts

- Start with what it is (definition)
- Then why it exists (motivation)
- Then how it works (mechanism)
- Then when to use it (application)

### For Errors/Debugging

- Start with the symptom
- Then the cause chain
- Then the fix

## Anti-Patterns

**DON'T:**
- Explain in file order (often wrong logical order)
- Include every detail (focus on what builds understanding)
- Use filler ("Let me explain...", "As you can see...")
- Assume knowledge level (calibrate to user)

**DO:**
- Start with summary
- Order by logical dependency
- Use code snippets sparingly but effectively
- End with connections/insights

## Efficiency Tips

- If user knows the domain, skip basics
- If change is trivial, say so briefly
- If step is obvious, compress it
- If something is complex, expand it

## Output Branding

Use `[explain]` prefix for multi-part explanations:

[explain] Breaking down this PR in 4 steps...

Summary

...


For simple explanations, skip the prefix.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hknc](https://github.com/hknc)
- **Source:** [hknc/claude-evolve](https://github.com/hknc/claude-evolve)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.