From sprint
Interactively onboards project: gathers business goals via questions, scans codebase for structure and tech, creates .claude/project-goals.md and project-map.md.
How this command is triggered — by the user, by Claude, or both
Slash command
/sprint:setupThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Setup Command - Interactive Project Onboarding Initialize a project for use with Sprint by creating the two "Second Brain" documents that guide all sprint work. ## Overview This command interactively creates: 1. `.claude/project-goals.md` - Business vision and objectives (user-maintained) 2. `.claude/project-map.md` - Technical architecture (architect-maintained) ## Workflow ### Step 1: Check Existing Files Check if either file already exists: If files exist, ask the user: - Overwrite existing files? - Skip existing and create only missing? - Abort setup? ### Step 2: Create .cla...
Initialize a project for use with Sprint by creating the two "Second Brain" documents that guide all sprint work.
This command interactively creates:
.claude/project-goals.md - Business vision and objectives (user-maintained).claude/project-map.md - Technical architecture (architect-maintained)Check if either file already exists:
test -f .claude/project-goals.md && echo "GOALS_EXISTS" || echo "NO_GOALS"
test -f .claude/project-map.md && echo "MAP_EXISTS" || echo "NO_MAP"
If files exist, ask the user:
Ensure the directory exists:
mkdir -p .claude
Use AskUserQuestion to gather business context:
Question 1: Product Vision
Question 2: Target Users
Question 3: Key Features
Question 4: Success Metrics
Question 5: Constraints
Write the gathered information to .claude/project-goals.md:
# Project Goals
## Vision
[User's product vision]
## Target Users
[Target audience description]
## Key Features
- [Feature 1]
- [Feature 2]
- [Feature 3]
## Success Metrics
[How success is measured]
## Constraints
[Important constraints and requirements]
---
*This file is maintained by the user. Update it when business objectives change.*
Analyze the project structure:
# List top-level structure
ls -la
# Find key configuration files
find . -maxdepth 2 -name "package.json" -o -name "pyproject.toml" -o -name "Cargo.toml" -o -name "go.mod" -o -name "*.csproj" 2>/dev/null
# Check for common frameworks
test -f next.config.js -o -f next.config.ts && echo "NEXTJS"
test -f nuxt.config.ts && echo "NUXT"
test -f angular.json && echo "ANGULAR"
test -f vite.config.ts && echo "VITE"
test -d backend -o -f requirements.txt -o -f pyproject.toml && echo "PYTHON"
test -f go.mod && echo "GO"
test -f Cargo.toml && echo "RUST"
Read key files to understand the project:
Ask clarifying questions based on scan results:
Question: Tech Stack Confirmation
Question: Architecture Style
Question: Database
Question: Deployment
Create .claude/project-map.md with discovered and confirmed information:
# Project Map
## Tech Stack
### Backend
- Language: [detected/confirmed]
- Framework: [detected/confirmed]
- Database: [confirmed]
### Frontend
- Framework: [detected/confirmed]
- Styling: [detected]
### Infrastructure
- Deployment: [confirmed]
- CI/CD: [detected]
## Project Structure
[directory tree of main folders]
## Key Components
### [Component 1]
- Location: [path]
- Purpose: [description]
### [Component 2]
- Location: [path]
- Purpose: [description]
## Development Workflow
### Running Locally
[commands to start the project]
### Running Tests
[test commands]
## Current Features
- [Feature 1]
- [Feature 2]
## Known Limitations
- [Any detected issues or TODOs]
---
*This file is maintained by the project-architect agent. Updated during sprints.*
Ask the user:
If yes, prompt for sprint goal and run /sprint:new logic.
If no, provide next steps:
Setup complete!
Next steps:
1. Review .claude/project-goals.md and adjust as needed
2. Review .claude/project-map.md for accuracy
3. Run /sprint:new to start your first sprint
If the directory appears empty or has no recognizable project structure:
If unable to write to .claude/:
On completion, display:
✓ Created .claude/project-goals.md
✓ Created .claude/project-map.md
Your project is ready for Sprint!
Run /sprint:new to begin.
npx claudepluginhub nickloveinvesting/nick-love-plugins --plugin sprint/setupInteractively onboards project: gathers business goals via questions, scans codebase for structure and tech, creates .claude/project-goals.md and project-map.md.
/setupScaffolds project structure and SupaConductor environment for spec-driven development, creates product docs/tech stack/guidelines/workflow, generates initial sprint tracks, supports resume from state.
/devteam-planConducts interactive requirements gathering, researches codebase, creates PRD, and generates development plan with tasks and sprints. Supports spec files, folders, and auto-detection.
/setupScaffolds the project and sets up the Conductor environment for spec-driven development
/onboardScans new codebase, checks context and files, classifies stack, maps architecture, sets up rules, and saves knowledge to .memory/ for building.
/map-codebaseSurveys project and generates missing CLAUDE.md, ARCHITECTURE.md, CODE-PATTERNS.md for SoloFlow agent shared context. Idempotent; supports skip flags.