npx skills add https://github.com/jwynia/agent-skills --skill agile-workflow一种通过智能顺序调用命令来引导代理完成结构化敏捷开发工作流的技能。使用基于检查点的流程控制,在步骤之间自动推进,同时在关键决策点暂停。
注意: 这是一个与平台无关、仅使用 Git 的工作流。对于需要特定平台的基于 PR 的工作流,请使用:
gitea-workflow 用于 Gitea 仓库github-agile 用于 GitHub 仓库在以下情况下使用此技能:
在以下情况下不要使用此技能:
/status)/review-code)使用此技能前,请确保:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
context-network/backlog/ 处具有待办事项结构context-network/backlog/by-status/*.mdWORKFLOW TYPES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TASK CYCLE (Primary) DAILY SPRINT
────────────────────── ────────────────── ──────────────────
sync Morning: Start:
↓ sync --last 1d sync --all
next → [CHECKPOINT] status --brief groom --all
↓ groom --ready plan sprint-goals
implement status
↓ Evening:
[CHECKPOINT] checklist End:
↓ discovery sync --sprint
review-code sync --last 1d retrospective
review-tests audit --sprint
↓ maintenance --deep
[CHECKPOINT]
↓
apply-recommendations (if issues)
↓
merge-prep → [CHECKPOINT]
↓
merge-complete
↓
update-backlog & status
↓
END
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
该技能会自动确定当前工作流状态。无需手动跟踪。
| 信号 | 如何检查 | 指示 |
|---|---|---|
| 工作树存在 | git worktree list | 任务进行中 |
| 任务分支激活 | git branch --show-current 匹配 task/* | 活跃实施中 |
| 未提交的更改 | git status --porcelain | 活跃编码中 |
| 分支已合并 | git branch --merged main | 准备清理 |
STATE DETECTION LOGIC
─────────────────────────────────────────────────────────────
Check → State → Next Step
─────────────────────────────────────────────────────────────
No worktree, no in-progress → IDLE → sync, next
Worktree exists, uncommitted → IMPLEMENTING → continue implement
Worktree exists, all committed → READY_REVIEW → review-code
Reviews complete, ready to merge→ MERGE_READY → merge-prep
Branch merged, worktree exists → CLEANUP → merge-complete
─────────────────────────────────────────────────────────────
有关详细的检测算法,请参阅 references/state-detection.md。
# 自动检测状态并从当前位置继续
/agile-workflow
# 启动特定工作流阶段
/agile-workflow --phase task-cycle
/agile-workflow --phase daily-morning
/agile-workflow --phase daily-evening
/agile-workflow --phase sprint-start
/agile-workflow --phase sprint-end
# 恢复处理特定任务
/agile-workflow --task TASK-123
# 预览将要执行的操作而不实际执行
/agile-workflow --dry-run
从选择到合并完成单个任务的主要工作流。
确保上下文网络与实际项目状态匹配。
Run: sync --last 1d --dry-run
Purpose: Detect drift between documented and actual state
Output: Sync report showing completions, partial work, divergences
确定下一个要处理的任务。
Run: next
Purpose: Find highest priority ready task
Output: Task ID, title, branch name suggestion
检查点:TASK_SELECTED
在隔离的工作树中进行测试驱动开发。
Run: implement [TASK-ID]
Purpose: Create worktree, write tests first, implement, verify
Output: Working implementation with passing tests
检查点:IMPL_COMPLETE
对实施进行质量验证。
Run: review-code --uncommitted
Run: review-tests --uncommitted
Purpose: Identify quality issues, security concerns, test gaps
Output: Review reports with issues and recommendations
检查点:REVIEWS_DONE
智能处理审查发现的问题。
Run: apply-recommendations [review-output]
Purpose: Apply quick fixes now, defer complex changes to tasks
Output: Applied fixes + created follow-up tasks
验证并准备合并到主分支。
Run: merge-prep
Purpose: Validate implementation, run final checks, prepare for merge
Output: Ready to merge to main
检查点:MERGE_READY
合并到主分支并进行清理。
Run: merge-complete
Purpose: Merge to main, delete branch, remove worktree, update status
Output: Task marked complete, cleanup done
将进度持久化到事实来源文档。
Run: Part of merge-complete (Phase 6)
Purpose: Update epic file (task → complete), unblock dependents, update project status
Output: Backlog and project status reflect actual progress
此步骤的重要性: 如果没有这一步,已完成的任务在待办事项文件中仍标记为"就绪",项目状态也会过时。内部跟踪文件是会话范围的;待办事项和状态文件是持久的事实来源。
有关详细的任务周期说明,请参阅 references/phases/task-cycle.md。
用于工作日开始和结束的快速序列。
Run sequence:
1. sync --last 1d --dry-run # What actually happened yesterday
2. status --brief --sprint # Current sprint health
3. groom --ready-only # What's ready to work on
Output: Clear picture of today's priorities
Run sequence:
1. checklist # Ensure nothing lost
2. discovery # Capture learnings
3. sync --last 1d # Update task statuses
Output: Knowledge preserved, state synchronized
有关详细的每日说明,请参阅 references/phases/daily.md。
用于冲刺边界的仪式。
Run sequence:
1. sync --all # Full reality alignment
2. groom --all # Comprehensive grooming
3. plan sprint-goals # Architecture and goals
4. status --detailed # Baseline metrics
Output: Sprint plan with groomed, ready backlog
Run sequence:
1. sync --sprint # Final sprint sync
2. retrospective # Capture learnings
3. audit --scope sprint # Quality review
4. status --metrics # Sprint metrics
5. maintenance --deep # Context network cleanup
Output: Sprint closed, learnings captured, ready for next
有关详细的冲刺说明,请参阅 references/phases/sprint.md。
检查点是供人类决策的暂停点。
在每个检查点:
| 响应 | 操作 |
|---|---|
| "continue" / "proceed" / "yes" | 进入下一步 |
| "stop" / "pause" | 保存状态,退出工作流 |
| "back" | 重新运行上一步 |
| "skip" | 跳过当前步骤(谨慎使用) |
| 自定义输入 | 可能调整下一步参数 |
当满足条件时,某些检查点可以自动继续:
| 检查点 | 自动继续条件 |
|---|---|
| IMPL_COMPLETE | 所有测试通过,构建成功 |
| REVIEWS_DONE | 没有关键或高严重性问题 |
| MERGE_READY | 所有验证检查通过 |
有关详细的检查点处理,请参阅 references/checkpoint-handling.md。
每个工作流步骤都使用嵌入的命令指令:
| 命令 | 参考 | 目的 |
|---|---|---|
| sync | references/commands/sync.md | 现实同步 |
| groom | references/commands/groom.md | 任务细化 |
| next | references/commands/next.md | 任务选择 |
| implement | references/commands/implement.md | TDD 实施 |
| review-code | references/commands/review-code.md | 代码质量审查 |
| review-tests | references/commands/review-tests.md | 测试质量审查 |
| apply-recommendations | references/commands/apply-recommendations.md | 分类并应用修复 |
| merge-prep | references/commands/merge-prep.md | 合并准备 |
| merge-complete | references/commands/merge-complete.md | 合并和清理 |
| discovery | references/commands/discovery.md | 学习捕获 |
| retrospective | references/commands/retrospective.md | 事后分析 |
| maintenance | references/commands/maintenance.md | 上下文网络清理 |
场景: 一天开始,实施下一个可用任务
调用:
/agile-workflow --phase task-cycle
流程:
Agent: Detecting current state...
No worktree found, checking ready tasks...
Agent: Running sync --last 1d --dry-run
[Sync output: 0 tasks completed but undocumented]
Agent: Running next
Found: TASK-042 - Add user preferences endpoint
Priority: High | Size: Small | Branch: task/TASK-042-preferences
╔═══════════════════════════════════════════╗
║ CHECKPOINT: Task Selection ║
╠═══════════════════════════════════════════╣
║ Selected: TASK-042 ║
║ Proceed with implementation? ║
║ ║
║ [continue] [stop] [other task] ║
╚═══════════════════════════════════════════╝
User: continue
Agent: Creating worktree at .worktrees/TASK-042/
Running implement TASK-042
[Implementation proceeds with TDD...]
Tests: 12 passing
Coverage: 87%
Build: Success
╔═══════════════════════════════════════════╗
║ CHECKPOINT: Implementation Complete ║
╠═══════════════════════════════════════════╣
║ All tests passing, ready for review ║
║ Proceed to code review? ║
║ ║
║ [continue] [stop] ║
╚═══════════════════════════════════════════╝
[Flow continues through review, merge...]
每周安装数
116
仓库
GitHub 星标数
37
首次出现
Jan 20, 2026
安全审计
安装于
opencode95
gemini-cli93
codex91
cursor87
github-copilot83
claude-code83
A skill that guides agents through structured agile development workflows by intelligently invoking commands in sequence. Uses checkpoint-based flow control to auto-progress between steps while pausing at key decision points.
Note: This is a platform-agnostic, git-only workflow. For PR-based workflows with specific platforms, use:
gitea-workflow for Gitea repositoriesgithub-agile for GitHub repositoriesUse this skill when:
Do NOT use this skill when:
/status directly)/review-code directly)Before using this skill:
context-network/backlog/context-network/backlog/by-status/*.mdWORKFLOW TYPES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TASK CYCLE (Primary) DAILY SPRINT
────────────────────── ────────────────── ──────────────────
sync Morning: Start:
↓ sync --last 1d sync --all
next → [CHECKPOINT] status --brief groom --all
↓ groom --ready plan sprint-goals
implement status
↓ Evening:
[CHECKPOINT] checklist End:
↓ discovery sync --sprint
review-code sync --last 1d retrospective
review-tests audit --sprint
↓ maintenance --deep
[CHECKPOINT]
↓
apply-recommendations (if issues)
↓
merge-prep → [CHECKPOINT]
↓
merge-complete
↓
update-backlog & status
↓
END
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The skill determines current workflow state automatically. No manual tracking needed.
| Signal | How to Check | Indicates |
|---|---|---|
| Worktree exists | git worktree list | Task in progress |
| Task branch active | git branch --show-current matches task/* | Active implementation |
| Uncommitted changes | git status --porcelain | Active coding |
| Branch merged | git branch --merged main | Ready for cleanup |
STATE DETECTION LOGIC
─────────────────────────────────────────────────────────────
Check → State → Next Step
─────────────────────────────────────────────────────────────
No worktree, no in-progress → IDLE → sync, next
Worktree exists, uncommitted → IMPLEMENTING → continue implement
Worktree exists, all committed → READY_REVIEW → review-code
Reviews complete, ready to merge→ MERGE_READY → merge-prep
Branch merged, worktree exists → CLEANUP → merge-complete
─────────────────────────────────────────────────────────────
For detailed detection algorithms, see references/state-detection.md.
# Auto-detect state and continue from where you are
/agile-workflow
# Start specific workflow phase
/agile-workflow --phase task-cycle
/agile-workflow --phase daily-morning
/agile-workflow --phase daily-evening
/agile-workflow --phase sprint-start
/agile-workflow --phase sprint-end
# Resume work on specific task
/agile-workflow --task TASK-123
# Preview what would happen without executing
/agile-workflow --dry-run
The primary workflow for completing a single task from selection to merge.
Ensure context network matches actual project state.
Run: sync --last 1d --dry-run
Purpose: Detect drift between documented and actual state
Output: Sync report showing completions, partial work, divergences
Identify the next task to work on.
Run: next
Purpose: Find highest priority ready task
Output: Task ID, title, branch name suggestion
CHECKPOINT: TASK_SELECTED
Test-driven development in isolated worktree.
Run: implement [TASK-ID]
Purpose: Create worktree, write tests first, implement, verify
Output: Working implementation with passing tests
CHECKPOINT: IMPL_COMPLETE
Quality validation of implementation.
Run: review-code --uncommitted
Run: review-tests --uncommitted
Purpose: Identify quality issues, security concerns, test gaps
Output: Review reports with issues and recommendations
CHECKPOINT: REVIEWS_DONE
Address review findings intelligently.
Run: apply-recommendations [review-output]
Purpose: Apply quick fixes now, defer complex changes to tasks
Output: Applied fixes + created follow-up tasks
Validate and prepare for merge to main.
Run: merge-prep
Purpose: Validate implementation, run final checks, prepare for merge
Output: Ready to merge to main
CHECKPOINT: MERGE_READY
Merge to main and cleanup.
Run: merge-complete
Purpose: Merge to main, delete branch, remove worktree, update status
Output: Task marked complete, cleanup done
Persist progress to source-of-truth documentation.
Run: Part of merge-complete (Phase 6)
Purpose: Update epic file (task → complete), unblock dependents, update project status
Output: Backlog and project status reflect actual progress
Why this step matters: Without it, completed tasks remain marked "ready" in backlog files and project status stays stale. Internal tracking files are session-scoped; the backlog and status files are the persistent source of truth.
For detailed task-cycle instructions, see references/phases/task-cycle.md.
Quick sequences for start and end of workday.
Run sequence:
1. sync --last 1d --dry-run # What actually happened yesterday
2. status --brief --sprint # Current sprint health
3. groom --ready-only # What's ready to work on
Output: Clear picture of today's priorities
Run sequence:
1. checklist # Ensure nothing lost
2. discovery # Capture learnings
3. sync --last 1d # Update task statuses
Output: Knowledge preserved, state synchronized
For detailed daily instructions, see references/phases/daily.md.
Ceremonies for sprint boundaries.
Run sequence:
1. sync --all # Full reality alignment
2. groom --all # Comprehensive grooming
3. plan sprint-goals # Architecture and goals
4. status --detailed # Baseline metrics
Output: Sprint plan with groomed, ready backlog
Run sequence:
1. sync --sprint # Final sprint sync
2. retrospective # Capture learnings
3. audit --scope sprint # Quality review
4. status --metrics # Sprint metrics
5. maintenance --deep # Context network cleanup
Output: Sprint closed, learnings captured, ready for next
For detailed sprint instructions, see references/phases/sprint.md.
Checkpoints are pauses for human decision-making.
At each checkpoint:
| Response | Action |
|---|---|
| "continue" / "proceed" / "yes" | Move to next step |
| "stop" / "pause" | Save state, exit workflow |
| "back" | Re-run previous step |
| "skip" | Skip current step (use cautiously) |
| Custom input | May adjust next step parameters |
Some checkpoints can auto-continue when conditions are met:
| Checkpoint | Auto-Continue If |
|---|---|
| IMPL_COMPLETE | All tests pass, build succeeds |
| REVIEWS_DONE | No critical or high severity issues |
| MERGE_READY | All validation checks pass |
For detailed checkpoint handling, see references/checkpoint-handling.md.
Each workflow step uses embedded command instructions:
| Command | Reference | Purpose |
|---|---|---|
| sync | references/commands/sync.md | Reality synchronization |
| groom | references/commands/groom.md | Task refinement |
| next | references/commands/next.md | Task selection |
| implement | references/commands/implement.md | TDD implementation |
| review-code | references/commands/review-code.md | Code quality review |
| review-tests |
Scenario: Start of day, implement next available task
Invocation:
/agile-workflow --phase task-cycle
Flow:
Agent: Detecting current state...
No worktree found, checking ready tasks...
Agent: Running sync --last 1d --dry-run
[Sync output: 0 tasks completed but undocumented]
Agent: Running next
Found: TASK-042 - Add user preferences endpoint
Priority: High | Size: Small | Branch: task/TASK-042-preferences
╔═══════════════════════════════════════════╗
║ CHECKPOINT: Task Selection ║
╠═══════════════════════════════════════════╣
║ Selected: TASK-042 ║
║ Proceed with implementation? ║
║ ║
║ [continue] [stop] [other task] ║
╚═══════════════════════════════════════════╝
User: continue
Agent: Creating worktree at .worktrees/TASK-042/
Running implement TASK-042
[Implementation proceeds with TDD...]
Tests: 12 passing
Coverage: 87%
Build: Success
╔═══════════════════════════════════════════╗
║ CHECKPOINT: Implementation Complete ║
╠═══════════════════════════════════════════╣
║ All tests passing, ready for review ║
║ Proceed to code review? ║
║ ║
║ [continue] [stop] ║
╚═══════════════════════════════════════════╝
[Flow continues through review, merge...]
Weekly Installs
116
Repository
GitHub Stars
37
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode95
gemini-cli93
codex91
cursor87
github-copilot83
claude-code83
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
155,300 周安装
| references/commands/review-tests.md |
| Test quality review |
| apply-recommendations | references/commands/apply-recommendations.md | Triage and apply fixes |
| merge-prep | references/commands/merge-prep.md | Merge preparation |
| merge-complete | references/commands/merge-complete.md | Merge and cleanup |
| discovery | references/commands/discovery.md | Learning capture |
| retrospective | references/commands/retrospective.md | Post-work analysis |
| maintenance | references/commands/maintenance.md | Context network cleanup |