Glean 拾遗
Daily /2026-07-10 / v1.1: /wayfinder, /to-spec, /to-tickets, grilling improvements, and much more

v1.1: /wayfinder, /to-spec, /to-tickets, grilling improvements, and much more

Source www.aihero.dev Glean’d 2026-07-10 06:00 Read 12 min
AI summary

This article covers the v1.1 release of the skills repository, a toolset for AI agents. Key changes: /to-prd renamed to /to-spec to unify the term 'spec'; /to-plan and /to-issues merged into /to-tickets with blocking edges for both local files and real trackers. Grilling skills now prevent multiple simultaneous questions, add a confirmation gate, and avoid self-grilling. A new /wayfinder skill decomposes large tasks into GitHub issues with dependency graphs, accompanied by /research and /prototype skills. Code review skill integrates Fowler's ten code smells (e.g., mysterious name, duplicated code) with just 10 lines of guidance. TDD skill becomes reference-only, moving refactoring to code review. The recommended workflow: Grilling → Spec → Tickets → Implement → Code Review. Suitable for engineers building with AI agents.

Original · 12 min
www.aihero.dev ↗
§ 1

After an extended development period, version 1.1 of the skills repo is finally ready to merge. This release contains an astonishing amount of changes, including an entirely new approach to grilling, a bunch of updates to existing skills, and a rename of two main flow skills.

Rather than try to summarize everything here, we're just going to dive into the changes.

经过漫长的开发周期,技能仓库的 1.1 版本终于可以合并了。这次发布包含大量改动,包括全新的 grilling 方法、对现有技能的许多更新,以及两个主要流程技能的重命名。

这里不再试图总结全部内容,而是直接深入讲解这些改动。

§ 2

Since this release includes skill renames and merges, you'll need to update your installation. The skills installer won't pick these up automatically.

Run this command to grab all the new skills:

npx skills add mattpocock/skills

This gives you the freedom to pick and choose which skills you want. Once done, go through your skills folder and make sure no old skills are lingering.

The new public documentation pages are at:

docs/engineering/to-spec.md

docs/engineering/to-tickets.md

由于本次发布包含技能重命名和合并,你需要更新安装。技能安装器不会自动获取这些改动。

运行以下命令获取所有新技能:

npx skills add mattpocock/skills

这让你可以自由选择想要的技能。完成后,检查你的技能文件夹,确保没有残留旧技能。

新的公开文档页面位于:

docs/engineering/to-spec.md

docs/engineering/to-tickets.md

§ 3

The two changes that are probably going to be most annoying—but for very good reasons—are skill renames. These have been bothering me for a long time because the naming didn't accurately reflect what we were actually building.

From /to-prd to /to-spec

The /to-prd skill has been renamed to /to-spec. The key insight here is that what we were creating wasn't actually a PRD (Product Requirements Document). A PRD describes things about the actual product itself, whereas we were allowing non-product stuff to leak in. What we were really building was a specification—a much broader term that can be technical, non-technical, or a blend of both.

"Spec" is now the single through-line term across the entire skills suite. You may still know this document as a PRD, but "spec" is the unified language we're using going forward.

最可能让人恼火的两个改动——但理由充分——是技能重命名。这些命名长期以来一直困扰着我,因为它们没有准确反映我们实际构建的内容。

从 /to-prd 到 /to-spec

/to-prd 技能已重命名为 /to-spec。关键洞察在于,我们创建的东西实际上并非 PRD(产品需求文档)。PRD 描述的是产品本身,而我们却允许非产品内容渗入。我们实际构建的是规范——一个更广泛的术语,可以是技术性的、非技术性的,或两者的结合。

“Spec(规范)”现在成为整个技能套件中的统一术语。你可能仍然称这个文档为 PRD,但“spec”是我们今后使用的统一语言。

§ 4

From /to-plan and /to-issues to /to-tickets

Two skills have been merged into one: /to-plan and /to-issues are now unified as /to-tickets. The old name felt biased towards GitHub and Linear, which use "issues" as their terminology. But really, the concept we're working with is more general: you have a spec, and underneath that spec you have tickets—the journey you take to actually enact the spec and create it.

