---
name: forge:init
description: Initialize FORGE in the current project directory.
argument-hint: [--quick]
allowed-tools:
  - Read
  - Write
  - Bash
  - TeamCreate
---

Initialize FORGE in current directory. Use `--quick` to skip prompts.

**Steps:**

1. Create dirs: state/events, contracts, .planning, .claude/rules, src/{cli,commands,generators,git,utils}, .github/workflows, .worktrees
2. Generate CLAUDE.md template, state/STATE.json, .planning/forge.config.json
3. If no AgentTeam.md, analyze codebase via Explore subagent and generate one. Create team with TeamCreate.
4. Git setup: .gitignore, init repo, pre-commit hooks
5. Dependencies: package.json, install chalk/commander/execa/zod/handlebars
6. Verify: `npm run build`, `/forge:status`
