一键导入
implement-ticket
Implement one or more tk tickets. Use when the user says "implement ticket X", "work on ticket", "do ticket
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement one or more tk tickets. Use when the user says "implement ticket X", "work on ticket", "do ticket
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Turns a rough idea into a structured implementation plan with tk epics and tickets. Asks clarifying questions, produces a phased plan with parallelism reasoning, then creates properly-parented and properly-ordered tk epics and task tickets.
Quick code review using an adversarial sub-agent. Surfaces Critical and High issues first. Creates tk tickets for Critical/High/Medium findings if tk is available.
Scaffold a new Python project with uv, ruff, pytest, and GitHub Actions CI. Use when the user says "set up a new Python project", "scaffold a project", "create a new Python app", or similar.
Perform a comprehensive code review using multiple specialized sub-agents in parallel. Covers logical correctness, performance, readability, and security. Creates tk tickets if tk is available, otherwise writes a report to .code-review/final-report.md.
Migrate this project's issue tracking from beads (bd) to tickets (tk).
Set up Railway CLI rules for this project by creating a symlink into .claude/rules/.
| name | implement-ticket |
| description | Implement one or more tk tickets. Use when the user says "implement ticket X", "work on ticket", "do ticket |
| argument-hint | [id ...] [-- extra instructions] |
Parse $ARGUMENTS:
---- is extra instructions that inform the design phase/implement-ticket 42 — single ticket/implement-ticket 42 43 — process both, sequentially/implement-ticket 42 -- focus on error handling, skip migration — ticket with constraintsIf ticket IDs were provided: run tk show-multi <ids> to load full context.
If any loaded ticket has type == "epic":
tk query '.parent == "<epic-id>"' to find its child ticketsclosed or in-progress)If no IDs provided:
tk ready to get unblocked workRead the selected ticket(s) and parent epic (if set). Make a judgment call:
Straightforward — typo, config change, single clear action with no design ambiguity:
Complex — new feature, tricky bug, or non-obvious design decisions:
Before writing any plan:
This phase ends when design intent is unambiguous.
Present a full implementation plan:
Wait for explicit user approval before writing any code.
Run tk start <id> to claim the ticket, then implement according to the approved plan.
Before committing, use the Skill tool to invoke the review skill. Read its output and triage findings:
tk add-note <id> "..." — record design decisions made in Phase 3, approaches
considered, any gotchas encountered, and any review ticket IDs created in Phase 7tk close <id>git status and confirm it's cleanIf multiple ticket IDs were provided, process them one at a time in the order given. Complete all phases for each ticket before starting the next.