/to-tickets breaks a plan, spec, or conversation into a set of tickets—tracer-bullet vertical slices, each declaring its blocking edges. This one artifact works two ways depending on your tracker setup:

Local file (tickets.md) – Edges are written as text and you work through them top-to-bottom by hand

Real tracker – Edges become native blocking links, so any ticket whose blockers are done is on the frontier and multiple agents can work in parallel

This naming clarity brings me joy after years of wishing the names were right.

从 /to-plan 和 /to-issues 到 /to-tickets

两个技能合并为一个:/to-plan 和 /to-issues 现已统一为 /to-tickets。旧命名偏向 GitHub 和 Linear,它们使用“issues”作为术语。但实际上,我们处理的概念更通用:你有一个规范,规范下面是工单——你实际执行并创建规范的过程。

/to-tickets 将计划、规范或对话拆解为一组工单——追踪弹垂直切片,每个切片声明其阻塞边界。这一工件根据你的跟踪器设置有两种工作方式:

本地文件 (tickets.md) – 边界以文本形式编写,你手动自上而下处理

真实跟踪器 – 边界成为原生阻塞链接,因此任何依赖项已完成的工单都处于前沿,多个 agent 可以并行工作

这种命名的清晰性让我感到愉悦,多年来我一直希望名字能正确。

§ 5

The next set of changes fixes bugs that people were experiencing with /grill-me and /grill-with-docs. Both rely on a central reference grilling skill that shows the LLM how to grill a person effectively.

Three Key Fixes

  1. Clearer guidance on asking questions

The original guidance said "asking multiple questions at once is bewildering." Even with this instruction, the model would occasionally ignore it and ask multiple questions anyway. So I've been more explicit about why we don't want multiple questions at once.

  1. Confirmation gate before implementation

Added a confirmation step at the end: "Do not enact the plan until I confirm we've reached a shared understanding." Many people reported that grilling sessions would just end and then the model would jump straight into implementation. This gate prevents that.

  1. Preventing self-grilling

In some odd situations, the model would grill itself—exploring the code base and grilling without human input. This was especially happening with Fable. To fix this, I added leading words to distinguish between two types of information:

TypeDefinitionExampleFactsThings you find by exploring the code baseCode patterns, existing implementationsDecisionsThings the user needs to decideArchitecture choices, feature scope Just a couple of sentences added and a few things rearranged has made the skill much more consistent. These tweaks have significantly reduced the weird issues people were reporting.

下一组改动修复了人们在使用 /grill-me 和 /grill-with-docs 时遇到的问题。两者都依赖于一个中心化的参考 grilling 技能,该技能向 LLM 展示如何有效地对一个人进行 grilling。

三项关键修复

  1. 提出问题时更清晰的指导

原来的指导说“同时问多个问题会让人困惑”。即使有这个指令,模型有时仍会忽略,一次问多个问题。因此,我更加明确地解释了为什么我们不希望同时问多个问题。

  1. 实现前的确认关卡

在末尾添加了一个确认步骤:“在我确认我们达成共识之前,不要执行计划。”许多人报告说,grilling 会话结束后,模型会直接跳转到实现阶段。这个关卡可以防止这种情况。

  1. 防止自我 grilling

在某些奇怪的情况下,模型会对自己进行 grilling——探索代码库并在没有人类输入的情况下 grilling。这尤其在 Fable 中出现。为了修复,我添加了引导词来区分两类信息:

类型定义示例事实通过探索代码库找到的内容代码模式、现有实现决策用户需要决定的内容架构选择、功能范围

只需添加几句话并重新排列几项内容,就使技能更加一致。这些调整显著减少了人们报告的奇怪问题。

§ 6

I've added a couple of new skills that transform the grilling process from primarily a planning exercise into a proper software development lifecycle. Many people ask me: "What's the main flow I'm supposed to use with the skills?" Here it is:

Diagram showing the complete development workflow

The Flow: From Grilling to Deployment

  1. Start with grilling

Instead of using plan mode directly, you get an agent to grill you about your goals. This uses two supporting docs:

