/sprang:sprang-explain <file | path:function>from sprang
Deep-dive explanation of a specific file, function, or module. Use when the user says "/sprang-explain", "explain this file", "what does this function do", or "deep dive on X".
Ships in sprang. 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.
In-depth explanation of a specific code component: what it does, why it exists, who changed it, what depends on it.
Arguments: <file path or path:functionName> (e.g. src/auth/login.ts or
src/auth/login.ts:validatePassword)
Check .sprang/knowledge-graph.json exists. If not, run the sprang-analyze
skill first.
Call sprang_query with the argument to find the target node. Note its id,
type, summary, tags, complexity, risk_score, risk_factors,
structural_warnings, and decision_context.
Call sprang_node with the resolved node_id to get: layer (name + id),
layer_mate_count, in_degree, out_degree, has_annotation, and the full
1-hop neighborhood with edge directions and types.
Call sprang_why with the same node_id for decision context: commit
history, primary_authors, last_changed, rationale_snippets,
change_frequency, pr_references, and any team annotation.
Read the actual source file at filePath for its current state.
Produce a structured explanation:
2-3 paragraphs on purpose and responsibilities.
Walk through the key functions, classes, and logic with real line numbers.
Suggest edits only after checking risk_score. Offer sprang-diff to see
whether this file is currently changing, or sprang-chat for follow-ups.
$ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub faviovazquez/sprang --plugin sprang11 skills in this plugin
/sprangBuild or refresh the Sprang knowledge graph for this workspace. Use when the user says "/sprang", "build the knowledge graph", "scan the codebase", "index this project", or "run sprang"./sprang-analyzeAnalyze a codebase to produce a rich semantic knowledge graph — file summaries, architecture layers, guided tour, domain map, risk scores. Use when the user says "/sprang-analyze", "analyze the codebase", "full analysis", or "run sprang-analyze"./sprang-chatAsk any question about the codebase using the knowledge graph. Use when the user says "/sprang-chat", "ask about the codebase", "what does X do", or any question about code that should be answered from the knowledge graph./sprang-diffBlast radius analysis for changed files — shows what will break if you change something. Use when the user says "/sprang-diff", "what will break", "blast radius", "impact analysis", or "what depends on this"./sprang-domainMap code to business processes and domain hierarchy. Use when the user says "/sprang-domain", "business domains", "domain map", "what business process does X implement", or "show me the domain structure"./sprang-healthFull structural health report — health grade, code smells, security issues, risk nodes, orphans, circular dependencies. Use when the user says "/sprang-health", "health report", "code smells", "show risks", "what's broken", "security issues", or "architectural health".