init-projectlisted
Install: claude install-skill luiseiman/dotforge
# Init Project
MANDATORY FLOW: detect stack → ask 4 questions → WAIT for answers → generate config.
You MUST ask the 4 questions in Step 4 and WAIT for the user to answer BEFORE generating any files. Do NOT skip the questions. Do NOT generate config before receiving answers.
## Step 1: Check if already initialized
If `.claude/settings.json` exists:
```
Already initialized. Use /forge sync to update or /forge audit to check score.
```
Exit without changes.
## Step 2: Detect stacks
Scan project files silently using `$DOTFORGE_DIR/stacks/detect.md` as reference:
```
python-fastapi: pyproject.toml, requirements.txt with fastapi
react-vite-ts: package.json with react + vite
swift-swiftui: Package.swift, *.xcodeproj
node-express: package.json with express/fastify (no react)
go-api: go.mod
java-spring: pom.xml or build.gradle with spring
supabase: supabase/ dir or supabase in deps
docker-deploy: Dockerfile or docker-compose*
gcp-cloud-run: app.yaml or cloudbuild.yaml
aws-deploy: cdk.json or template.yaml
redis: redis in deps
data-analysis: *.ipynb prominent
devcontainer: .devcontainer/
```
Also scan existing files for additional context:
- README.md → project description
- existing test files → testing patterns
- CI config (.github/workflows, Makefile) → build/test commands
## Step 3: Detect user language and ask 4 questions
Detect language: check previous messages → global CLAUDE.md → system locale → default English.
OVERRIDE RULE: