install
source · Clone the upstream repo
git clone https://github.com/Flexonze/claude-init
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Flexonze/claude-init "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/explain" ~/.claude/skills/flexonze-claude-init-explain && rm -rf "$T"
manifest:
.claude/skills/explain/SKILL.mdsource content
Explain
Provide a clear explanation of how something in the codebase works.
Instructions
-
Identify what to explain: Use
to determine the target$ARGUMENTS- File path → explain that file's purpose and how it works
- Function/class name → find and explain that specific code
- Feature name → trace through the codebase to explain the feature end-to-end
-
Gather context
- Read the relevant code
- Identify dependencies and relationships
- Look at how it's used (callers, imports)
- Check for related tests that show intended behavior
-
Explain clearly
- Start with a high-level summary (1-2 sentences)
- Break down the key components
- Explain the flow/logic step by step
- Note any important patterns or design decisions
- Mention edge cases or gotchas if relevant
Guidelines
- Adjust depth based on complexity—simple code needs brief explanations
- Use concrete examples from the code when helpful
- Reference specific line numbers for key logic
- If the target is ambiguous, ask for clarification
- Avoid restating code literally; explain the why and how