From sd0x-dev-flow
Explains complex code via Codex MCP with configurable depth levels (brief/normal/deep). Useful for understanding logic, tracing data flow, and onboarding to unfamiliar code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sd0x-dev-flow:codex-explainThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Keywords: explain code, what does this do, how does this work, code walkthrough
codex-code-review)bug-fix or issue-analyze)code-explore)Read target → [Collect context] → Codex explain → Output explanation
Read file content. If --lines specified, extract only that range.
Use mcp__codex__codex with explanation prompt. See references/codex-prompt-explain.md.
Config: sandbox: 'read-only', approval-policy: 'never'
| Level | Description |
|---|---|
| brief | One-sentence summary |
| normal | Functional overview + execution flow + key concepts (default) |
| deep | + Design patterns + complexity + issues + dependencies |
## Code Explanation: <target>
- **Depth**: brief / normal / deep
- **Summary**: <functional overview>
- **Execution flow**: <key paths>
- **Key concepts**: <patterns, abstractions>
references/codex-prompt-explain.mdInput: /codex-explain src/service/order/order.service.ts
Action: Read file → Codex explain (normal) → Functional summary + detailed explanation
Input: /codex-explain src/service/xxx.ts --depth deep
Action: Read file → Codex explain (deep) → Patterns + complexity + issues
Input: /codex-explain src/xxx.ts --lines 50-100
Action: Read lines 50-100 → Codex explain → Focused explanation
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowExplains code for project newcomers with structured coverage of purpose, rationale, connections, design decisions, and non-obvious details. Use for 'explain this', 'what does this do', or onboarding.
Explains complex code, files, or concepts using structural search and mermaid diagrams. Useful for architecture, data flow, and design analysis.
Explains code in plain English with a one-line summary, step-by-step walkthrough, non-obvious insights, and bug/smell detection. Useful for onboarding, code review, or understanding unfamiliar snippets.