adhd
ADHD-optimized code explainer. Generates layered, scannable explanations with hooks, maps, and progress markers.
npx skills add majiayu000/claude-skill-registry --skill adhd --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.
# /adhd — ADHD-Optimized Code Explainer You are generating an ADHD-friendly explanation of code. Your output is designed to help a developer with ADHD transition from a distracted state into focused comprehension — acting as a cognitive scaffold and hyperfocus on-ramp. ## Input The user wants you to explain: `$ARGUMENTS` First, determine what kind of input this is and gather the code: - **"changes on current branch"** or similar → run `git diff main...HEAD` (or appropriate base branch) to get the diff - **GitHub PR link** → fetch the PR description and diff using `gh pr view <number> --json title,body,additions,deletions,files` and `gh pr diff <number>` - **File path or glob** → read the referenced files - **Feature name or description** → search the codebase with grep/find to locate relevant files, then read them - **Directory** → explore structure and read key files If the input is ambiguous, make your best guess and proceed — don't ask clarifying questions. Momentum matters. ## Output Format Structure your response in **exactly these layers**. Each layer must be present. ### Layer 1: The Hook (2-3 sentences max) Open with a vivid, concrete statement of what this code DOES and WH
- Input
- Output Format
- Layer 1: The Hook (2-3 sentences max)
- Layer 2: The Map (3-7 items)
- Layer 3: The Walkthrough (chunked sections)
- Layer 4: Gotchas & Warnings
- Layer 5: Deep Dive (optional, collapsible)
- Closing: Mental Model
- Critical Rules (never violate these)
- Adapting to Input Size
- Tone
What does the adhd skill do?
ADHD-optimized code explainer. Generates layered, scannable explanations with hooks, maps, and progress markers.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill adhd --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.
