init
Analyze project and generate sprint.config.yaml
What this skill does
# Sprint Init — Project Configuration Generator
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.
## Dynamic Context
```
!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
`$ARGUMENTS` — None (interactive)
---
## Procedure
### 1. Check Existing Config
If `sprint.config.yaml` already exists, ask the user: **overwrite / update / cancel**.
### 2. Project Analysis
Scan in this order:
1. **Git root**: `git rev-parse --show-toplevel`
2. **Directory structure**: top-level + 1-2 depth
3. **Language/framework detection**:
- `pyproject.toml` / `requirements.txt` → Python
- `package.json` / `tsconfig.json` → TypeScript/JavaScript
- `go.mod` → Go
- `Cargo.toml` → Rust
4. **Build tools**: ruff, prettier, eslint, pytest, vitest, cargo test, etc.
5. **Documentation scan**: CLAUDE.md, docs/, README.md
6. **Existing squad docs**: docs/SQUADS.md parsing
7. **CI config**: `.github/workflows/` or CI files
### 3. Squad Proposal
Auto-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 name
- `prefix`: Branch prefix (lowercase)
- `scope`: Modifiable directories
- `language`: Primary language
- `conventions`: formatter, linter, test runner
### 4. User Confirmation
Output the proposed config as YAML and confirm:
- Add/remove/modify squads
- Branch strategy (squash/merge/rebase)
- Review bot settings
- Custom review checks (e.g. legal compliance)
- Agent model/count limits
### 5. File Generation
Write the confirmed config to `sprint.config.yaml` at project root.
### 6. Next Steps
```
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
```
---
## sprint.config.yaml Schema
```yaml
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
```
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.