← ClaudeAtlas

setuplisted

Scaffold the docs folder structure, create AGENTS.md and CLAUDE.md. Also handles migrating existing full-BMAD projects to Leanwheel. Use when starting a new project or when the user says "setup project", "init docs", "migrate", or "setup migrate/clean".
rterakedis/leanwheel-skills · ★ 2 · AI & Automation · score 65
Install: claude install-skill rterakedis/leanwheel-skills
# Setup Skill **Goal:** Scaffold `docs/`, `AGENTS.md`, `CLAUDE.md` for shared conventions across sessions. Also detects and migrates existing BMAD infrastructure. **Idempotent:** Safe to re-run. Creates missing, never overwrites. ## Activation — Detect Mode Run detection before anything else: ```bash # Check for full BMAD infrastructure ls _bmad/ 2>/dev/null && echo "bmad" || echo "none" ``` Also check for explicit invocation: `/setup migrate` or `/setup clean`. **Route based on detection:** | Condition | Route | |---|---| | User invoked `/setup migrate` | Jump to **Migrate Flow** | | User invoked `/setup clean` | Jump to **Clean Flow** | | `_bmad/` exists | Report: "Found full BMAD infrastructure. Run `/setup migrate` to move artifacts to Leanwheel layout, then `/setup clean` to remove BMAD files." Stop. | | `_bmad/` absent, `docs/` exists | Idempotent re-run — proceed to **Scaffold Flow**, skip existing | | `_bmad/` absent, `docs/` absent | Greenfield — ask project name, proceed to **Scaffold Flow** | --- ## Scaffold Flow Ask these questions (can be combined into one prompt): 1. "Project name + one-sentence description?" (store as {project_name}, {project_description}) 2. "Where is your leanwheel-skills directory?" (store as {skills_path}, e.g. `~/repos/leanwheel-skills`). If already present in `.claude/settings.json`, skip this question. 3. "Which Apple platform(s) is this app targeting? (select all that apply: iOS / iPadOS / macOS / none)" (store as {platforms}