From forge
Onboard an EXISTING codebase into Forge (brownfield adoption). Use when the user runs /forge:adopt, wants to start using Forge on a project that already has code, says "adopt this repo", "set up Forge on my existing project", "reverse-engineer the requirements/architecture", or asks to bring a legacy/brownfield codebase into the pipeline. Pass --dry-run to preview without writing. Distinct from /forge:init, which scaffolds a greenfield pipeline.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:forge-adoptThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bring an existing codebase into the Forge pipeline. Adopt detects the project type,
Bring an existing codebase into the Forge pipeline. Adopt detects the project type,
samples a bounded set of files, fans out extractors to infer an SRS and an
architecture map, seeds pipeline/state.md, and enters the normal 12-stage flow at
Stage 1 so you confirm the inferred artifacts before building on them.
/forge:adopt on a repo that already has code/forge:init)pipeline/ and .forge/ — it
never modifies your code.adopt.max_files, default 40); what was sampled vs
skipped is reported — no silent truncation.pipeline/state.md already exists (that project is already initialized).Preview first — --dry-run reports the plan and spends nothing:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/adopt.py --cwd . --dry-run
Then run it for real (fans the extractors out via the orchestration primitive; the dimensions are cost-gated):
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/adopt.py --cwd .
It prints a JSON summary (project_type, sampled/skipped, written,
dropped_aspects, cost_usd). Relay it, then tell the user the inferred drafts under
pipeline/01-srs/ and pipeline/03-architecture/ are drafts to confirm, and that
the pipeline is seeded at Stage 1. If any aspect was dropped, say so — don't imply full
coverage. From here, /forge:srs / /forge:architecture refine the drafts with gates
intact.
npx claudepluginhub tonmoy007/forge-pluginsGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.