name: shift description: Full one-command Paradigm setup — initializes everything, scans symbols, installs hooks, generates CLAUDE.md, and runs doctor. Use when a user wants complete setup in one step, says "paradigm shift", "set up everything", or "full paradigm setup". disable-model-invocation: true allowed-tools: Read, Write, Bash, Glob, Grep
Paradigm Shift — Full Setup
You are running the complete Paradigm setup for this project. This is the "do everything" command that takes a bare project to fully configured.
Step 1: Pre-flight Check
Call paradigm_status to check what already exists:
- If fully configured (symbols found, CLAUDE.md exists), ask the user if they want to re-run anyway (this will overwrite CLAUDE.md and rescan)
- If partially configured, note what's missing and proceed
- If not configured at all, proceed with full setup
Step 2: Run Paradigm Shift
Execute the full setup via Bash:
npx @a-company/paradigm shift
This single command runs:
paradigm init— creates.paradigm/directory structureparadigm team init— sets up multi-agent team configurationparadigm scan— scans codebase and builds symbol indexparadigm sync— generates CLAUDE.md and other IDE filesparadigm doctor— runs health check
Monitor the output for any errors or warnings.
Step 3: Verify Results
After shift completes, call paradigm_status and report:
- Initialization:
.paradigm/directory created with config, specs, docs - Symbol Index: How many symbols discovered (by type)
- CLAUDE.md: Generated with project-specific conventions
- Hooks: Whether hooks were mentioned in the output
- Health: Any issues from the doctor check
Step 4: Post-Setup Recommendations
Based on the project state, recommend next steps:
If routes were detected but no portal.yaml:
- "Your project has API routes. Create
portal.yamlwith authorization gates." - Offer to help: "Want me to run
paradigm_gates_for_routefor your endpoints?"
If no .purpose files cover key directories:
- "Some source directories need
.purposefiles for full compliance." - List the uncovered directories
- Offer to create them
If the project is large (many symbols):
- "Your project has X symbols. Consider defining
$flowsfor multi-step processes."
If this is a new project:
- "Your project is ready. As you build features, I'll help maintain
.purposefiles and the stop hook will enforce compliance."
Step 5: Lore Setup
Check if .paradigm/lore/ exists. If not, create the directory structure:
mkdir -p .paradigm/lore/entries
Tell the user lore tracking is now active — the stop hook will prompt for lore entries when 3+ source files are modified in a session.
Error Handling
- If
npxfails, check if Node.js >= 18 is installed - If
paradigm shiftfails mid-way, read the error and help fix it - If specific steps fail (e.g., scan finds nothing), note it but continue
- Always run doctor at the end even if earlier steps had issues