A glossary to help the agent understand your domain better

Architectural Decision Records (ADRs) to capture the non-obvious stuff

  1. Generate a spec

The output from grilling goes into a spec, which defines your destination—where you're going with this feature or project.

  1. Break into tickets

You then turn that spec into individual tickets using /to-tickets. This spreads the development work across multiple agent sessions, each focused on one ticket.

  1. Implement each ticket

Implement each ticket using the /implement skill, which is refreshingly simple:

Implement the work described by the user in the spec or tickets.

Use TDD where possible at pre-agreed seams.

Run type checking regularly.

Single test files regularly.

Full test sweep once at the end.

The /implement skill mostly relies on the agent's priors and what your agents.md file teaches it. I almost didn't create a skill for this because it's so simple, but people kept asking "what's the flow?" So now you have a clear endpoint: once you have tickets, just implement each one in a separate coding session.

  1. Code review

After implementation, the /implement skill calls /code-review to review the work before committing.

我添加了几个新技能,将 grilling 过程从主要是规划练习转变为真正的软件开发生命周期。很多人问我:“我应该使用的主要流程是什么样的?” 如下所示:

显示完整开发工作流的图表

流程:从 Grilling 到部署

  1. 从 grilling 开始

不要直接使用规划模式,而是让 agent 对你的目标进行 grilling。这使用两个支持文档:

词汇表帮助 agent 更好地理解你的领域

架构决策记录 (ADR) 用于记录非显而易见的决策

  1. 生成规范

grilling 的输出进入规范,定义你的目的地——你在这个功能或项目中的方向。

  1. 分解为工单

然后使用 /to-tickets 将规范转化为单独的工单。这将开发工作分散到多个 agent 会话中,每个会话专注于一个工单。

  1. 实现每个工单

使用 /implement 技能实现每个工单,该技能非常简单:

实现用户在规范或工单中描述的工作。

在预先商定的接缝处尽可能使用 TDD。

定期运行类型检查。

定期单文件测试。

最后一次性进行全面测试。

/implement 技能主要依赖于 agent 的先验知识和 agents.md 文件中的教导。我几乎不想为这个创建技能,因为它太简单了,但人们一直问“流程是什么?”所以现在你有一个清晰的终点:一旦有了工单,只需在单独的编码会话中实现每个工单。

  1. 代码审查

实现后,/implement 技能会调用 /code-review 来审查提交前的代码。

§ 7

The code review skill reviews code on two axes, using a sub-agent for each:

AxisPurposeDetailsStandardsCompliance with coding standardsReads codingstandards.md or similar files in your repoSpecCorrectness against requirementsDoes the code faithfully implement the originating spec or ticket? Both run as parallel sub-agents, walking through each part of the code.

Here's what's cool and new about this skill: I've been reading Martin Fowler's Refactoring again, and I realized the agent already knows about code smells deeply embedded in its training. All you need to do is invoke the idea. Here are some examples:

Mysterious name

Duplicated code

Feature envy

Data clumps

Primitive obsession

Repeated switches

Divergent change

Speculative generality

Message chains

Middleman

When you describe these, the agent picks up on the terminology and says: "Yes, I found message chains. I need to remove them. I found a middleman situation. I need to fix that."

I tested this for a couple of weeks and it was outrageously useful at improving code quality. The best part? It's really cheap to add—just about 10 lines of guidance.

代码审查技能在两个维度上审查代码,每个维度使用一个子 agent:

维度目的详情标准是否符合编码标准读取 codingstandards.md 或仓库中的类似文件规范是否符合需求代码是否忠实实现了原始规范或工单? 两者作为并行子 agent 运行,遍历代码的每个部分。

这个技能的新颖之处在于:我重读了 Martin Fowler 的《重构》,发现 agent 已经从其训练中深度了解了代码坏味。你只需要调用这个想法。以下是一些例子:

神秘的名称

重复代码

依恋情结

数据泥团

基本类型偏执

重复的 switch

发散式变化

夸夸其谈通用性

消息链

中间人

