plugin-sprint/skills/init/SKILL.md
Analyze project and generate sprint.config.yaml
npx skillsauth add themagictower/grimoires initInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze the project structure and auto-generate the sprint.config.yaml configuration file. When this file exists, /sprint:cycle, /sprint:review, /sprint:plan, and /sprint:all skills adapt to the project.
!git rev-parse --show-toplevel 2>/dev/null
!git remote -v 2>/dev/null | head -4
!ls -d */ 2>/dev/null | head -20
!cat CLAUDE.md 2>/dev/null | head -60
!cat sprint.config.yaml 2>/dev/null || echo "NO_CONFIG_EXISTS"
$ARGUMENTS — None (interactive)
If sprint.config.yaml already exists, ask the user: overwrite / update / cancel.
Scan in this order:
git rev-parse --show-toplevelpyproject.toml / requirements.txt → Pythonpackage.json / tsconfig.json → TypeScript/JavaScriptgo.mod → GoCargo.toml → Rust.github/workflows/ or CI filesAuto-propose squads from directory patterns:
| Directory Pattern | Proposed Squad |
|-------------------|---------------|
| src/api/, services/api/, backend/ | Backend / Platform |
| src/web/, apps/, frontend/ | Frontend / UI |
| services/crawler-*, scrapers/ | Crawler / Data |
| infra/, deploy/, docker/ | Infra / Delivery |
| services/worker*, jobs/ | Worker / Processing |
For each squad:
name: Squad nameprefix: Branch prefix (lowercase)scope: Modifiable directorieslanguage: Primary languageconventions: formatter, linter, test runnerOutput the proposed config as YAML and confirm:
Write the confirmed config to sprint.config.yaml at project root.
sprint.config.yaml generated!
Next steps:
1. /sprint:plan → Create sprint plan
2. /sprint:cycle {N} → Execute a sprint
3. /sprint:all → Execute all sprints
project:
name: "Project Name"
repo_root: /absolute/path # git root (auto-detected)
worktree_base: /absolute/path # worktree creation path
main_branch: main
memory_file: .claude/.../MEMORY.md # relative to repo_root
docs:
sprint_plan: docs/SPRINT-PLAN.md # sprint plan document
squads: docs/SQUADS.md # squad definitions (optional)
squads:
- name: SquadName
prefix: branch-prefix
scope:
- directory/path/
language: python | typescript | go | rust
conventions:
formatter: "command"
linter: "command"
test: "command"
merge:
strategy: squash | merge | rebase
delete_branch: true | false
ci:
review_bots:
- name: BotName
check_pattern: "regex" # check-run name matching
comment_pattern: "regex" # PR comment user.login matching
review:
checklist: # default review checklist
- completion_criteria
- coding_conventions
- scope_boundary
- edge_cases
custom_checks: [] # project-specific checks
agents:
squad_model: sonnet # squad agent model
lead_model: opus # lead agent model (reference)
max_squad_agents: 4
max_total_agents: 5
testing
Analyze and improve test coverage
development
TDD workflow with RED-GREEN-REFACTOR cycle
tools
Initialize Grimoires for a project with auto-detection
development
Code review with design principles validation