Codebase context

Map relevant codebase modules, constraints, and extension points for an idea.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Darkpunkki/v-forge --skill codebase-context-darkpunkki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Codebase context
Source: https://github.com/Darkpunkki/v-forge/tree/main/.claude/skills/codebase-context
Command: npx skills add https://github.com/Darkpunkki/v-forge --skill codebase-context-darkpunkki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a lightweight codebase_context.md that anchors the idea in the existing repo (modules, constraints, extension points). Generic framework prompt.

Core Features & Use Cases

  • Produces a stable, repo-aware map of the codebase areas most relevant to a given IDEA (API, core logic, data models/state, UI, tests, and deployment boundaries).
  • Identifies extension points and boundaries to guide future work and minimize greenfield assumptions.
  • Generates a canonical artifact at docs/forge/ideas/<IDEA_ID>/latest/codebase_context.md along with a run snapshot.

Quick Start

Create the codebase_context.md anchored to the IDEA_ID using the vf.resolve_idea_id workflow and store outputs under the repo's codebase context pathway.

Frequently Asked Questions about Codebase context

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

FAQPage Schema
How do I map a new feature idea to existing codebase modules and extension points?

To map a new feature idea to your codebase, generate a lightweight context artifact that anchors decisions to existing modules, API surfaces, data models, and deployment boundaries. This identifies a minimal set of touched files, about 10–25, to guide where to extend versus create new code.

What is a codebase context map for multi-module repositories?

A codebase context map is a lightweight markdown artifact that analyzes multi-module repos by anchoring ideas to existing constraints and extension points. It covers API surfaces, core logic, data models, UI, tests, and deployment boundaries to minimize greenfield assumptions during development.

How do I identify which files to modify when extending an existing repository?

Identify files to modify by generating a repo-aware context map that references canonical paths and highlights extension points. The map isolates a minimal set of approximately 10–25 touched files, ensuring you extend existing modules rather than unnecessarily creating new ones.

Can I use codebase context analysis for repos with complex deployment boundaries and UI layers?

Yes, codebase context analysis applies to multi-module repos with API surfaces, core logic, data models, UI, tests, and deployment boundaries. It maps these areas to anchor your ideas and guide future work across all these architectural layers.

Where should I store codebase context documentation for traceability?

Store codebase context documentation at docs/forge/ideas/<IDEA_ID>/latest/codebase_context.md along with a run snapshot. This canonical pathway ensures traceability and stable artifact generation anchored to your specific IDEA_ID.

What's the best way to minimize greenfield assumptions when planning new features?

The best way to minimize greenfield assumptions is producing a repo-aware codebase map that identifies extension points and architectural boundaries. By anchoring decisions to existing modules and constraints, you clearly guide where to extend versus where to create.