/caddis-extras:code-explainerfrom caddis-extras
Explain code with diagrams, analogies and step-by-step walkthroughs. Use when teaching a codebase or answering "how does this work?"
Ships in caddis-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When explaining code, always follow this structure:
Compare code to everyday life:
User Input -> Validation -> Processing -> Database -> Response
^ |
+------------ Error Handling <-----------------+
graph LR
A[Frontend] --> B[API]
B --> C[Service]
C --> D[(Database)]
# Step 1: User clicks submit -> triggers this function
def handle_submit(form_data):
# Step 2: Validate (like a bouncer checking IDs)
validated = validate(form_data)
# Step 3: Process (like a chef preparing your order)
result = process(validated)
# Step 4: Save (like filing a document)
save_to_db(result)
# Step 5: Confirm (like getting a receipt)
return success_response()
Show common mistakes with before/after:
# Wrong: mutable default argument
def add_item(item, items=[]):
items.append(item)
return items
# Fixed: use None
def add_item(item, items=None):
items = items or []
items.append(item)
return items
Don't just explain what, explain WHY:
What SKILL.md sets; muted values are Claude Code's defaults
81 skills in this plugin
/adopt-rbacPointer to the org's RBAC adoption skill. Use for "add RBAC to this app" or "adopt rbac-kit"./agent-md-refactorRefactor bloated agent instruction files (AGENTS.md, .cursorrules, .github/ files) into linked, progressively disclosed docs./agent-orchestrationBlueprint for orchestrating the agent pipeline from spec to planning, implementation, testing and debugging, plus when a second model is worth it, the intent→model map and cost guardrails.npx claudepluginhub saajunaid/caddis-plugin --plugin caddis-extras