当你描述这些时,agent 会识别这些术语并说:“是的,我发现了消息链。我需要消除它们。我发现了中间人情况。我需要修复它。”

我测试了几周,它在提高代码质量方面极其有用。最棒的是?添加成本很低——只需大约 10 行指导。

§ 8

Now for the skill I'm really excited about: a whole new approach to kicking off and shaping specs. It's called /wayfinder, and it's designed to replace /grill-with-docs in many situations.

GitHub issue showing a Wayfinder map with blocking relationships

When to Use Wayfinder

/wayfinder is for situations where you have so much to plan that it's too big for one agent session. You're either going to blow out of the agent's smart zone or even hit its context window limit. You need to split it into multiple parts to figure out where you're going.

Here's the concept:

A loose idea has arrived, too big for one agent session and wrapped in fog. The way from here to the destination isn't visible yet. This skill charts the way as a shared map on the repo's issue tracker, then works its tickets one at a time until the route is clear.

How Wayfinder Works

Wayfinder creates a map saved as GitHub issues, with decisions scoped to be the size of an agent session. Each decision is linked with blocking relationships, so dependent decisions can't be made until prerequisites are resolved.

Here's an example from the Sandcastle repo, investigating whether to pull in the AI SDK as a dependency:

Ticket Types:

Research – An AFK task for the agent to research and report findings

Grilling – A grilling session to make decisions

Prototype – A quick prototype to raise the fidelity of discussion

Task – Config, provisioning, or other work that doesn't need grilling

Why Prototyping Matters

I've been advocating for more prototyping before you get to a spec. The idea is to raise the fidelity of the discussion by making a cheap, rough, concrete artifact to react to—an outline, rough take, stub, or UI logic code.

Use prototyping when:

How should it look? is a key question

How should it behave? is a key question

This is essential for almost anything that touches front-end code. I'd definitely recommend using /wayfinder for any front-end work.

After Wayfinder Completes

Once all the tickets are closed, all of that information gets saved onto the map with the original tickets as primary sources. You can then take this map and turn it into a spec the regular way.

The beauty of Wayfinder is that instead of managing session anxiety with /grill-with-docs—worrying about hand-offs and the smart zone—everything is managed for you. You just close a session and open the next Wayfinder ticket. It's all saved in GitHub, so it's collaborative and shareable across your team.

接下来是我非常兴奋的技能:一种启动和塑造规范的全新方法。它叫做 /wayfinder,设计用于在许多场景中替代 /grill-with-docs。

显示带有阻塞关系的 Wayfinder 地图的 GitHub issue

何时使用 Wayfinder

/wayfinder 适用于你有太多内容需要规划,以至于一个 agent 会话无法处理的情况。你可能超出 agent 的智能区域,甚至达到其上下文窗口限制。你需要将其拆分为多个部分,以确定前进方向。

概念如下:

一个松散的想法已经到来,对于单个 agent 会话来说太大,且笼罩在迷雾中。从当前到目的地的路径尚不可见。该技能在仓库的 issue 跟踪器上绘制一张共享地图,然后逐个处理工单,直到路线清晰。

Wayfinder 的工作原理

Wayfinder 创建一张保存为 GitHub issue 的地图,每个决策的范围为一个 agent 会话的大小。每个决策通过阻塞关系链接,因此依赖的决策必须在前置条件解决后才能做出。

以下是 Sandcastle 仓库中的一个例子,研究是否将 AI SDK 作为依赖引入:

工单类型:

研究 – agent 的 AFK 任务,用于研究并报告发现

Grilling – 做出决策的 grilling 会话

原型 – 快速原型以提高讨论的逼真度

任务 – 配置、预配或其他不需要 grilling 的工作

为什么原型重要

我一直主张在进入规范之前多做原型。想法是通过制作一个廉价、粗糙、具体的产物(如大纲、粗略想法、桩代码或 UI 逻辑代码)来提高讨论的逼真度。

在以下情况下使用原型:

“它应该看起来如何?”是关键问题

“它应该表现如何?”是关键问题

这对于几乎所有涉及前端代码的工作都至关重要。我强烈建议在任何前端工作中使用 /wayfinder。

