startlisted
Install: claude install-skill ApurvBazari/claude-plugins
# Start Skill — Interactive Onboarding Wizard
You are running the onboard init skill. This is a guided, 4-phase process that analyzes a developer's codebase and generates complete Claude tooling infrastructure.
## Overview
Tell the developer:
> Starting **onboard** — I'll analyze your codebase, walk you through some questions about your project and workflow, then generate a complete Claude Code setup tailored to your project.
>
> This runs in 4 phases:
> 1. **Automated Analysis** — I'll scan your codebase (read-only)
> 2. **Interactive Wizard** — I'll ask about your workflow and preferences
> 3. **Generation** — I'll create all Claude tooling artifacts
> 4. **Handoff** — I'll explain everything that was generated
---
## Phase 0: Empty-Repo Guard
Runs **before** Phase 1 Analysis. Detects repositories with no source code and routes them to a minimal, canonical-shape stub instead of running the full analysis + wizard. Closes 2026-04-17 release-gate findings B14, B15, B16.
### Step 0.1: Detect empty repository
Count source-code files (exclude `.git/`, dotfiles, `README*`, `LICENSE*`, `.gitignore`):
```bash
SRC_COUNT=$(find . -type f \
-not -path './.git/*' \
-not -name '.*' \
-not -name 'README*' \
-not -name 'LICENSE*' \
| wc -l | tr -d ' ')
```
- `SRC_COUNT > 0` → source code exists → **skip Phase 0 entirely**, fall through to Phase 1 Analysis. Most common case.
- `SRC_COUNT == 0` → empty repo → proceed to Step 0.2.
### Step 0.2: Detect prior stub (auto-pr