跳到正文
Skillpedia
智能体310k · #100

ask-matt

它能做什么

它是一套来自同一代码仓库的编程技能的指南。它帮你找到哪项技能或路径适合你的情况,适合正在使用这些技能的开发者。

适用场景

  • ✓你不确定某项任务应使用哪项技能的时候。
  • ✓你有一个想法,想知道把它做出来的步骤的时候。
  • ✓你想快速了解这套技能中包含什么的时候。

技能链接

https://github.com/mattpocock/skills/blob/main/skills/engineering/ask-matt/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mattpocock/skills/blob/main/skills/engineering/ask-matt/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

  1. /grill-with-docs sharpens the idea by interview. Start here whenever you are working in a working directory: it's stateful, retaining what it learns in GLOSSARY.md and ADRs. (No working directory? Use /grill-me instead, covered under Standalone. Both run the same /grilling primitive; grill-with-docs is the one that leaves a paper trail, which makes it the better of the two whenever a repo is there to leave it in.)

  2. 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 /handoff in both directions (a prototype lives in its own directory, which is exactly what /handoff is for; see Phase boundaries):

    • /handoff out, then open a fresh session against that file,
    • /prototype to answer the question with throwaway code,
    • /handoff back what you learned, and reference it from the original idea thread.
  3. Branch: is this a multi-session build?

    • Yes → /to-spec (turn the thread into a spec), then /to-tickets to split it into tracer-bullet tickets, each declaring its blocking edges. Then work the tickets one of two ways:
      • /implement per 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-spec for 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 → /implement right 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. /implement runs both per ticket; /implement-spec's implementers each drive /tdd, and it runs one /code-review over the integration branch. Reach for /tdd on its own when you just want to build a concrete behaviour test-first without a full spec, and /code-review on its own whenever you want to review a branch or PR against a fixed point.

    When the work goes up as a pull request, /pr shapes 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.

  4. /retro closes 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-review enforces, 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能