faviovazquez/sprang/sprang-why
Claude Code and agent skill by faviovazquez/sprang
- community
Checking that the SKILL.md file is still in the repository.
Understand why a file or function exists — git history, decision context, team annotations. Use when the user says "/sprang-why", "why does this exist", "who wrote this", "history of this file", or "what decisions led to this".
Install
npx vskill@latest install faviovazquez/sprang/sprang-whySKILL.md
Explain why a specific file or function exists, who built it, and what decisions shaped it.
Arguments: <file path or path:functionName>
Instructions
- Check
.sprang/knowledge-graph.jsonexists. If not, run thesprang-analyze
skill first.
- Call
sprang_querywith the argument to find the matching node ID.
- Call
sprang_whywith the resolvednode_idto retrievedecision_context:
commits[]: sha, date, message, authorprimary_authors[],last_changed,change_frequencyrationale_snippets[](extracted from commit messages)pr_references[],changelog_entries[]- plus any team annotation and its path
- Call
sprang_nodewith the samenode_idto get:
layer(name + id) andlayer_mate_count— where it fits in the architecturein_degree/out_degree— how coupled it ishas_annotation/annotation_path— whether team knowledge exists- the full 1-hop neighbor list
- If decision context is sparse (skeleton graph), fetch it directly from git:
```bash git -C "$PROJECT_ROOT" log --follow --format="%H|%ae|%as|%s|%b" -- "$filePath" | head -30 git -C "$PROJECT_ROOT" blame --line-porcelain "$filePath" 2>/dev/null \
git -C "$PROJECT_ROOT" log --follow -5 -p -- "$filePath" 2>/dev/null ```
- If
has_annotationis true, display the full annotation content prominently.
- Read the actual source file to understand its current state.
- Explain:
- Purpose — what it does in business terms, not just technical terms
- Origin — when it was created and what need prompted it
- Evolution — key changes in chronological order with dates and authors,
and what problem each solved
- Decision history — quote the significant commit messages
- Current owners — primary authors; last changed date and author
- Change frequency — commits in the last 90 days. If
change_frequency >= 10, flag as frequently-churning — extra care required
- Team notes — any human annotations
- Risk context — risk score and the factors behind it, structural
warnings, and a recommendation (refactor, stable, critical path). Give specific guidance before modifying, especially if risk_score > 0.7
- Cross-reference
pr_referenceswith related notes or changelog entries.
- Offer to add an annotation with
sprang_annotate— it writes
.sprang/annotations/<node-id>.md and shows up in future runs of this skill.
$ARGUMENTS
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sprang-why/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 8 Nov 2026, 12 h ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/faviovazquez/sprang/sprang-why)