setuplisted
Install: claude install-skill bim-ba/ai
# /setup — Project Bootstrap Skill
Scaffolds a target project with the ai conventions: drift-log, skills authoring standard, a thin CLAUDE.md, and the required `.claude/settings.json` plugin wiring. Safe to re-run — only creates what is missing.
## Purpose
### What this skill enables
Brings a project into the ai ecosystem in one shot: creates the directory structure and config files every agent-aware repo needs, and wires the requested ai plugins (core always) into `.claude/settings.json` so Claude Code resolves the marketplace correctly.
### When to use it
- Bootstrapping a brand-new project repository.
- Onboarding an existing repository that has no ai scaffold yet.
- Re-running `/setup` after the first pass to catch any files that were missing (idempotent — always safe).
### When NOT to use it
- For updating or replacing an existing `CLAUDE.md` with new content (edit it directly instead).
- For plugin-specific setup steps that are out of scope of the core scaffold (e.g., data-pipeline config, secrets management).
- When the project already has a fully wired ai setup and you only want to update one piece (use Edit directly).
---
## Pre-checks
Before running any step, verify:
1. **Project root is identifiable.** Look for the root via `git rev-parse --show-toplevel 2>/dev/null` or use the working directory if not a git repo. All paths below are relative to `PROJECT_ROOT`.
2. **`CLAUDE_PLUGIN_ROOT` resolves.** This variable points to the `core` plugin directory. It