Files
skills/README.md
T

6.8 KiB

Agent Skills For Real Engineers

My agent skills that I use every day to do real engineering - not vibe coding.

Developing real applications is hard. Approaches like GSD, BMAD, and Spec-Kit try to help by owning the process. But while doing so, they take away your control and make bugs in the process hard to resolve.

These skills are designed to be small, easy to adapt, and composable. They're based on decades of engineering experience. Hack around with them. Make them your own. Enjoy.

If you want to keep up with changes to these skills, and any new ones I create, you can join ~60,000 other devs on my newsletter:

Sign Up To The Newsletter

Quickstart (30-second setup)

  1. Run the skills.sh installer:
npx skills@latest add mattpocock/skills
  1. Pick the skills you want, and which coding agents you want to install them on.

  2. Bam - you're ready to go.

Why These Skills Exist

I built these skills as a way to fix common failure modes I see with Claude Code, Codex, and other coding agents.

#1: The Agent Didn't Do What I Want

"No-one knows exactly what they want"

David Thomas & Andrew Hunt, The Pragmatic Programmer

The Problem. The most common failure mode in software development is misalignment. You think the dev knows what you want. Then you see what they've built - and you realize it didn't understand you at all.

This is just the same in the AI age. There is a communication gap between you and the agent. The fix for this is a grilling session - getting the agent to ask you detailed questions about what you're building.

The Fix is to use:

  • /grill-me - for non-code uses
  • /grill-with-docs - same as /grill-me, but adds more goodies (see below)

These are my most popular skills. They help you align with the agent before you get started, and think deeply about the change you're making. Use them every time you want to make a change.

#2: The Agent Is Way Too Verbose

With a ubiquitous language, conversations among developers and expressions of the code are all derived from the same domain model.

Eric Evans, Domain-Driven-Design

The Problem: At the start of a project, devs and the people they're building the software for (the domain experts) are usually speaking different languages.

The domain experts are speaking their language, and the devs are trying to translate it into code. They're often talking past each other.

I felt exactly the same tension with my agents. Agents are usually dropped into a project and asked to figure out the jargon as they go. This leads to incredible verbosity. Agents use 20 words where 1 will do.

The Fix for this is a shared language. It's a document that helps agents decode the jargon used in the project.

Example

Here's an example CONTEXT.md, from my course-video-manager repo. Which one is easier to read?

  • BEFORE: "There's a problem when a lesson inside a section of a course is made 'real' (i.e. given a spot in the file system)"
  • AFTER: "There's a problem with the materialization cascade"

This concision pays off session after session.

This is built into /grill-with-docs. It's a grilling session, but with two extra abilities:

  • It interrogates your shared language as you go, saving it in CONTEXT.md
  • It surfaces hard-to-explain decisions in ADR's (architectural decision records)

It's hard to explain how powerful this is.

Tip

A shared language has many other benefits than reducing verbosity:

  • Variables, functions and files are named consistently, using the shared language
  • As a result, the codebase is easier to navigate for the agent
  • The agent also spends fewer tokens on thinking, because it has access to a more concise language

Reference

Engineering

Skills I use daily for code work.

  • diagnose — Disciplined diagnosis loop for hard bugs and performance regressions: reproduce → minimise → hypothesise → instrument → fix → regression-test.
  • grill-with-docs — Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates CONTEXT.md and ADRs inline.
  • github-triage — Triage GitHub issues through a label-based state machine.
  • improve-codebase-architecture — Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.
  • tdd — Test-driven development with a red-green-refactor loop. Builds features or fixes bugs one vertical slice at a time.
  • to-issues — Break any plan, spec, or PRD into independently-grabbable GitHub issues using vertical slices.
  • to-prd — Turn the current conversation context into a PRD and submit it as a GitHub issue. No interview — just synthesizes what you've already discussed.
  • zoom-out — Tell the agent to zoom out and give broader context or a higher-level perspective on an unfamiliar section of code.

Productivity

General workflow tools, not code-specific.

  • caveman — Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler while keeping full technical accuracy.
  • grill-me — Get relentlessly interviewed about a plan or design until every branch of the decision tree is resolved.
  • write-a-skill — Create new skills with proper structure, progressive disclosure, and bundled resources.

Misc

Tools I keep around but rarely use.

  • git-guardrails-claude-code — Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, etc.) before they execute.
  • migrate-to-shoehorn — Migrate test files from as type assertions to @total-typescript/shoehorn.
  • scaffold-exercises — Create exercise directory structures with sections, problems, solutions, and explainers.
  • setup-pre-commit — Set up Husky pre-commit hooks with lint-staged, Prettier, type checking, and tests.