explain
Skill4 starsChanged 33 days agoMITView on GitHub
Explain code, walk through logic, and help understand architecture or behavior. Use when the user asks what code does, how something works, or wants a walkthrough. Triggers: explain, what does this do, how does this work, giải thích, giải thích code, code này làm gì.
We split this skill into the rules it gives an agent
13 rules. 0 are common, 6 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 97 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
START: Read .ai-memory.md from project root.
- Very specific: line 11
END: Update .ai-memory.md using Memory Compaction Rules with: what was explained, key insights, misconceptions clarified, and follow-ups.
- Very specific: line 17
If explaining backend/API logic → read .kiro/skills/agents/agents/backend-specialist.md and apply its knowledge
- Very specific: line 18
If explaining UI/component behavior → read .kiro/skills/agents/agents/frontend-specialist.md and apply its knowledge
- Very specific: line 19
If explaining database schema/queries → read .kiro/skills/agents/agents/database-architect.md and apply its knowledge
- Very specific: line 20
If explaining security mechanisms → read .kiro/skills/agents/agents/security-auditor.md and apply its knowledge
- Very specific: line 21
Default → read .kiro/skills/agents/agents/documentation-writer.md for clear, structured explanation
- Distinctive: line 28
If any answer is unclear, ASK before proceeding.
- Distinctive: line 32
Read the target code thoroughly — understand intent, not just syntax.
- Distinctive: line 39
Use analogies or diagrams if the concept is complex.
- Distinctive: line 66
If the code is unclear or has issues, mention them without derailing the explanation.
- Distinctive: line 67
Avoid proposing wide changes mid-explanation.
- Distinctive: line 68
Always read and update the memory file.
“Common” is measured: kept by at least 6 in 10 of the 97 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory Protocol
START: Read .ai-memory.md from project root. Check tech stack, architecture notes, past explanations, and domain context.
END: Update .ai-memory.md using Memory Compaction Rules with: what was explained, key insights, misconceptions clarified, and follow-ups.
Goal
Help the user deeply understand code, logic, architecture, or behavior — at the level of detail they need.
Agent Routing
- If explaining backend/API logic → read
.kiro/skills/agents/agents/backend-specialist.mdand apply its knowledge - If explaining UI/component behavior → read
.kiro/skills/agents/agents/frontend-specialist.mdand apply its knowledge - If explaining database schema/queries → read
.kiro/skills/agents/agents/database-architect.mdand apply its knowledge - If explaining security mechanisms → read
.kiro/skills/agents/agents/security-auditor.mdand apply its knowledge - Default → read
.kiro/skills/agents/agents/documentation-writer.mdfor clear, structured explanation
Socratic Gate
Before explaining, verify:
- Which file, function, or code block should be explained?
- What level of detail? (high-level overview vs line-by-line walkthrough)
- What is the user's familiarity level with this area? If any answer is unclear, ASK before proceeding.
Workflow
- Read Memory — Load
.ai-memory.mdfor project context, tech stack, and architecture. - Read the target code thoroughly — understand intent, not just syntax.
- Identify the explanation scope: single function, module, data flow, or architecture.
- Explain at the requested level:
- High-level: Purpose, inputs/outputs, how it fits in the system.
- Detailed: Step-by-step logic, control flow, edge cases, design decisions.
- Line-by-line: What each line does and why.
- Highlight non-obvious logic, hidden side effects, and design trade-offs.
- Use analogies or diagrams if the concept is complex.
- Suggest follow-up topics if relevant (e.g., "you may also want to understand X").
- Quality Gate — Read
.kiro/skills/_scripts/checklist.mdfor cross-cutting checks. - Update Memory — Save explanation context and insights to
.ai-memory.md.
Output format
- What it does: One-sentence summary
- How it works: Step-by-step explanation at the requested level
- Key design decisions: Why it was built this way
- Non-obvious details: Edge cases, side effects, gotchas
- Related context: Connected files/modules worth understanding
Checklist
- Target code identified and read
- Explanation level matches user need
- Logic explained clearly, not just syntax described
- Non-obvious details highlighted
- Design decisions explained
- Follow-up suggestions provided
- Memory file updated
- Clean code chuẩn (Standard clean code applied)
- Cập nhật đầy đủ tất cả các file liên quan (All related files fully updated)
Rules
- Explain the WHY, not just the WHAT — developers can read syntax themselves.
- Match explanation depth to the user's familiarity level.
- If the code is unclear or has issues, mention them without derailing the explanation.
- Avoid proposing wide changes mid-explanation; if improvement requires broader edits, ASK before switching to implementation.
- Always read and update the memory file.
- Code encoding: All code snippets and files referenced or produced must be UTF-8 encoded. When providing example files, ensure they use UTF-8 and indicate
encoding: "UTF-8"in front-matter where applicable.
Related Skills
/debug→ read.kiro/skills/debug/SKILL.md— If explanation reveals bugs/enhance→ read.kiro/skills/enhance/SKILL.md— If explanation reveals improvement opportunities/status→ read.kiro/skills/status/SKILL.md— For project-wide understanding
Other versions112 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 112
- Z3Prover/z3★ 13ksame name
- crbnos/carbon★ 2.8ksame name
- poshan0126/dotclaude★ 871same name
- VinkyDev/vibestart★ 278same name
- hsantanna88/clo-author★ 262same name
- hugosantanna/clo-author★ 262same name
- entireio/skills★ 223same name
- first-fluke/fullstack-starter★ 223same name
- sammcj/agentic-coding★ 164same name
- SerhiiKorniienko/bullshit-detector★ 151same name
102 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use debug-fix, root-cause and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zebbernSkilldebug-fix
Find and fix a bug or issue — from any source (GitHub issue, error message, user report, or observed behavior)
Also in 3 projects that use this
Ingramradical235Skillroot-cause
Structured root cause analysis using WHERE (MECE decomposition) then WHY (causal structure diagrams) pipeline. Includes coin-flip detection, logical-leap detection, and vicious cycle intervention. Use when buffer enters YELLOW/RED, when metrics stall, or when Actions execute but don't produce results.
Also in 5 projects that use this
Hugging FaceSkillself-review
Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against references/review-rules.md, traces call paths for dead code). Reports findings grouped by severity, flagging what to fix before submitting (blocking issues + dead code) vs what to leave for the actual review. Report-only — does not edit files.
Also in 5 projects that use this
thoughtbotSkillchallenge
Pressure-test an assumption, decision, or inherited constraint — Socratic cross-examination that forces you to defend or abandon your position
Also in 4 projects that use this
Itsokay-coSkilldiscover
Automated pattern discovery — finds what correlates with your best and worst sleep nights. Scans workouts, meals, caffeine, tags, gut scores, and timing patterns. Use when the user wants to know what actually affects their sleep.
Also in 5 projects that use this
neurofooSkillsocratic
Socratic questioning to examine beliefs, uncover assumptions, and develop deeper understanding. Use to challenge thinking, evaluate proposals, or teach without lecturing.
Also in 3 projects that use this
In this repository96 other files it gives its agents.
- .cursor/rules/agents.mdcCursor rule
- .cursor/rules/brainstorm.mdcCursor rule
- .cursor/rules/clean.mdcCursor rule
- .cursor/rules/create.mdcCursor rule
- .cursor/rules/debug.mdcCursor rule
- .cursor/rules/deploy.mdcCursor rule
- .cursor/rules/enhance.mdcCursor rule
- .cursor/rules/explain.mdcCursor rule
- .cursor/rules/instructions.mdcCursor rule
- .cursor/rules/integrate.mdcCursor rule
- .cursor/rules/motion-ui.mdcCursor rule
- .cursor/rules/orchestrate.mdcCursor rule
- .cursor/rules/plan.mdcCursor rule
- .cursor/rules/preview.mdcCursor rule
- .cursor/rules/status.mdcCursor rule
- .cursor/rules/test.mdcCursor rule
- .cursor/rules/ui-ux-pro-max.mdcCursor rule
- agentsSkill
- brainstormSkill
- cleanSkill
- createSkill
- debugSkill
- deploySkill
- enhanceSkill
- explainSkill
- integrateSkill
- motion-uiSkill
- orchestrateSkill
- planSkill
- previewSkill
- statusSkill
- testSkill
- ui-ux-pro-maxSkill
- agentsSkill
- brainstormSkill
- cleanSkill
- createSkill
- debugSkill
- deploySkill
- enhanceSkill
- explainSkill
- integrateSkill
- motion-uiSkill
- orchestrateSkill
- planSkill
- previewSkill
- statusSkill
- testSkill
- ui-ux-pro-maxSkill
- agentsSkill
- brainstormSkill
- cleanSkill
- createSkill
- debugSkill
- deploySkill
- enhanceSkill
- integrateSkill
- motion-uiSkill
- orchestrateSkill
- planSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

