To Tickets

把一个 MMF 的 Spec 切成 MR 分支内可并发开发的 ticket:合同票先冻结 Interface,行为票按 T/R 唯一归属切分,脚本核对覆盖与依赖图后经用户裁决发布;也用于审查现有拆票。用于用户显式调用 /to-tickets 或 $to-tickets。

107 stars 21 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Dimon94/skills --skill to-tickets
Manual install
git clone --depth 1 https://github.com/Dimon94/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/to-tickets ~/.claude/skills/to-tickets

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# To Tickets

输入是一个 MMF 的 Spec(`to-spec` 产物)。输出是一组 ticket:合起来恰好实现 Spec,能按波次并发开发,每张大小相近。ticket 是 MMF 的 MR 分支内的工作边界;整个 MMF 做完一次审查、一次合入、一次上线。

**例外模式**:用户看过本 MMF 的票数与拆分信号合计后,确认它切不开、又要逐票合入时,完整读取 [例外模式](references/release-per-ticket.md),它在本文件之上叠加增补。

## 词汇

- **合同票**:第 1 波唯一的票。落地 Spec Interface 代码里的签名、共享写入目标的全部变体(枚举、注册表、路由表、配置键、迁移序号)、返回“未实现”的桩和验收夹具;不实现任何 T。它让后续行为票对着冻结的签名并发开发,而不是排队改同一个文件。
- **行为票**:负责一组 T/R,交付一个可检查结果「谁 · 从哪个入口 · 做什么 · 看到什么」。
- **结构票**:只改结构、行为不变,服务紧随其后的行为票。**spike**:产出答案而非生产代码。
- **Owns / Respects**:Spec 每条 T 和 R 恰好由一张票 `Owns`;票只需遵守、不负责实现的 R 写 `Respects`,不算覆盖。R 的 owner 是实现它机制的那张票(对照 Spec 中 Module 的 `Owns:` 行)。
- **波次 / 关键路径**:依赖图的层与最长链。同一波可以并发;关键路径决定 MMF 最短交付时间。

## 切分

先判输入。输入切成两半、每半都能单独上线且单独有人用,它不止一个 MMF:停下,以 `NEXT: to-epic <理由>` 交回调用方(独立调用时请用户运行 `/to-epic`),列出 MMF 候选。只切出一张票也走完全部步骤,切片表只有一行。

1. **读 Spec。** 参数是 Issue 时读全文与评论。列出全部 T、R、User Story 编号,每个 Module 的 `Owns:`,以及 Interface 代码。按目标项目词汇读相关代码,找到每个 Interface 与共享写入目标的真实坐标。完成条件:每个编号、Module、Interface 都有坐标或标 Unknown。
2. **切合同票。** 把本 MMF 新建或改动的 Interface 签名、共享写入目标的全部变体、桩与验收夹具放进合同票。验收是:编译通过、桩可调用、夹具能跑且对未实现的行为报红。Spec 没有新建或改动 Interface、也没有共享写入目标时,不设合同票。Interface 形状或技术可行性答不上来时,先切 spike。完成条件:后续每张行为票要用的 Interface 与共享目标都在合同票里,或写明它为什么不进合同票。
Read the full skill on GitHub

Details

Skill name
to-tickets
Repository
Dimon94/skills
Path
skills/to-tickets/SKILL.md
Repo updated
18 November 2026

FAQ

What does the To Tickets skill do?

把一个 MMF 的 Spec 切成 MR 分支内可并发开发的 ticket:合同票先冻结 Interface,行为票按 T/R 唯一归属切分,脚本核对覆盖与依赖图后经用户裁决发布;也用于审查现有拆票。用于用户显式调用 /to-tickets 或 $to-tickets。

How do I install the To Tickets skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dimon94/skills --skill to-tickets. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is To Tickets popular?

It lives in Dimon94/skills, which has 107 GitHub stars and 21 forks.

Related skills

Maintain Verification Skill

107

Dimon94/skills

Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature, at most one PR of proven corrections. Use for /maintain-verification-skill or "audit the verify skill".

Git & Code ReviewIn 2 lists21

Create Verification Skill

107

Dimon94/skills

Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, "make a control skill for this repo", or when a project has no scripted way to prove UI/CLI/service behavior.

Software DevelopmentIn 2 lists21

How

107

Dimon94/skills

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

Software DevelopmentIn 2 lists21

Short Drama Script

44

chengbenchao/short-drama-script

将小说/故事/IP 改编为标准格式的横屏/竖屏短剧剧本。 产出包含:故事梗概、人物小传、分集大纲表格、逐集正文(标准场景头格式)、卡点标注。 当用户需要:写短剧剧本、改编剧本、小说转剧本、标准剧本格式、分集大纲、人物小传、 卡点设计、编剧公式时使用此 skill。支持横屏和竖屏短剧。

Other

Ticket Sizing

107

Dimon94/skills

逐票 token 拆分信号与拆票粒度:拆分 implementation tickets、审查现有拆票粒度或估算逐票 token 时使用。

Other21

Ielts Diagnosis

63

liqianiiii/Awesome-ielts-claude-skills

雅思数据驱动诊断 v3.0。读取所有历史数据,生成诊断报告 + 个性化备考计划。 触发方式:/ielts-diagnosis、「诊断」「备考计划」「我现在的水平」「给我制定计划」

Other

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.