buyanturs/front-end/generate-snapshot
Claude Code and agent skill by buyanturs/front-end
- community
Checking that the SKILL.md file is still in the repository.
Generate a codebase health snapshot for technical debt tracking and planning. Analyzes git history, code complexity, debt markers, and dependencies to identify hotspots and refactoring priorities.
Install
npx vskill@latest install buyanturs/front-end/generate-snapshotSKILL.md
The same SKILL.md was published earlier as nguyenhungtran18/skill-and-tool-tracker/generate-snapshot.
Generate Codebase Snapshot
This skill generates a comprehensive code health snapshot using the analysis modules in analysis/.
When to Use
- During planning phase to identify work items
- To find refactoring hotspots (high churn + high complexity)
- To track technical debt over time
- Before major releases to assess code health
- To identify knowledge silos (bus factor risks)
How to Generate
Add --pretty flag to also print the JSON to stdout.
Note: The snapshot is written to the repository root (analysis-snapshot.json). This path is ignored by .gitignore.
Snapshot Structure
The snapshot contains these sections:
summary - High-level metrics dashboard
files_with_changes: Number of files with git changestotal_churn: Total lines added + deletedhigh_complexity_files: Count of files with high complexitytodo_count,fixme_count: Debt marker countscircular_dependency_count: Architectural issuessingle_author_file_ratio: Bus factor indicator
priority_hotspots - Top 20 refactoring candidates
Files sorted by priority_score = change_count × max_complexity
High priority_score = frequently changed AND complex = prime refactoring target.
git_analysis - Change patterns
hotspots: Most frequently changed filestemporal_coupling: Files that change together (hidden dependencies)bus_factor: Knowledge concentration risks
complexity - Code complexity metrics
by_language.typescript: TypeScript file metrics (max_complexity, avg_complexity, function_count)high_complexity_functions: Functions with cyclomatic complexity > 10
debt_indicators - Technical debt markers
debt_markers.by_type: TODO, FIXME, HACK comments by typelarge_files: Files exceeding 500 lines of codelong_functions: Functions exceeding 50 lines
dependencies - Module coupling analysis
circular_dependencies: Cycles in import graphhighly_coupled_modules: Modules with fan-out > 10hub_modules: Modules with fan-in > 10layer_violations: Lower layers importing from higher layers
Interpreting Results
Priority Hotspots
- Sort by
priority_scoredescending - Top items = files that change often AND are complex
- These are prime candidates for:
- Breaking into smaller modules
- Adding tests before changes
- Simplifying complex functions
Temporal Coupling
Files with coupling_ratio > 0.8 changing together indicate:
- Hidden dependencies not visible in imports
- Copy-paste code that should be shared
- Features spread across unrelated files
Knowledge Silos
Files with author_count = 1 and change_count >= 3:
- Single point of failure for knowledge
- Consider documentation or pair programming
- Higher risk for bugs during that author's absence
Circular Dependencies
Any cycles in the import graph:
- Indicates tight coupling
- Makes testing difficult
- Consider introducing interfaces or restructuring
Example Usage in Planning
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 repositoryCheckingextensions/ms-python.vscode-python-envs-1.24.0-win32-x64/.github/skills/generate-snapshot/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/buyanturs/front-end/generate-snapshot)