AGENT SKILL

mattpocock-skills__skillhub

A disciplined engineering workflow for coding agents — grill before building, TDD with red-green slices, two-axis code review, bug diagnosis loops, issue triage, PRD/issue breakdown, domain modeling, and deep-module architecture improvement. Use when the user wants to "write tests first", "review this PR", "grill me on the plan", "triage issues", "debug this", "improve the architecture", "make a PRD", "split into issues", or otherwise do real (non-vibe) engineering. Triggers on TDD, code review, PRD, triage, diagnose/debug, domain model, ubiquitous language, prototype, architecture refactor, handoff.

License 许可
MIT
最近更新
2026-10-30
Stars
★ 0
Forks
0

01 前言 Front Matter

name
mattpocock-skills__skillhub
slug
mattpocock-skills
tags
[ "engineering", "tdd", "code-review", "triage", "debugging", "architecture", "domain-modeling", "prd", "workflow", "mattpocock" ]
license
MIT
summary
Matt Pocock 的「真工程师」技能集 —— 把成熟的软件工程纪律(对齐访谈、TDD、双轴代码评审、Bug 诊断循环、Issue 分诊、PRD/任务拆分、领域建模、深模块架构)浓缩成可复用的 Agent 工作流。
version
1.0.0
homepage
https://github.com/mattpocock/skills
description
A disciplined engineering workflow for coding agents — grill before building, TDD with red-green slices, two-axis code review, bug diagnosis loops, issue triage, PRD/issue breakdown, domain modeling, and deep-module architecture improvement. Use when the user wants to "write tests first", "review this PR", "grill me on the plan", "triage issues", "debug this", "improve the architecture", "make a PRD", "split into issues", or otherwise do real (non-vibe) engineering. Triggers on TDD, code review, PRD, triage, diagnose/debug, domain model, ubiquitous language, prototype, architecture refactor, handoff.
displayName
Matt Pocock's Skills
agent_created
true

02 资源文件 10

03 SKILL.md 正文

Matt Pocock's Skills

A collection of small, composable agent skills for real engineering — not vibe coding. Ported from Matt Pocock's skills repo. Each skill is a self-contained procedure; this file is the router that tells you which one to reach for and how they connect. The full text of every skill lives in references/.

How to use in WorkBuddy. This skill is the methodology. When the user's request matches a skill below, read that skill's file from references/ and follow its procedure exactly. Most skills are "user-invoked" (the human asks for them) or "model-invoked" (reach for them automatically when the task fits). The labels are kept for clarity; WorkBuddy loads all of them.


Why these skills exist

Four failure modes in agent-assisted development, and the skill that fixes each:

  1. The agent didn't do what I want → misalignment. Fix: a grilling session (/grill-me, /grill-with-docs) before any code.
  2. The agent is too verbose → no shared language. Fix: build a domain model (/domain-modeling) and keep CONTEXT.md as a glossary.
  3. The code doesn't work → no feedback loop. Fix: TDD (/tdd) and disciplined bug diagnosis (/diagnosing-bugs).
  4. We built a ball of mud → entropy. Fix: deep-module design (/codebase-design, /improve-codebase-architecture).

The router: idea → ship (main flow)

The path most work travels. You have an idea and want it built.

  1. /grill-with-docs — sharpen the idea by interview. Start here when you have a codebase: it's stateful, retaining what it learns in CONTEXT.md and ADRs. (No codebase? Use /grill-me.) Both run the same /grilling primitive; grill-with-docs leaves a paper trail. → references/engineering/grill-with-docs/SKILL.md → references/productivity/grill-me/SKILL.md → references/productivity/grilling/SKILL.md

  2. Branch — can you settle every question in conversation? If a question needs a runnable answer (state, business logic, a UI you must see), detour through a prototype, bridged by /handoff in both directions: → /handoff out → /prototype → /handoff back. → references/productivity/handoff/SKILL.md → references/engineering/prototype/SKILL.md

  3. Branch — is this a multi-session build?

    Either way, /implement builds each issue by driving /tdd internally — one red-green slice at a time — then closes with /code-review (Standards + Spec) before committing. Use /tdd alone for a concrete behaviour, and /code-review alone to review a branch/PR. → references/engineering/tdd/SKILL.md → references/engineering/code-review/SKILL.md

Context hygiene: keep steps 1–3 in one unbroken context window until after /to-issues. Each /implement then starts fresh from the issue. If the window approaches the "smart zone" (~120k tokens) before /to-issues, /handoff and continue in a fresh thread.


On-ramps

A starting situation that generates work, then merges onto the main flow.

  • Bugs and requests piling up → /triage. Moves issues through triage roles and produces agent-ready issues that /implement later picks up. Triage is only for issues you didn't create (bug reports, incoming requests). Issues from /to-issues are already agent-ready. → references/engineering/triage/SKILL.md
  • Something's broken → /diagnosing-bugs. For the hard ones: reproduces only with a tight feedback loop, then fixes with a regression test. Its post-mortem hands off to /improve-codebase-architecture when the real finding is "no good seam to lock the bug down". → references/engineering/diagnosing-bugs/SKILL.md

