generate-snapshot

Generate a codebase health snapshot analyzing git history, complexity, debt markers, and dependencies.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Claude-Skills-Collection --skill generate-snapshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-snapshot
Source: https://github.com/mahmoud20138/Claude-Skills-Collection/tree/main/05-VSCode-Extension-Skills/generate-snapshot
Command: npx skills add https://github.com/mahmoud20138/Claude-Skills-Collection --skill generate-snapshot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the identification of technical debt, refactoring priorities, and code health issues within a codebase, streamlining planning and maintenance efforts.

Core Features & Use Cases

  • Technical Debt Analysis: Identifies high-complexity, frequently changed files, and debt markers (TODO, FIXME).
  • Code Health Metrics: Provides insights into churn, complexity, dependencies, and bus factor risks.
  • Use Case: Before starting a new sprint, use this Skill to generate a snapshot that highlights the top 3 areas needing refactoring, allowing the team to prioritize effectively.

Quick Start

Run the generate snapshot skill to create an analysis-snapshot.json file in the repository root.

Frequently Asked Questions about generate-snapshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify technical debt and refactoring priorities in a codebase?

To identify technical debt and refactoring priorities, you can generate a codebase health snapshot that analyzes git history, code complexity, and debt markers like TODO and FIXME to highlight hotspots.

What metrics are used for code health assessment and technical debt tracking?

Code health assessment uses metrics such as git file churn, code complexity, dependency analysis, and bus factor risks to track technical debt and identify frequently changed hotspots.

How do I analyze git history to find high-complexity files before a sprint?

Analyzing git history to find high-complexity files involves generating a snapshot that evaluates code churn and debt markers, helping your team prioritize the top areas needing refactoring before a new sprint.

Can I track technical debt automatically without external dependencies?

You can track technical debt automatically using a standalone script that requires no external dependencies, generating an analysis-snapshot.json file directly in your repository root.

What is the best way to assess bus factor risks and code complexity?

The best way to assess bus factor risks and code complexity is to generate a comprehensive codebase snapshot that analyzes dependency structures and churn patterns to pinpoint critical vulnerability areas.

Are there limitations to using a codebase snapshot for refactoring identification?

A limitation of using a codebase snapshot for refactoring identification is that it provides a static point-in-time analysis, meaning it may not capture real-time code shifts or dynamic runtime dependencies.