ask-matt
它能做什么
它是一套来自同一代码仓库的编程技能的指南。它帮你找到哪项技能或路径适合你的情况,适合正在使用这些技能的开发者。
适用场景
- ✓你不确定某项任务应使用哪项技能的时候。
- ✓你有一个想法,想知道把它做出来的步骤的时候。
- ✓你想快速了解这套技能中包含什么的时候。
技能链接
https://github.com/mattpocock/skills/blob/main/skills/engineering/ask-matt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我对一个新功能有个粗略的想法。我应该先用你们的哪项技能?”
每周 5 个新技能,1 分钟读完。
工作原理
这份指南描述了一条从想法到交付代码的主路径,并为原型和交接设有分支路线。它会把你引向下一项技能,并在给出建议前先阅读该技能的内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Ask Matt
You don't remember every skill, so ask.
Before stating what a skill does or recommending a step be skipped, read that skill's SKILL.md: the summaries here are for orientation only.
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, or a vocabulary layer that runs underneath.
The main flow: idea → ship
The route most work travels. You have an idea and want it built.
/grill-with-docssharpens the idea by interview. Start here whenever you are working in a working directory: it's stateful, retaining what it learns inGLOSSARY.mdand ADRs. (No working directory? Use/grill-meinstead, covered under Standalone. Both run the same/grillingprimitive;grill-with-docsis the one that leaves a paper trail, which makes it the better of the two whenever a repo is there to leave it in.)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
/handoffin both directions (a prototype lives in its own directory, which is exactly what/handoffis for; see Phase boundaries):/handoffout, then open a fresh session against that file,/prototypeto answer the question with throwaway code,/handoffback what you learned, and reference it from the original idea thread.
Branch: is this a multi-session build?
- Yes →
/to-spec(turn the thread into a spec), then/to-ticketsto split it into tracer-bullet tickets, each declaring its blocking edges. Then work the tickets one of two ways:/implementper ticket,/clearing context between each one. On a local tracker that's one file per ticket under.scratch/<feature>/issues/, worked blockers-first by hand; on a real tracker the edges become native blocking links, so any ticket whose blockers are done can be grabbed. Each ticket is self-contained, so the last one's context is disposable./implement-specfor the whole spec in one run. It reads the tickets as a task graph, runs implementer subagents across the ready frontier in parallel, and lands everything on one integration branch. Reach for it when you'd rather orchestrate the build than drive each ticket yourself.
- No →
/implementright here, in the same context window.
Either way, the code gets built by driving
/tdd(one red-green slice at a time) and closes out with/code-review, a two-axis review (Standards + Spec) of the diff./implementruns both per ticket;/implement-spec's implementers each drive/tdd, and it runs one/code-reviewover the integration branch. Reach for/tddon its own when you just want to build a concrete behaviour test-first without a full spec, and/code-reviewon its own whenever you want to review a branch or PR against a fixed point.When the work goes up as a pull request,
/prshapes the body: the smallest visual that shows the change, before/after evidence that it works, and a one-way or two-way door call. It's model-invoked, so the agent reaches for it whenever it writes a PR.- Yes →
/retrocloses the loop. After a build, and especially one that went sideways, it looks back over the session and suggests changes to the agent's environment, not the code: navigation pointers, automated checks, the coding standards/code-reviewenforces, steering files, tooling. Mechanical mistakes become deterministic checks; judgement calls become coding standards. The next build then starts from a better environment.
Context hygiene
Keep steps 1–3 in one unbroken context window (don't compact or clear until after /to-tickets) so the grilling, spec, and tickets all build on the same thinking. Each /implement then starts fresh, working from the ticket. Run /retro in the session it's looking back on, before you clear; after clearing, point it at that session's log instead.
The limit on this is the smart zone: the window (~150k tokens on state-of-the-art models) within which the model still reasons sharply. If a session approaches it before /to-tickets, don't push on degraded; /compact at the nearest phase boundary and carry on (see Phase boundaries).
On-ramps
A starting situation that generates wor
常见问题
这份指南描述的主路径是什么?
它是一条从想法到交付工作的路线,先进行一轮澄清式的访谈,然后经过规划再进入构建。
这项技能自己会构建任何东西吗?
不会。它会把你引向其他技能,并说明在推荐某项技能的步骤之前,应先阅读该技能自己的说明。
我能把它用于任何项目吗?
它是围绕这个代码仓库的技能设计的,因此在安装了这些技能时最有用。
详情
作者的原始描述
Ask which skill or flow fits your situation. A router over the skills in this repo.
repo: mattpocock/skills
热度
- GitHub 星标
- 310k
- 排名
- #100
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …