بنقرة واحدة
codebase-onboarding
4-phase systematic codebase onboarding with reconnaissance and artifact generation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
4-phase systematic codebase onboarding with reconnaissance and artifact generation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Convert PDF/EPUB library to Markdown and generate Obsidian MOC notes
Hook-based compaction suggestions at logical task boundaries
Context window management — track spend, decide when to compact, preserve state
Session-start orientation — loads context, surfaces learnings, confirms registry
Quality and semantic review — catches what automated tools miss
Planner → Architect → Critic deliberation loop — produces a formally validated ADR
| name | codebase-onboarding |
| description | 4-phase systematic codebase onboarding with reconnaissance and artifact generation |
| version | 0.1.0 |
| level | 3 |
| triggers | ["onboard to codebase","understand this project","getting started with this codebase","project overview"] |
| context_files | ["context/project.md"] |
| steps | [{"name":"Reconnaissance","description":"Parallel detection of manifests, frameworks, and entry points"},{"name":"Architecture Mapping","description":"Identify key modules, data flow, and component relationships"},{"name":"Convention Detection","description":"Extract naming patterns, directory structure, testing approach"},{"name":"Generate Artifacts","description":"Create Onboarding Guide and suggest CLAUDE.md enhancements"}] |
Systematic new-project onboarding. Produces a 2-minute onboarding guide and CLAUDE.md enhancements.
Without systematic onboarding, Claude:
Codebase onboarding ensures Claude understands the project before making changes.
Parallel detection across 3 dimensions:
Manifests and Dependencies:
Framework Detection:
Entry Points:
Run these searches in parallel (3 concurrent Glob/Grep operations). Total reconnaissance time: <60 seconds.
Identify key modules:
Trace data flow:
Component relationships:
Architecture documentation check:
Naming Patterns:
Directory Structure:
Testing Approach:
Code Style:
Onboarding Guide (2-minute read target, ~300 words):
# [Project Name] Onboarding
**Stack:** [Language + Framework + Key Dependencies]
**Type:** [Web App / API / CLI / Library]
## Quick Start
[3-5 command sequence to get running locally]
## Architecture
[1 paragraph: request flow or component hierarchy]
## Key Directories
[4-6 most important directories with one-line descriptions]
## Conventions
- File naming: [pattern]
- Test location: [pattern]
- Import style: [absolute vs relative]
## Common Tasks
- Add new feature: [where to start]
- Add new test: [command + location]
- Run locally: [command]
- Deploy: [process or link to docs]
## Domain Concepts
[3-5 project-specific terms new developers must know]
## Where to Find Things
- Auth: [location]
- API routes: [location]
- Database schema: [location]
- Config: [location]
CLAUDE.md Enhancements:
Suggest additions to context/project.md:
Do NOT suggest:
100 lines of CLAUDE.md additions (exceeds context budget)
Analysis paralysis: Spending 30+ minutes on reconnaissance. Reconnaissance should take <5 minutes. Missing a detail is fine.
Listing every dependency: Onboarding guide mentions 40 npm packages. Only list 3-5 most critical dependencies that shape architecture.
Copying the README: README is user-facing marketing. Onboarding guide is developer-facing technical context.
Describing obvious directories: "src/ contains source code, tests/ contains tests" is noise. Only mention non-obvious structure.
Exceeding 2-minute read: Onboarding guide over 500 words means new developers won't read it. Be ruthlessly concise.
Feeds into:
Uses: