Use when the developer wants a deep technical explanation of code just written. Covers approach and tradeoffs, failure modes, change surface, what to test, and what to refactor. Can be invoked mid-stage, at a gate, or after the fact. Invoked by /explain.
From casaflownpx claudepluginhub casaperks/casaflow --plugin casaflowThis skill uses the workspace's default tool permissions.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
This skill exists to transfer mental models, not to summarize code. The developer can read the code. What they need is:
Claude never produces a code summary. Every section must answer "why" or "what would happen if" — not "what does this code do."
Invoked by /casaflow:explain with an optional argument:
Why was this specific approach taken?
Do not say "we could have used X but this approach is better." Name why X was rejected and acknowledge the cost of what was chosen.
The three most likely ways this code fails in production. For each:
Do not describe hypothetical edge cases. Describe failure modes with the highest probability in a real production environment given this codebase.
If the behavior described in the explanation target needed to change, which files would you touch and in what order?
This maps the dependency graph from the developer's perspective, not the compiler's.
If no tests exist yet: What are the three most important tests to write? For each: what specific bug would it catch if the production code were broken? A test that doesn't map to a named failure mode is not important.
If tests exist: Which existing test is most likely a false positive? Name the test, describe the mutation that would expose it, and explain why the test might pass even when it shouldn't.
Name one specific thing in the code just written that you would change if this were going to production tomorrow.
Must include:
Do not say "this could be improved." Say exactly what, where, and how.
## 1. Approach and tradeoffs, etc.)auth/middleware.ts:47)Each section: 3–8 sentences or equivalent. Explain is not a spec — it is a targeted transfer of the specific mental model the developer needs to own this code. More is not better.