跳转到内容

本地 Issue 跟踪器

这个仓库的 issue 和规格都以 Markdown 文件的形式存放在 .scratch/ 中。

  • 每个目录对应一个功能:.scratch/<feature-slug>/
  • 规格文件是 .scratch/<feature-slug>/spec.md
  • 每张实现 issue 对应 .scratch/<feature-slug>/issues/<NN>-<slug>.md 中的一个文件,编号从 01 开始。不要把多张 issue 合并到一个文件中
  • 分流状态记录在每个 issue 文件顶部附近的 Status: 行中(角色字符串见 triage-labels.md)
  • 评论和对话记录追加在文件底部的 ## Comments 标题下

skill 说“发布到 issue 跟踪器”时

Section titled “skill 说“发布到 issue 跟踪器”时”

在 .scratch/<feature-slug>/ 下创建新文件(如有需要,先创建目录)。

读取所引用路径中的文件。用户通常会直接提供路径或 issue 编号。

供 /wayfinder 使用。地图是一个文件,每张 ticket 对应一个子文件。

  • 地图:.scratch/<effort>/map.md(正文包含 Notes / Decisions-so-far / Fog)
  • 子 ticket:.scratch/<effort>/issues/NN-<slug>.md,编号从 01 开始,正文包含问题。Type: 行记录 ticket 类型(research/prototype/grilling/task);Status: 行记录 claimed/resolved
  • 阻塞关系:顶部附近的 Blocked by: NN, NN 行。只有它列出的每个文件都处于 resolved 状态时,这张 ticket 才解除阻塞
  • 前沿任务:扫描 .scratch/<effort>/issues/,找出开放、未阻塞且未认领的文件;优先处理编号最小的文件
  • 认领:将 Status: claimed 写入文件并保存,然后再开始工作
  • 解决:在 ## Answer 标题下追加答案,将 Status: 设为 resolved,然后将上下文指针(概要 + 链接)追加到 map.md 中的 Decisions-so-far
英文 issue-tracker-local.md
# Issue tracker: Local Markdown
Issues and specs for this repo live as markdown files in `.scratch/`.
## Conventions
- One feature per directory: `.scratch/<feature-slug>/`
- The spec is `.scratch/<feature-slug>/spec.md`
- Implementation issues are one file per ticket at `.scratch/<feature-slug>/issues/<NN>-<slug>.md`, numbered from `01`, never a single combined tickets file
- Triage state is recorded as a `Status:` line near the top of each issue file (see `triage-labels.md` for the role strings)
- Comments and conversation history append to the bottom of the file under a `## Comments` heading
## When a skill says "publish to the issue tracker"
Create a new file under `.scratch/<feature-slug>/` (creating the directory if needed).
## When a skill says "fetch the relevant ticket"
Read the file at the referenced path. The user will normally pass the path or the issue number directly.
## Wayfinding operations
Used by `/wayfinder`. The **map** is a file with one **child** file per ticket.
- **Map**: `.scratch/<effort>/map.md` (the Notes / Decisions-so-far / Fog body).
- **Child ticket**: `.scratch/<effort>/issues/NN-<slug>.md`, numbered from `01`, with the question in the body. A `Type:` line records the ticket type (`research`/`prototype`/`grilling`/`task`); a `Status:` line records `claimed`/`resolved`.
- **Blocking**: a `Blocked by: NN, NN` line near the top. A ticket is unblocked when every file it lists is `resolved`.
- **Frontier**: scan `.scratch/<effort>/issues/` for files that are open, unblocked, and unclaimed; first by number wins.
- **Claim**: set `Status: claimed` and save before any work.
- **Resolve**: append the answer under an `## Answer` heading, set `Status: resolved`, then append a context pointer (gist + link) to the map's Decisions-so-far in `map.md`.

非官方学习站,与 Matt Pocock 和 AI Hero 没有隶属关系。本站不提供可安装的中文技能包。

技能原文采用 MIT 许可。Copyright (c) 2026 Matt Pocock

鲁ICP备2025189036号