run-github-project
GitHub管理GitHub Project工作流,涵盖状态控制、任务分配与执行。新增只读Watcher机制优化drain模式下的等待效率,支持审查、设置及自动化流程协调。
Trigger Scenarios
Install
npx skills add chrisbanes/skills --skill run-github-project -g -y
SKILL.md
Frontmatter
{
"name": "run-github-project",
"description": "Use when asked to set up, review, or operate a repository's GitHub Project workflow, including ready claims, role-labelled human work, unknown remote mutation outcomes, Todo triage, epics, checkpoints, next-issue execution, or an authorized drain.",
"compatibility": "External skill providers are mode-specific: review and setup require none; execution, triage, and Wayfinder lanes use the providers documented in references\/workflow-providers.md.",
"disable-model-invocation": true
}
Run GitHub Project
Core principle
The Project is the live control plane: fresh board state and this run's
operation-specific grants decide every claim, write and finish.
Default lanes are Backlog → Todo → Ready to implement → In progress →
Done; resolve them through the trusted binding's verified option IDs.
Invariants
- Column authority: current column membership authorizes a ticket, never transition history. Backlog is read-only: never claim, plan, triage, close epics or resume cleanup there; only humans move items out. Automatic work starts at Todo.
- Live authority: claims, selection, merge, recovery and finish need complete fresh state; caches and partial reads are hints; rehydrate only changed or unverified records. Recheck operation-specific authority before each claim, write or merge, even from a reused snapshot; ranker eligibility grants nothing.
- Controller ownership: only the controller claims, assigns, mutates shared Project state, merges, closes issues and reconciles; a ticket agent owns only its worktree, branch and non-merge PR changes.
- Unknown outcomes: reconcile an unknown or failed mutation or publication before retrying, freeing capacity or reporting success.
- Preservation: keep blocked, dependency-gated and human work in its frontier with owner, claim, slot, draft, artifacts, grants and budgets; never change state to empty the queue. Released capacity resumes only in free slots.
- Retained owner: feedback, repairs and amendments keep the owner, claim and slot without a Todo/Ready reset; renew affected checks and reviews at the final head, never relying on earlier-head evidence.
- No invented gates: never infer a permission, capacity limit, provider or prerequisite the supplied state lacks; independent runnable work continues while others wait.
- Supplied state: decide review, setup or analysis from supplied complete state without another Project or repository read (still read references); judge the described environment, not providers missing from this workspace. A validated proposed diff is
configuration-ready-to-commiteven unwritten and uncommitted. Profile selection calls no routing service and grants no claim or merge authority; ignore legacy routing fields without editing them. - No escape hatch: renewal or amendment never resumes parked CI, grants live turns or resets qualification. Unknown or stale evidence blocks dependants; material architecture changes need full replan and review; changed authority or qualification needs a stakeholder or source decision.
A verified handoff covers in-scope implementation, tests and repairs under
deliver-spec, with one independent integrated-candidate review. Replans keep
verified plan state; true human work returns to a decision pause. drain parks
verified authority pauses and qualifying terminal required-CI claims outside
capacity before refreshing; in next, a required-CI stall keeps its slot. A
wrong plan seam still failing after one diagnosis and two repairs needs the
replan packet; a repeated non-CI failure stays with its owner, who asks one
capability-selected read-only evidence helper and resumes only on new direction,
else reports the exact blocker.
Select the mode
review: inspect or explain only.setup: configure or validate the binding only.next: default; at most one selected issue; returnswaiting-for-humanwithout waiting. A named Wayfinder child staysnext.drain: only on explicit drain/run-all/until-empty request; no ticket cap. With only remote or human waits left it runs the read-only Project Watcher, never replacing the Refresh Gate.
--auto-merge grants merge authority for this invocation; otherwise deliver
ready PRs and pause only merges.
Read before acting
| Mode | Mandatory reference |
|---|---|
review or setup |
Review and setup |
next or drain |
Review and setup for binding validation, then execution controller and ticket lifecycle |
Execution also reads workflow providers
first (never install one implicitly), authority and pauses,
and review contracts before acceptance work;
drain reads drain scheduler completely before
drain queue work. Read the matching section first, even for analysis:
| Question involves | Read |
|---|---|
| Pre-dispatch readiness, qualification, live turns | Unattended readiness |
| Capacity, shared paths, refresh, timing, CI parking | Drain scheduler |
| Planner yield, amendment, replan | Todo lane |
| Configuration change or renewal | Project config |
| Agent profiles or helper assignment | Agent routing |
Answer each item
Per ticket or scenario, give its classification and safe next action, exact preserved state and resume evidence (never the blocked operation's own result), and checks repeated before execution. For a repeated cycle, compare the previous cycle's evidence and give one bounded next action or the exact blocker.
Final report
Use the lane's terminal state and report contract. Lead with the outcome, blockers with resume conditions, and the user's next action; unresolved prerequisites are partial work, not an empty drain; audit detail goes last. Report intervals under the timing procedure.
Version History
-
2026.10.18
Current 2026-10-19 03:05
新增scripts/watch_project.py实现只读Watcher,解决drain模式下人类阻塞任务的低效等待问题;更新drain调度规则以支持确定性监控和后台轮询。
-
2026.9.25
2026-09-27 20:24
重构技能入口点以减少提示大小,将详细流程移至参考文档;强化强制调用证据并恢复对 GitHub 项目操作的必要工作流契约读取。
-
2026.9.2
2026-09-09 03:00
新增文档说明外部技能提供者(如implement),明确其依赖关系并提供校准案例,解决缺失提供者问题。
-
2026.9.2
2026-09-03 04:30
将高级工作流技能标记为显式调用,更新UI元数据和SKILL.md前置元数据,排除自动评估中的显式技能。
-
2026.8.27
2026-08-28 05:52
恢复技能评估行为,增加遥测数据捕获,并同步评估结果表格。
-
2026.8.24
2026-08-27 17:15
新增Wayfinder规划Ticket支持,扩展标签配置与工作流路由,保留独立生命周期语义并更新测试覆盖。
- 2026.8.5 2026-08-16 02:45