Codebase health

  • /improve-codebase-architecture — run whenever you have a spare moment. Surfaces deepening opportunities; picking one generates an idea you can take into the main flow at /grill-with-docs. It's the survey that finds candidates; /codebase-design is the bench you design the chosen one on. → references/engineering/improve-codebase-architecture/SKILL.md

Vocabulary underneath

Two model-invoked references that run beneath the other skills — each the single source of truth for its vocabulary. Reach for them directly when the words, not the process, are the problem.

  • /domain-modeling — sharpen the project's domain language: challenge a fuzzy term, resolve an overloaded word, record a hard-to-reverse decision as an ADR. The active discipline /grill-with-docs drives to keep CONTEXT.md a clean glossary. → references/engineering/domain-modeling/SKILL.md
  • /codebase-design — the deep-module vocabulary (module, interface, depth, seam, adapter, leverage, locality) for designing a module's shape: a lot of behaviour behind a small interface at a clean seam. /tdd and /improve-codebase-architecture both speak it. → references/engineering/codebase-design/SKILL.md

Crossing sessions

  • /handoff — compact the conversation into a markdown file; open a new session and reference it to carry context across. The bridge between windows, in either direction.
  • /compact (built-in) — stay in the same conversation, letting earlier turns be summarized. Use at intentional phase breaks; don't compact mid-phase.

Standalone

Off the main flow entirely.

  • /grill-me — the relentless interview, but for when you have no codebase. Stateless.
  • /prototype — a small, throwaway program that answers one design question. Throwaway from day one; keep the answer, delete the code.
  • /research — delegate reading to a background agent: it investigates against primary sources, then leaves a cited Markdown file in the repo. Research feeds the thinking, doesn't replace it. → references/engineering/research/SKILL.md
  • /teach — learn a concept over multiple sessions, using the current directory as a stateful workspace. → references/productivity/teach/SKILL.md
  • /writing-great-skills — reference for writing and editing skills well. → references/productivity/writing-great-skills/SKILL.md

Precondition: setup

/setup-matt-pocock-skills — run before your first engineering flow to configure the issue tracker, triage labels, and domain-doc layout the other skills assume. Custom trackers also work. → references/engineering/setup-matt-pocock-skills/SKILL.md


Full skill index

Engineering (user-invoked)

  • ask-matt — router over the skills in this repo.
  • grill-with-docs — grilling session that builds the domain model (CONTEXT.md + ADRs).
  • triage — move issues/PRs through triage-role state machine.
  • improve-codebase-architecture — scan for deepening opportunities, HTML report, grill the pick.
  • setup-matt-pocock-skills — configure repo for the engineering skills.
  • to-issues — break a plan/PRD into independently-grabbable vertical slices.
  • to-prd — turn the conversation into a PRD, publish to the tracker.

Engineering (model-invoked)

  • prototype — throwaway prototype answering a design question.
  • diagnosing-bugs — reproduce → minimise → hypothesise → instrument → fix → regression-test.
  • research — background-agent investigation against primary sources.
  • tdd — red-green-refactor, one vertical slice at a time.
  • domain-modeling — build/sharpen the domain model.
  • codebase-design — deep-module vocabulary and principles.
  • code-review — two-axis review (Standards + Spec) via parallel sub-agents.
  • implement — implement a PRD/issue via /tdd, then /code-review.
  • resolving-merge-conflicts — resolve merge conflicts deliberately.

Productivity (user-invoked)

  • grill-me — relentless interview for stateless plans.
  • handoff — compact conversation for another agent.
  • teach — multi-session concept teaching.
  • writing-great-skills — how to write good skills.

Productivity (model-invoked)

  • grilling — the reusable interview loop behind grill-me/grill-with-docs.

Other buckets (ported for completeness; not promoted)


Supporting templates & references

These live under references/ and are linked from the skills above:

04 同仓库更多 Skills

yangyg
yangyg/skills-manager-backup

winui-app

Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.

★ 0
yangyg
yangyg/skills-manager-backup

ui-styling

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

★ 0
yangyg
yangyg/skills-manager-backup

security-best-practices

Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.

★ 0
yangyg
yangyg/skills-manager-backup

screenshot

Use when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are unavailable and an OS-level capture is needed.

★ 0
yangyg
yangyg/skills-manager-backup

playwright

Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.

★ 0
yangyg
yangyg/skills-manager-backup

oil-ui

Design, improve, and review interfaces for websites, apps, dashboards, and components: explore distinct design directions, compare styles side by side, and refine visual hierarchy against real screenshots. Delivers comparison pages, design notes, mockups, or working interfaces. Use for new interface design, style comparison, visual polish, screenshot recreation, or interface review. Not for business logic, APIs, builds, or code cleanup without visible UI changes. If oil-ui-pro is installed, use oil-ui-pro instead. 设计、改进和评审网站、App、后台与组件的界面,完成设计方向探索、多风格同屏比较、视觉层级和基于实际画面的迭代;按请求交付对比页、设计说明、设计稿或可运行界面。当用户需要新界面设计、比较不同设计风格、视觉精修、截图还原或界面评审时使用。只负责设计判断,组件归属、数据流、状态正确性和测试等代码实现质量不在范围内。不用于纯业务逻辑、接口、构建部署、无界面行为变化的代码整理、单独绘制普通插画或操作现有网站。已安装 oil-ui-pro 时交给 oil-ui-pro。

★ 0