一键导入
work-on
End-to-end workflow for shipping a GitHub issue. Assesses complexity, builds a tailored workflow, and orchestrates skills from research through PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-to-end workflow for shipping a GitHub issue. Assesses complexity, builds a tailored workflow, and orchestrates skills from research through PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use this skill when managing packages, external dependencies, binaries, or CLI tools in a chezmoi dotfiles repository. Handles adding/updating/removing packages in .chezmoidata/packages.yaml, creating .chezmoiexternals/ organized files, pinning versions with Renovate automation, and selecting the correct package ecosystem (Homebrew, mise, Python, Docker, chezmoi externals).
Write, debug, and optimize custom GLSL shaders for the Ghostty terminal. Covers Ghostty's Shadertoy-compatible GLSL ES 3.0 dialect, its terminal-specific uniforms (cursor position and color, focus state, event timestamps), the unsupported Shadertoy uniforms, focus-gated performance patterns, and adapting shaders from shadertoy.com. Use when creating or editing a .glsl file for Ghostty, diagnosing a shader that renders black or fails to compile, or setting custom-shader config.
Reference for deeper Jujutsu (jj) topics beyond the everyday describe/advance workflow. Load when working with conflicts, the operation log, bookmarks, revsets, fork/PR workflows, colocated Git repos, multi-remote setups, divergent changes, or jj config. Also the place to look up fileset glob syntax, non-interactive `jj split`, and bookmark advancement.
Start work on a new issue or feature by creating a jj change on the up-to-date default branch with an optional named bookmark.
Describe and finalize work with jj-vcs — drafting a description for the current change, splitting mixed work into focused commits, and advancing to a clean working copy. Use when asked to commit, when finishing a unit of work, or when starting new work on top of undescribed changes.
Build comprehensive understanding of a problem by gathering context from GitHub issues, codebase exploration, git history, and linked references. Use when starting work on an issue or investigating a problem.
基于 SOC 职业分类
| name | work-on |
| description | End-to-end workflow for shipping a GitHub issue. Assesses complexity, builds a tailored workflow, and orchestrates skills from research through PR. |
Orchestrate the full lifecycle of a GitHub issue — from understanding through PR — by composing skills, agents, and tasks into a tailored workflow based on issue complexity.
$ARGUMENTS
Current branch: !`git branch --show-current 2>/dev/null`
Dirty worktree: !`git status --porcelain 2>/dev/null | head -5`
/commit for each logical change, rather than batching everything
into one commit at the end.Fetch the issue:
gh issue view [id or url] --json number,title,body,labels,comments,assignees,milestone
Read the TIERS.md decision matrix. Assess the issue's complexity tier based on signals: labels, body content, comment count, linked issues, design decisions.
Tiers: Quick fix · Small · Medium · Large · Epic
Based on the assessed tier and available skills, propose a workflow to the user. Use only skills that appear in the pre-computed context. When a skill isn't available, either skip the step or do the equivalent work inline.
Each tier below shows the skill sequence. When proposing the workflow, use exact skill names with arguments — these become the task subjects in Step 2.
1. /checkout <branch-name>
2. Edit the file(s) directly
3. /commit
4. /pr
1. /checkout <branch-name>
2. /gather-context <issue-ref> (light scope)
3. Edit file(s) per findings
4. /commit
5. /pr
1. /checkout <branch-name>
2. /gather-context <issue-ref> (full scope)
3. /think — <key decisions from context>
4. /plan — <context summary>
5. /review-plan
6. /share-plan <issue-ref>
7. Implement per plan (one task per distinct change)
8. /simplify
9. /commit
10. /pr
1-6. Same as Medium
7. TeamCreate for parallel execution
8. Multiple /commit cycles as workstreams complete
9. /simplify
10. /pr
11. /reflect
1. /gather-context <issue-ref> (full scope)
2. /think — epic decomposition strategy
3. Decompose into sub-units (see EPIC-WORKFLOW.md)
4. For each sub-unit: run appropriate tier workflow
5. Coordinate across units (rebase, verify assumptions)
6. /reflect
Present the proposed workflow with:
Then proceed immediately to building the task list — do not wait for user confirmation.
Create tasks via TaskCreate with dependencies.
Name each task by the exact skill or command it invokes, arguments included. That turns the task list into a runbook someone can read and execute.
/checkout feat/123-add-dark-mode)theme.ts"). Never use catch-all subjects like "Implement the feature" or "Make the changes."Each task should include:
addBlockedBy for tasks that must complete firstExample for a Medium tier:
Task 1: /checkout feat/123-add-dark-mode
Task 2: /gather-context #123 (blockedBy: [1])
Task 3: /think — key decisions from gather-context (blockedBy: [2])
Task 4: /plan — implement dark mode (blockedBy: [3])
Task 5: /review-plan (blockedBy: [4])
Task 6: /share-plan #123 (blockedBy: [5])
Task 7: Add dark-mode toggle to theme.ts (blockedBy: [6])
Task 8: Update CSS variables in globals.css (blockedBy: [6])
Task 9: /simplify (blockedBy: [7, 8])
Task 10: /commit (blockedBy: [9])
Task 11: /pr (blockedBy: [10])
Preserve the task list across skill invocations. Sub-skills (e.g., /gather-context, /plan) may create their own tasks — that is fine. But they must never delete or overwrite the /work-on tasks created in Step 2. After each skill invocation, call TaskList and verify the workflow tasks still exist. If any were removed, re-create them with the same subjects and dependencies.
(You, the /work-on orchestrator, may still update, add, or delete tasks as part of Step 4 adaptation — the rule above applies only to sub-skill side effects.)
Work through the task list in order. For each task:
in_progress via TaskUpdatecompletedTaskList for newly unblocked tasksAutonomy boundary:
| Phase | Mode | Behavior |
|---|---|---|
Research (/checkout, /gather-context) | Semi-autonomous | Agent works, surfaces findings to user |
Discussion (/think) | Interactive | Agent and user converge on approach together. Pass specific framing via args: the key decisions, tradeoffs, and open questions from /gather-context. |
Planning (/plan, /review-plan) | Semi-autonomous | Agent drafts, user approves via ExitPlanMode |
| Execution | Autonomous | Agent implements, commits incrementally |
Review (/simplify, /pr) | Autonomous | Agent reviews and opens PR |
Retrospective (/reflect) | Interactive | Agent and user reflect on what worked |
Escape hatch: If the agent encounters a blocking issue it can't resolve during autonomous phases (unexpected test failures, missing dependencies, ambiguous requirements), it should flag the user and wait for guidance rather than guessing.
Plans don't survive contact with reality. During execution:
TaskUpdate/think and /plan steps if neededThe task list is a living document, not a contract.
After the PR is open:
/reflect is available and the tier is Large or Epic, invoke it