一键导入
completing-work
Use when finishing the structured development workflow after verifying work - cleans up plan files, reflects on learnings, and presents PR options
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when finishing the structured development workflow after verifying work - cleans up plan files, reflects on learnings, and presents PR options
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating a Jira ticket to plan upcoming work. Guides ticket drafting with clear structure, self-contained context, and testable acceptance criteria, then creates the ticket via the available Jira/Atlassian broker tool.
Use when reviewing a pull request, branch, commit range, working tree diff, plan, document, or other coherent unit of work across correctness, security, codebase alignment, code quality, test quality, performance, and simplicity.
Use when the user asks to create or polish a standalone HTML artifact such as an HTML report, interactive explainer, visual plan, dashboard, slide deck, diagram, prototype, or throwaway HTML tool.
Use when debugging bugs, failures, exceptions, flaky behavior, regressions, or performance problems where the cause is not already proven.
Use when the user asks to build web components, pages, or applications that need distinctive, production-grade frontend interfaces with high design quality
Reference skill for browser automation: web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
| name | completing-work |
| description | Use when finishing the structured development workflow after verifying work - cleans up plan files, reflects on learnings, and presents PR options |
Guide completion of development work by presenting clear options and handling chosen workflow.
Core principle: Clean up plan files → Reflect on learnings → Present options → Execute choice.
Announce at start: "I'm using the completing-work skill to complete this work."
If a plan file path is known from conversation context (e.g. .plans/2026-02-20-cco-attach.md):
.md extension to get the stem (e.g. 2026-02-20-cco-attach)git rm the plan file: .plans/<stem>.mdgit rm the design file if it exists: .designs/<stem>.mdchore: remove completed plan filesIf no plan file is found in context or .plans/ doesn't exist: Skip silently.
If you have project-specific learnings from this session, present them for user approval.
What to look for:
What makes a good reflection:
What to exclude:
If you have learnings to propose:
Use AskUserQuestion with multiSelect: true:
AskUserQuestion(
questions: [{
question: "Which learnings should be preserved in CLAUDE.md?",
header: "Reflections",
multiSelect: true,
options: [
{
label: "<short label>",
description: "<learning> → <target section in CLAUDE.md>"
},
// ... more options
]
}]
)
Example:
options: [
{ label: "Build prereq", description: "Run `npm run build` before tests → ## Development" },
{ label: "API naming", description: "Query params use snake_case → new ## API Conventions" }
]
After user selects:
docs(CLAUDE.md): <summarize selected learnings>If no learnings to propose: Skip silently, continue to Step 2.
Before presenting options, check if a PR already exists for this branch:
Use mcp__mcp-broker__github_list_pull_requests to find an open PR for the current branch, requesting at least url, title, and number.
If a PR exists, use AskUserQuestion to present exactly 2 options:
AskUserQuestion(
questions: [{
question: "Implementation complete. PR #<number> exists for this branch. What would you like to do?",
header: "Complete",
multiSelect: false,
options: [
{ label: "Push and update PR", description: "Push branch and update PR title and description" },
{ label: "Keep branch as-is", description: "I'll handle it later" }
]
}]
)
If no PR exists, use AskUserQuestion to present exactly 2 options:
AskUserQuestion(
questions: [{
question: "Implementation complete. What would you like to do?",
header: "Complete",
multiSelect: false,
options: [
{ label: "Push and create PR", description: "Push branch and create draft pull request" },
{ label: "Keep branch as-is", description: "I'll handle it later" }
]
}]
)
Use MCP broker tools:
mcp__mcp-broker__git_push to push <feature-branch> to the remote and set upstream when needed.mcp__mcp-broker__github_create_pull_request to create a draft PR.Use MCP broker tools:
mcp__mcp-broker__git_push to push the current branch.mcp__mcp-broker__github_update_pull_request to update the PR title and description based on all commits relative to the base branch.The updated PR title and description are regenerated from scratch based on all commits on the branch relative to the base branch. Follow the PR description template from the project or global CLAUDE.md.
Report: "Keeping branch ."
Open-ended questions
Noisy reflections
Never:
Always: