gsd:sprint
Autonomous phase execution with Codex validation. Runs plan/execute/verify cycles in a bash loop until done or halted.
- License 许可
- AGPL-3.0
- 所属仓库
- baisharg/ASTN
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 2
01 前言 Front Matter
- name
- gsd:sprint
- description
- Autonomous phase execution with Codex validation. Runs plan/execute/verify cycles in a bash loop until done or halted.
- argument-hint
- <start> <end> [--yolo] [--skip-codex] [--resume]
02 资源文件 5
- 资产文件methods.csv9.7 KB
- 参考文档README.md19.1 KB
- 脚本scripts/sprint-helpers.sh20.5 KB
- 脚本scripts/sprint-once.sh2.9 KB
- 脚本scripts/sprint.sh14.5 KB
03 SKILL.md 正文
GSD Sprint
Run multiple phases autonomously with Codex validation at each boundary. Based on the Ralph pattern - the loop is bash, state lives in files.
Usage
# Interactive mode (default) - pause between phases
/gsd:sprint 3 6
# AFK mode - runs until complete or halt
/gsd:sprint 3 6 --yolo
# Skip Codex validation (faster, less safe)
/gsd:sprint 3 6 --skip-codex
# Resume interrupted sprint
/gsd:sprint --resume
What It Does
For each phase in range:
- Plan - Calls
/gsd:plan-phaseif no PLAN.md exists - Codex validates plans - Checks feasibility before execution
- Execute - Calls
/gsd:execute-phase - Codex reviews code - Checks for bugs, security issues
- Checkpoint - Pauses for review (unless
--yolo)
Halt Conditions
Always halts (even in yolo):
- Codex
[HALT] critical- security/major bugs - Auth gates - require credentials
- Verification failures - gaps found
- Git errors, build failures
Mode-dependent:
- Codex warnings - interactive: ask, yolo: log and continue
- Human-verify checkpoints - interactive: wait, yolo: continue
State Tracking
Sprint progress is tracked in .planning/SPRINT.md:
- Current phase position
- Completion status per phase
- Codex validation results
- Checkpoints for resume
Modes
| Mode | Behavior |
|---|---|
| Interactive (default) | Pause between phases, present checkpoints |
AFK (--yolo) |
Auto-continue, use defaults, still halt on critical |
No Codex (--skip-codex) |
Skip validation (faster but risky) |
Resume (--resume) |
Continue from SPRINT.md checkpoint |
Examples
# Run phases 3-6 interactively
/gsd:sprint 3 6
# Run overnight - will halt if anything critical
/gsd:sprint 3 10 --yolo
# Quick run without Codex overhead
/gsd:sprint 5 5 --skip-codex
# Resume after fixing an issue
/gsd:sprint --resume
Execution
This runs in a tmux session so you can detach and reattach.
ARGS="$ARGUMENTS"
SESSION_NAME="gsd-sprint"
# Find the script (project-local or global)
if [[ -f ".claude/skills/gsd-sprint/scripts/sprint.sh" ]]; then
SCRIPT=".claude/skills/gsd-sprint/scripts/sprint.sh"
else
SCRIPT="$HOME/.claude/skills/gsd-sprint/scripts/sprint.sh"
fi
# Kill existing session if running, create new one
tmux kill-session -t "$SESSION_NAME" 2>/dev/null || true
tmux new-session -d -s "$SESSION_NAME" -c "$(pwd)"
# Run the sprint script in the tmux session
tmux send-keys -t "$SESSION_NAME" "bash $SCRIPT $ARGS" Enter
# Tell user how to attach
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "GSD Sprint started in tmux session: $SESSION_NAME"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "To attach and watch progress:"
echo " tmux attach -t $SESSION_NAME"
echo ""
echo "To detach (while attached):"
echo " Ctrl+b then d"
echo ""
echo "To check if still running:"
echo " tmux has-session -t $SESSION_NAME 2>/dev/null && echo 'Running' || echo 'Finished'"
echo ""
04 同仓库更多 Skills
Convex 数据库模式设计
schema-builder
设计并生成 Convex 数据库模式(schema),包含完善的验证、索引和关系。在创建 schema.ts 或修改表定义时使用。
TanStack Start 集成 PostHog
integration-tanstack-start
为 TanStack Start 全栈应用集成 PostHog
migration-helper
Plan and execute Convex schema migrations safely, including adding fields, creating tables, and data transformations. Use when schema changes affect existing data.
gsd:second-opinion
Get a second opinion from OpenAI Codex (GPT-5.2-codex) on code, architecture, or implementation decisions. Use when you want independent verification or an alternative perspective.
gsd:milestone-sprint
Run entire milestone autonomously with Codex validation. Auto-detects current milestone, executes all phases, and runs audit.
gsd:health-check
Verify GSD setup - checks Claude, Codex, skills, and MCP servers are working correctly.