원클릭으로
speckit-ralph-iterate
Execute a single Ralph loop iteration - complete one work unit from tasks.md with proper commits and progress tracking
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute a single Ralph loop iteration - complete one work unit from tasks.md with proper commits and progress tracking
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run the ralph autonomous implementation loop
Automate the local Jira Data Center first-run wizard and the Agile Tools admin browser setup flow for this repository. Use when working in agile-tools and the user wants an agent to drive browser steps for local Jira setup, finish the first-run Jira wizard, create a local admin session in Agile Tools, create or validate a Jira connection, discover a board, inspect it, and create a flow scope from the seeded local Jira data.
| name | speckit-ralph-iterate |
| description | Execute a single Ralph loop iteration - complete one work unit from tasks.md with proper commits and progress tracking |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"ralph:commands/iterate.md"} |
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
CRITICAL: Complete AT MOST ONE user story in this iteration.
Setup: Run the prerequisite check script from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax appropriate to your shell.
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks
.specify/scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks
Read context first:
FEATURE_DIR/progress.md if it exists -- check the ## Codebase Patterns section for discovered conventionsFEATURE_DIR/tasks.md -- understand task structure and identify next incomplete user storyFEATURE_DIR/plan.md for tech stack, architecture, and file structureFEATURE_DIR/data-model.md for entities and relationshipsFEATURE_DIR/contracts/ for API specificationsFEATURE_DIR/research.md for technical decisions and constraintsIdentify scope:
- [ ])Implement tasks:
[ ] to [x] in tasks.mdCommit on user story completion:
When ALL tasks in the current user story are complete ([x]), create a commit:
git add -A
git commit -m "feat(<feature-name>): <user story title>"
Example: git commit -m "feat(001-ralph-loop-implement): US-001 Initialize Ralph Command"
If only partial progress, NO commit -- let the next iteration continue
Update progress log:
FEATURE_DIR/progress.md## Codebase Patterns section at TOP of fileAPPEND to FEATURE_DIR/progress.md:
---
## Iteration [N] - [Current Date/Time]
**User Story**: [US-XXX title or "Partial progress on US-XXX"]
**Tasks Completed**:
- [x] Task ID: description
- [x] Task ID: description
**Tasks Remaining in Story**: [count] or "None - story complete"
**Commit**: [commit hash if story completed, or "No commit - partial progress"]
**Files Changed**:
- path/to/file.ext
**Learnings**:
- [patterns discovered, gotchas, useful context for future iterations]
---
If ALL tasks in tasks.md are complete ([x]), output exactly:
<promise>COMPLETE</promise>
This signals the ralph loop orchestrator to terminate successfully.
If tasks remain, end your response normally. The next iteration will continue.
Follow the patterns established in the codebase:
| Condition | Expected Behavior |
|---|---|
| User story unclear | Ask for clarification in progress entry, mark tasks as blocked |
| Tests fail | Report failure, do not mark task complete, no commit |
| Cannot complete story | Report partial progress, commit only if all completed tasks form coherent unit |
| All tasks done | Commit final story, output <promise>COMPLETE</promise> |
| Dependencies missing | Note in progress file, skip to next available task |