issue-progress-tracking
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIssue Progress Tracking
Issue进度跟踪
Ceremony guide for tracking GitHub issue progress via CLI. Ensures issues stay updated as work progresses from start to PR.
gh通过 CLI跟踪GitHub Issue进度的操作规范指南。确保在工作从启动到创建PR的整个过程中,Issue状态保持更新。
ghQuick Start
快速开始
bash
/ork:issue-progress-tracking 123bash
/ork:issue-progress-tracking 123Phase 1: Start Work
阶段1:开始工作
Label the issue and create a feature branch:
bash
undefined为Issue添加标签并创建功能分支:
bash
undefinedMove issue to in-progress
将Issue标记为进行中
gh issue edit $ARGUMENTS --add-label "status:in-progress" --remove-label "status:todo"
gh issue comment $ARGUMENTS --body "Starting work on this issue."
gh issue edit $ARGUMENTS --add-label "status:in-progress" --remove-label "status:todo"
gh issue comment $ARGUMENTS --body "开始处理此Issue。"
Create feature branch
创建功能分支
git checkout -b issue/$ARGUMENTS-brief-description
**Rules:**
- Always branch from the default branch (main/dev)
- Branch name format: `issue/<number>-<brief-description>`
- Never work directly on main/dev
---git checkout -b issue/$ARGUMENTS-brief-description
**规则:**
- 始终从默认分支(main/dev)创建分支
- 分支命名格式:`issue/<编号>-<简短描述>`
- 切勿直接在main/dev分支上工作
---Phase 2: During Work — Small Commits
阶段2:开发过程——小提交
Commit after each logical step, not at the end. Every commit references the issue:
bash
undefined完成每个逻辑步骤后即提交,而非等到最后。每次提交都需关联Issue:
bash
undefinedEach commit references the issue number
每次提交都引用Issue编号
git commit -m "feat(#$ARGUMENTS): add user model
Co-Authored-By: Claude noreply@anthropic.com"
**Rules:**
- One logical change per commit (atomic)
- Reference issue in every commit: `type(#N): description`
- Commit early and often — don't accumulate a massive diff
---git commit -m "feat(#$ARGUMENTS): add user model
Co-Authored-By: Claude noreply@anthropic.com"
**规则:**
- 每次提交对应一个逻辑变更(原子提交)
- 所有提交都需引用Issue:`类型(#编号): 描述`
- 尽早提交、经常提交——不要积累大量差异
---Phase 3: Report Progress (Long Implementations)
阶段3:汇报进度(长期开发任务)
For multi-step work, post progress updates:
bash
gh issue comment $ARGUMENTS --body "Progress update:
- Completed: database schema, API endpoints
- In progress: frontend components
- Remaining: tests, documentation"When to post updates:
- After completing a major milestone
- When blocked or changing approach
- Before stepping away from a long task
对于多步骤的工作,发布进度更新:
bash
gh issue comment $ARGUMENTS --body "进度更新:
- 已完成:数据库 schema、API 端点
- 进行中:前端组件
- 待完成:测试、文档"何时发布更新:
- 完成重要里程碑后
- 遇到阻塞或变更方案时
- 离开长期任务前
Phase 4: Complete Work
阶段4:完成工作
Create the PR and update labels:
bash
undefined创建PR并更新标签:
bash
undefinedCreate PR that closes the issue
创建可关闭Issue的PR
gh pr create
--title "feat(#$ARGUMENTS): brief description"
--body "Closes #$ARGUMENTS
--title "feat(#$ARGUMENTS): brief description"
--body "Closes #$ARGUMENTS
gh pr create
--title "feat(#$ARGUMENTS): brief description"
--body "Closes #$ARGUMENTS
--title "feat(#$ARGUMENTS): brief description"
--body "Closes #$ARGUMENTS
Changes
变更内容
- Change 1
- Change 2
- 变更1
- 变更2
Test Plan
测试计划
- Unit tests pass
- Manual verification"
- 单元测试通过
- 手动验证"
Update issue status
更新Issue状态
gh issue edit $ARGUMENTS --add-label "status:in-review" --remove-label "status:in-progress"
---gh issue edit $ARGUMENTS --add-label "status:in-review" --remove-label "status:in-progress"
---Rules Quick Reference
规则速查
| Rule | Impact | What It Covers |
|---|---|---|
| Start Work Ceremony | HIGH | Branch creation, label updates, initial comment |
| Small Commits | HIGH | Atomic commits referencing issues |
Total: 2 rules across 2 categories
| 规则 | 影响程度 | 涵盖内容 |
|---|---|---|
| 开始工作规范 | 高 | 分支创建、标签更新、初始评论 |
| 小提交规则 | 高 | 关联Issue的原子提交 |
总计:2类共2条规则
Key Decisions
关键决策
| Decision | Choice | Rationale |
|---|---|---|
| Label prefix | | Consistent with GitHub conventions |
| Branch format | | Links branch to issue automatically |
| Commit reference | | Conventional commits + issue linking |
| Progress comments | Manual | Keeps humans in the loop |
| 决策 | 选择 | 理由 |
|---|---|---|
| 标签前缀 | | 与GitHub惯例保持一致 |
| 分支格式 | | 自动将分支与Issue关联 |
| 提交引用格式 | | 约定式提交 + Issue关联 |
| 进度评论 | 手动 | 保持人工参与沟通 |
Common Mistakes
常见错误
- Starting work without labeling — team loses visibility into who is working on what
- Giant commits at the end — makes review harder and history useless for bisect
- Forgetting to link PR to issue — issue stays open after merge
- Not updating labels on PR creation — issue shows "in-progress" during review
- Closing issues manually with — issues are closed ONLY by merging a PR with
gh issue closein the body. During work, comment progress withCloses #N; never close directly.gh issue comment
- 开始工作却未添加标签——团队无法了解谁在处理什么任务
- 最后才提交大量变更——使代码评审更困难,且提交历史对二分查找无用
- 忘记将PR与Issue关联——合并后Issue仍保持打开状态
- 创建PR时未更新标签——Issue在评审期间仍显示“进行中”
- 使用手动关闭Issue——仅当PR正文中包含
gh issue close并合并后,才可关闭Issue。开发过程中,使用Closes #N提交进度评论;切勿直接关闭Issue。gh issue comment
Related Skills
相关技能
- — Commit with conventional format
ork:commit - — Full issue resolution workflow
ork:fix-issue - — Feature implementation with parallel agents
ork:implement - — Create pull requests
ork:create-pr
- —— 约定式提交
ork:commit - —— 完整的Issue解决流程
ork:fix-issue - —— 多Agent并行实现功能
ork:implement - —— 创建拉取请求
ork:create-pr