← ClaudeAtlas

archflow-initlisted

Use ONLY when the user asks for /archflow-init or "archflow init". Set up Archflow in a NEW, empty project — creates .archflow/ and starts at Phase 1
AZidan/archflow · ★ 27 · AI & Automation · score 81
Install: claude install-skill AZidan/archflow
> Arguments are the text after the skill name. # /archflow-init — Initialize Archflow in a Project > **Before you start:** run `/archflow-doctor` to see what is installed and what is > missing. It reports only — it never installs anything — and it names the exact command > for each gap. Lightweight command for setting up Archflow in a new or existing project. ## Usage ``` /archflow-init → Initialize Archflow in the current project ``` ## Prerequisites - Must be run from the project's root directory --- ## Flow ### Step 0: Initialize Git (MANDATORY) Before creating any Archflow files: 1. Check if git is already initialized: ```bash git rev-parse --is-inside-work-tree 2>/dev/null ``` 2. If NOT initialized, ask user: "Initialize git repository? [Yes / No]" - If Yes: `git init` - If No: WARN "Archflow strongly recommends git. Proceeding without it." 3. After `.archflow/` files are created (end of Step 3), make the initial commit: ```bash git add .archflow/ git commit -m "chore: initialize archflow (Phase 1)" ``` --- ### Step 1: Check If Already Initialized Check if `.archflow/current-phase.yaml` exists in the project root. **If it exists:** ``` Archflow is already initialized in this project. Current phase: [N] ([Phase Name]) Project type: [type] Run /archflow-status to see available commands. ``` Done — exit the command. --- ### Step 2: New Project or Existing Codebase? Ask the user: ``` Is this a new project or an