AGENT SKILL

计划转 Issue 任务拆分

to-issues

使用“曳光弹”式垂直切片方法,将计划、规格说明或 PRD 拆解为可在项目 Issue 跟踪器中独立认领的 issue。

License 许可
Apache-2.0
最近更新
2026-09-02
Stars
★ 1
Forks
0

01 前言 Front Matter

name
to-issues
description
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

To Issues

Break a plan into independently-grabbable issues using vertical slices (tracer bullets).

The issue tracker and triage label vocabulary should have been provided to you — run /setup-matt-pocock-skills if not.

Process

1. Gather context

Work from whatever is already in the conversation context. If the user passes an issue reference (issue number, URL, or path) as an argument, fetch it from the issue tracker and read its full body and comments.

2. Explore the codebase (optional)

If you have not already explored the codebase, do so to understand the current state of the code. Issue titles and descriptions should use the project's domain glossary vocabulary, and respect ADRs in the area you're touching.

Look for opportunities to prefactor the code to make the implementation easier. "Make the change easy, then make the easy change."

3. Draft vertical slices

Break the plan into tracer bullet issues. Each issue is a thin vertical slice that cuts through ALL integration layers end-to-end, NOT a horizontal slice of one layer.

<vertical-slice-rules>

  • Each slice delivers a narrow but COMPLETE path through every layer (schema, API, UI, tests)
  • A completed slice is demoable or verifiable on its own
  • Any prefactoring should be done first

</vertical-slice-rules>

4. Quiz the user

Present the proposed breakdown as a numbered list. For each slice, show:

  • Title: short descriptive name
  • Blocked by: which other slices (if any) must complete first
  • User stories covered: which user stories this addresses (if the source material has them)

Ask the user:

  • Does the granularity feel right? (too coarse / too fine)
  • Are the dependency relationships correct?
  • Should any slices be merged or split further?

Iterate until the user approves the breakdown.

5. Publish the issues to the issue tracker

For each approved slice, publish a new issue to the issue tracker. Use the issue body template below. These issues are considered ready for AFK agents, so publish them with the correct triage label unless instructed otherwise.

Publish issues in dependency order (blockers first) so you can reference real issue identifiers in the "Blocked by" field.

<issue-template>

Parent

A reference to the parent issue on the issue tracker (if the source was an existing issue, otherwise omit this section).

What to build

A concise description of this vertical slice. Describe the end-to-end behavior, not layer-by-layer implementation.

Avoid specific file paths or code snippets — they go stale fast. Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it here and note briefly that it came from a prototype. Trim to the decision-rich parts — not a working demo, just the important bits.

Acceptance criteria

  • [ ] Criterion 1
  • [ ] Criterion 2
  • [ ] Criterion 3

Blocked by

  • A reference to the blocking ticket (if any)

Or "None - can start immediately" if no blockers.

</issue-template>

Do NOT close or modify any parent issue.

04 同仓库更多 Skills

google
google/tf-remote-vars

极简编码方案

ponytail

强制采用最懒但实际可行、最简单、最短、最精简的解决方案。化身一位见多识广的高级开发者:质疑任务本身是否有存在的必要(YAGNI),在编写自定义代码之前先用标准库,在引入依赖之前先用原生平台能力,一行胜过五十行。支持强度级别:lite、full(默认)、ultra。适用于任何编码任务:编写、添加、重构、修复、审查或设计代码,以及选择库或依赖。当用户说「ponytail」「be lazy」「lazy mode」「simplest solution」「minimal solution」「yagni」「do less」或「shortest path」,或抱怨过度工程、臃肿、样板代码或不必要的依赖时也使用。不用于非编码请求(常识、散文、翻译、摘要、食谱)。

软件开发工程师代码实现
★ 1
google
google/tf-remote-vars

代码过度工程审查

ponytail-review

专注于过度工程化的代码审查。找出应当删除的内容:重复造标准库轮子、不必要的依赖、投机性的抽象、僵死的灵活性。每条发现一行:位置、要删什么、用什么替代。当用户说「review for over-engineering」「what can we delete」「is this over-engineered」「simplify review」或调用 /ponytail-review 时使用。与侧重正确性的代码审查互补,本技能只搜寻复杂性。

软件开发工程师设计评审与架构优化
★ 1
google
google/tf-remote-vars

ponytail 命令速查

ponytail-help

面向所有 ponytail 模式、技能和命令的快速参考卡。一次性展示,不是持久模式。触发词:/ponytail-help、“ponytail help”“有哪些 ponytail 命令”“如何使用 ponytail”。

软件开发工程师开发环境与工具链管理
★ 1
google
google/tf-remote-vars

代码优化成效看板

ponytail-gain

以精简的记分板展示 ponytail 的可量化成效:基于基准测试中位数,代码更少、成本更低、速度更快。一次性展示,不是持久模式,也不是针对单个仓库的数值。触发词:/ponytail-gain、“ponytail gain”“ponytail 节省了多少”“展示 ponytail 成效”“ponytail 记分板”。

软件开发工程师设计评审与架构优化
★ 1
google
google/tf-remote-vars

技术债务台账整理

ponytail-debt

将代码库中的每个 `ponytail:` 注释汇总到一份债务台账中,使 ponytail 有意留下的捷径和延后事项得到跟踪,而不是烂尾成“以后再说就等于永远不做”。当用户说“ponytail 债务”“/ponytail-debt”“ponytail 推迟了什么”“列出这些捷径”“ponytail 台账”或“我们标记了哪些以后要做的事”时使用。一次性报告,不做任何更改。

软件开发工程师设计评审与架构优化
★ 1
google
google/tf-remote-vars

代码库过度工程审计

ponytail-audit

对整个代码仓库进行过度工程审计。类似 ponytail-review,但扫描的是整个代码库而非代码差异:给出一份按优先级排序的清单,列出可删除、简化或替换为标准库/原生等效实现的内容。当用户说“审计这个代码库”“检查过度工程”“这个仓库里能删掉什么”“找出冗余”“ponytail-audit”或“/ponytail-audit”时使用。一次性报告,不会应用任何修复。

软件开发工程师设计评审与架构优化
★ 1