analyze-codebase

Automate Stage B codebase discovery and analysis for the VibeFlow workflow.

8|Updated Sep 22, 2025
One-click install
npx skills add https://github.com/hardness1020/VibeFlow --skill analyze-codebase-hardness1020
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-codebase
Source: https://github.com/hardness1020/VibeFlow/tree/main/.claude/skills/analyze-codebase
Command: npx skills add https://github.com/hardness1020/VibeFlow --skill analyze-codebase-hardness1020

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Codebase discovery and analysis for Stage B of the VibeFlow docs-first workflow.

Core Features & Use Cases

  • Create Discovery documents for Stage B by analyzing existing specs and code
  • Validate spec-code alignment, map dependencies and side effects
  • Identify reusable components to reduce duplication across the project

Quick Start

Invoke the analyze-codebase skill with a target ID to generate the Stage B discovery document for your codebase.

Frequently Asked Questions about analyze-codebase

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

FAQPage Schema
How do I automate codebase discovery and analysis for a docs-first workflow?

Automating codebase discovery involves running a structured script to analyze existing specs and code, generating stage discovery documents that map dependencies and identify reusable components. This validates spec-code alignment and ensures governance for the workflow stage.

What is the best way to validate spec-code alignment in a project?

Validating spec-code alignment requires analyzing the codebase against existing specifications to map dependencies and side effects. This process identifies reusable components to reduce duplication and generates a structured discovery document for stage readiness.

How do I map dependencies and identify side effects in my codebase?

Mapping dependencies and side effects is done by executing a codebase analysis script that evaluates existing specifications and code. The output is a discovery document detailing these relationships and highlighting reusable components across the project.

When do I need to generate a Stage B discovery document?

A Stage B discovery document is needed when applying a docs-first workflow to your project. It enforces a structured process to validate stage readiness, map dependencies, and identify reusable components before proceeding further in the workflow.

Can I use this analysis approach without a VibeFlow workflow setup?

No, this specific codebase analysis enforces the structured process of the VibeFlow docs-first workflow. It relies on existing specs and code within that framework to generate the required discovery documents and validate spec-code alignment.

How do I identify reusable components to reduce code duplication?

Identifying reusable components is achieved by running a codebase discovery script that analyzes existing specs and code. This process maps dependencies, validates alignment, and outputs a document highlighting components available for reuse across the project.