ask-matt
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAsk Matt
Ask Matt
You don't remember every skill, so ask.
A flow is a path through the skills. Most paths run along one main flow, and two on-ramps merge onto it. Everything else is standalone.
你无需记住所有技能,直接提问即可。
flow(流程) 是贯穿各项技能的路径。大多数路径遵循一条主流程,另有两个接入流程可并入主流程。其余均为独立流程。
The main flow: idea → ship
主流程:想法 → 交付
The route most work travels. You have an idea and want it built.
- — sharpen the idea by interview. Start here when you have a codebase: it's stateful, retaining what it learns in
/grill-with-docsand ADRs. (No codebase? UseCONTEXT.md— see Standalone.)/grill-me - Branch — can you settle every question in conversation? If a question needs a runnable answer (state, business logic, a UI you have to see), detour through a prototype, bridged by in both directions (see Crossing sessions):
/handoff- out, then open a fresh session against that file,
/handoff - to answer the question with throwaway code,
/prototype - back what you learned, and reference it from the original idea thread.
/handoff
- Branch — is this a multi-session build?
- Yes → (turn the thread into a PRD) →
/to-prd(split the PRD into independently-grabbable issues). Because the issues are independent, clear context between each one: start a fresh session per issue and kick off/to-issuesby passing it the PRD and the single issue to work on./implement - No → right here, in the same context window.
/implement
- Yes →
这是大多数工作遵循的路径。当你有一个想法并希望将其落地时适用。
- —— 通过访谈完善想法。当你已有代码库时从此处开始:它是有状态的,会将所获取的信息保存在
/grill-with-docs和ADRs中。(没有代码库?使用CONTEXT.md——详见独立流程部分。)/grill-me - 分支——能否通过对话解决所有问题? 如果某个问题需要可运行的答案(状态、业务逻辑、需可视化的UI),则通过原型绕路,双向通过****衔接(跨会话部分见下文):
/handoff- 先执行****导出,然后针对该文件开启新会话,
/handoff - 执行****用临时代码解答问题,
/prototype - 再执行****带回所获信息,并在原想法线程中引用该信息。
/handoff
- 先执行**
- 分支——这是否是跨多会话的构建任务?
- 是 → 执行**(将线程转换为PRD)→ 执行
/to-prd(将PRD拆分为可独立处理的任务)。由于任务相互独立,每个任务间需明确上下文:针对每个任务开启新会话,传入PRD和单个任务来启动/to-issues**。/implement - 否 → 直接在此处执行****,保持同一上下文窗口。
/implement
- 是 → 执行**
Context hygiene
上下文维护
Keep steps 1–3 in one unbroken context window — don't compact or clear until after — so the grilling, PRD, and issues all build on the same thinking. Each then starts fresh, working from the issue.
/to-issues/implementThe limit on this is the smart zone: the window (~120k tokens on state-of-the-art models) within which the model still reasons sharply. If a session approaches it before , don't push on degraded — and continue in a fresh thread.
/to-issues/handoff将步骤1-3保持在同一个连续的上下文窗口中——在执行之前不要压缩或清空上下文,这样访谈、PRD和任务都能基于相同的思路构建。每个都将从任务开始,开启新的上下文。
/to-issues/implement此方式的限制是**smart zone**:即模型仍能清晰推理的上下文窗口(在当前最先进的模型中约为120k tokens)。如果会话在执行前接近该限制,不要在性能下降的情况下继续——执行并在新线程中继续。
/to-issues/handoffOn-ramps
接入流程
A starting situation that generates work, then merges onto the main flow.
-
Bugs and requests piling up →. It moves issues through triage roles and produces agent-ready issues, which
/triagelater picks up./implementTriage is only for issues you didn't create — bug reports, incoming feature requests, anything that arrives raw. Issues thatproduced are already agent-ready, so don't triage them./to-issues
一种启动场景,生成工作任务后并入主流程。
-
Bug和请求堆积 → 执行**。它会将任务按分类角色流转,并生成可由Agent处理的任务,供后续
/triage**使用。/implement分类仅适用于你未创建的任务——Bug报告、外来功能请求、任何原始提交的任务。由生成的任务已可由Agent处理,因此无需对其进行分类。/to-issues
Codebase health
代码库健康维护
Not feature work — upkeep.
- — run whenever you have a spare moment to keep the codebase good for agents to operate in. It surfaces deepening opportunities; picking one generates an idea you can take into the main flow at
/improve-codebase-architecture./grill-with-docs
非功能开发工作——属于维护范畴。
- —— 当你有空时运行此工具,以保持代码库适合Agent操作。它会挖掘优化机会;选择其中一个机会将生成一个想法,你可以在主流程的
/improve-codebase-architecture环节接入。/grill-with-docs
Crossing sessions
跨会话操作
- — when a thread is full or you need to branch off (e.g. into a
/handoffsession), this compacts the conversation into a markdown file. You don't continue in place — you open a new session and reference that file to carry the context across. It's the bridge between context windows, in either direction. Use it when you want a fresh session but need the current conversation preserved./prototype - (built-in) — stay in the same conversation, letting the earlier turns be summarized. Use it at intentional breaks between phases, when you don't mind losing the verbatim history. Don't compact mid-phase — the agent can lose its way.
/compactforks;/handoffcontinues./compact
- —— 当线程已满或你需要分支(例如进入
/handoff会话)时,此工具会将对话压缩为markdown文件。你无需在此处继续——需开启新会话并引用该文件以传递上下文。它是上下文窗口之间的双向桥梁。当你需要新会话但又要保留当前对话内容时使用。/prototype - (内置工具)—— 继续在同一会话中,让早期对话内容被总结。在阶段间的有意断点处使用,此时你不介意丢失逐字记录的历史。不要在阶段中途压缩——Agent可能会迷失方向。
/compact是分支;/handoff是继续。/compact
Standalone
独立流程
Off the main flow entirely.
- — the same relentless interview as
/grill-me, but for when you have no codebase. Stateless: it saves nothing locally, builds no/grill-with-docs. Reach for it to sharpen any plan or design that doesn't live in a repo.CONTEXT.md - — learn a concept over multiple sessions, using the current directory as a stateful workspace.
/teach - — reference for writing and editing skills well.
/writing-great-skills
完全脱离主流程。
- —— 与
/grill-me的访谈流程相同,但适用于你没有代码库的情况。无状态:不会在本地保存任何内容,也不会生成/grill-with-docs。当你需要完善任何不在代码库中的计划或设计时使用。CONTEXT.md - —— 通过多会话学习某个概念,将当前目录作为有状态工作区。
/teach - —— 编写和优化技能的参考指南。
/writing-great-skills
Precondition
前置条件
/setup-matt-pocock-skills/setup-matt-pocock-skills