/sprang:sprang [path]from sprang
Build 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".
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.
Build or refresh the Sprang knowledge graph for this workspace. This skill is a
router: it inspects the workspace and delegates to sprang-analyze (code) or
sprang-knowledge (markdown notes).
Check whether .sprang/knowledge-graph.json exists. If it does, note its
generated_at timestamp, phase (skeleton or complete), and kind
(codebase or knowledge).
If a graph exists, call the sprang_health MCP tool to show current status
(grade, node/edge counts, top risks).
Decide which analysis to run:
.ts, .py, .go, .rs, etc.) → run the
sprang-analyze skill..md) → run the sprang-knowledge skill.For codebase analysis, produce the skeleton graph first (try in order):
npx @faviovazquez/sprang scan . 2>/dev/null \
|| node packages/cli/dist/index.js scan . 2>/dev/null \
|| echo "Skipping skeleton — sprang-analyze will build from scratch"
Then run sprang-analyze for full semantic enrichment (all phases).
For a knowledge base, run sprang-knowledge directly — no CLI prerequisite.
When the analysis finishes, call sprang_health again to show the new graph
summary.
Report: nodes created, edges, top insights, any warnings flagged.
Suggest next steps:
sprang-onboard — guided architecture tour (codebase)sprang-chat — ask questions about the graphsprang-diff — blast radius before committing changes (codebase)pnpm --filter @sprang/dashboard dev.sprang/knowledge-graph.json. It is produced by
sprang merge (or the bundled merge.py) at the end of analysis.sprang_query, sprang_node, sprang_diff_impact,
sprang_tour, sprang_domain, sprang_health, sprang_why,
sprang_annotate, sprang_respond.What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/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".Other plugins' skills for the same job
npx claudepluginhub faviovazquez/sprang --plugin sprang