Wayfinder 完成后

一旦所有工单关闭,所有信息都会保存到地图上,原始工单作为主要来源。然后你可以将这张地图以常规方式转化为规范。

Wayfinder 的妙处在于,你不再需要像使用 /grill-with-docs 时那样管理会话焦虑——担心交接和智能区域——一切都为你管理好了。你只需关闭一个会话,然后打开下一个 Wayfinder 工单。所有内容都保存在 GitHub 中,因此可以在团队中协作和共享。

§ 9

To support the Wayfinder workflow, two new skills have been added.

The /research Skill

The /research skill is small but handy:

Spins up a background agent to do the research so you keep working while it reads

Investigates the question against primary sources

Writes findings to a simple markdown file

Saves it where the repo already keeps such notes, matching existing conventions

Use it anytime you need to do a research session without breaking your flow.

The /prototype Skill

The /prototype skill is now model-invoked so that Wayfinder can invoke it itself. It gives you a choice between two types:

TypePurposeUse CaseLogic prototypeTest behavior and logicBackend APIs, business logicUI prototypeTest appearance and interactionFrontend components, user flows They react quite differently and help you explore design space before committing to a spec.

为了支持 Wayfinder 工作流,新增了两个技能。

/research 技能

/research 技能虽小但很实用:

启动一个后台 agent 进行研究,让你在它阅读的同时继续工作

针对主要来源调查问题

将发现写入简单的 markdown 文件

保存在仓库已有的此类笔记位置,匹配现有约定

在需要进行研究而不打断工作流时随时使用。

/prototype 技能

/prototype 技能现在可由模型调用,因此 Wayfinder 可以自行调用它。它提供两种类型供你选择:

类型目的用例逻辑原型测试行为和逻辑后端 API、业务逻辑UI 原型测试外观和交互前端组件、用户流程

它们的反应截然不同,帮助你在确定规范之前探索设计空间。

§ 10

The final change addresses something people have been asking for: the ability to pass an AFK agent the /tdd skill and have it just work.

Previous Approach

The old /tdd skill would recommend a set of steps and ask you to confirm each one. This was awkward because it didn't fit with how most people actually use TDD—they want the agent to work autonomously.

New Approach

The /tdd skill is now reference material only. It doesn't specify particular steps, just the essential order:

  1. Red - Write failing tests

  2. Green - Make tests pass

  3. Refactor - Improve code (moved out of the loop)

The key change: refactoring is no longer part of the TDD loop. It's now handled in the code review phase, which keeps the implementation focused and cleaner. This way you don't overload the implementation session with refactoring concerns.

最后一个改动解决了人们一直要求的:能够将 /tdd 技能传递给 AFK agent 并让它直接工作。

旧方法

旧的 /tdd 技能会推荐一组步骤并要求你确认每一步。这很尴尬,因为它不符合大多数人实际使用 TDD 的方式——他们希望 agent 自主工作。

新方法

/tdd 技能现在仅为参考材料。它不指定具体步骤,只给出基本顺序:

  1. 红 - 编写失败的测试

  2. 绿 - 使测试通过

  3. 重构 - 改进代码(已移出循环)

关键变化:重构不再是 TDD 循环的一部分。现在它在代码审查阶段处理,这使实现更专注、更干净。这样你就不会用重构的顾虑使实现会话过载。

§ 11

/to-spec replaces /to-prd – Update any processes or documentation

/to-tickets replaces /to-plan and /to-issues – These are now unified

New workflow – Consider adopting the new flow: Grilling → Spec → Tickets → Implement → Code Review

Wayfinder everywhere – Try using /wayfinder instead of /grill-with-docs for larger planning tasks

/to-spec 替代 /to-prd – 更新任何流程或文档

/to-tickets 替代 /to-plan 和 /to-issues – 现已统一

新工作流 – 考虑采用新流程:Grilling → Spec → Tickets → Implement → Code Review

全面使用 Wayfinder – 对于较大的规划任务,尝试使用 /wayfinder 替代 /grill-with-docs

Open source ↗