codebase-context

Solid

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

AI & Automation 183 stars 39 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
75
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Codebase Context — Agent Instructions ## Invocation - `/codebase-context <IDEA_ID>` Where: - `IDEA_REF = $ARGUMENTS` (single token; no spaces) If missing, STOP. --- ## Resolve IDEA_ID (required) Before using any paths: - Call `vf.resolve_idea_id` with `idea_ref = $ARGUMENTS` - Store returned `idea_id` as `IDEA_ID` - Use `IDEA_ID` for all paths and YAML headers --- ## Goal Produce a lightweight, durable “map” of the existing codebase relevant to this idea, focusing on: - where to extend vs create - major boundaries (API layer, core logic, models/state, UI, tests) - any constraints/invariants implied by the current architecture This is NOT a full survey and NOT a task list. It is an early anchor to prevent greenfield assumptions. --- ## Canonical paths (repo-relative) Idea root: - `docs/forge/ideas/<IDEA_ID>/` Inputs (required): - `docs/forge/ideas/<IDEA_ID>/latest/concept_summary.md` - `docs/forge/ideas/<IDEA_ID>/inputs/concept_summary_config.md` Fallback/optional: - `docs/forge/ideas/<IDEA_ID>/latest/idea_normalized.md` - `docs/forge/ideas/<IDEA_ID>/inputs/idea.md` Outputs: - `docs/forge/ideas/<IDEA_ID>/latest/codebase_context.md` - Run snapshot: - `docs/forge/ideas/<IDEA_ID>/runs/<RUN_ID>/outputs/codebase_context.md` Logs: - `docs/forge/ideas/<IDEA_ID>/run_log.md` --- ## Method (generic, repo-aware) 1) Read the concept summary (primary semantic anchor). 2) Identify which kinds of components are likely involved: - API endpoints / controllers / route...

Details

Author
majiayu000
Repository
majiayu000/claude-skill-registry
Created
5 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

codebase-context

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

3 Updated 1 months ago
majiayu000
AI & Automation Solid

codebase-mapping

Automatic codebase indexing for invisible context injection. Catalogs project structure, file types, entry points, dependencies, and test layout.

1,160 Updated today
a5c-ai
Data & Documents Listed

codebase-documenter

Use this skill when the user wants to understand, document, or explain a codebase — even if they don't say "document" explicitly. Trigger on: "explain this codebase", "how does this project work", "create onboarding docs", "document the architecture", "I'm new to this repo", "generate a codebase overview", or any request to understand unfamiliar code. Produces a single docs/CODEBASE.md with architecture, components, data flow, setup instructions, and a recommended reading path for new developers. Supports quick/standard/deep depth levels and incremental updates.

1 Updated 4 days ago
opencue
Data & Documents Listed

codebase-documenter

Use this skill when the user wants to understand, document, or explain a codebase — even if they don't say "document" explicitly. Trigger on: "explain this codebase", "how does this project work", "create onboarding docs", "document the architecture", "I'm new to this repo", "generate a codebase overview", or any request to understand unfamiliar code. Produces a single docs/CODEBASE.md with architecture, components, data flow, setup instructions, and a recommended reading path for new developers. Supports quick/standard/deep depth levels and incremental updates.

1 Updated 1 weeks ago
opencue
Data & Documents Listed

codebase-documenter

Use this skill when the user wants to understand, document, or explain a codebase — even if they don't say "document" explicitly. Trigger on: "explain this codebase", "how does this project work", "create onboarding docs", "document the architecture", "I'm new to this repo", "generate a codebase overview", or any request to understand unfamiliar code. Produces a single docs/CODEBASE.md with architecture, components, data flow, setup instructions, and a recommended reading path for new developers. Supports quick/standard/deep depth levels and incremental updates.

1 Updated 2 days ago
opencue