explainx.ainewsletter3.5k
TrendingNewsPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

custom AI agents

[email protected]

get started

Find your pathTake Free Evaluation

learn

pathways — start freeworkshopsbootcampscoursescertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsagentsllmsdesignsagi trackerranks

company

aboutvisionmissionteaminstructorscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource librarydemofor LLMs

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

More from us

InfloqInfluencer marketingBgBlurPrivacy-first blurOlly SocialSocial AI copilotCeptoryVideo intelligenceBgRemoverBackground removal

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportprivacytermsdata rightssubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

On this page

  • Quickstart (30 seconds)
  • The thesis: small, composable, not process-heavy
  • Four failure modes (and the skill that fixes each)
  • User-invoked vs model-invoked (v1.0 taxonomy)
  • The skill map (June 2026)
  • Philosophy: Real engineering, not vibe coding
  • How /tdd works (red-green-refactor)
  • How /to-prd and /to-issues chain together
  • Domain-driven design: CONTEXT.md + shared skills
  • Git guardrails: Preventing destructive commands
  • Prototyping: /prototype
  • Writing skills: /writing-great-skills
  • Install paths and compatibility
  • Who is Matt Pocock?
  • A minimal "try it" path (June 2026)
  • How this fits the explainx.ai view of agent skills
  • Comparison: mattpocock/skills vs gstack vs explainx.ai registry
  • Privacy and open source
  • Read next (explainx.ai)
  • Summary
← Back to blog

explainx / blog

Matt Pocock's agent skills for real engineers: TDD, planning, and production-grade workflows

Matt Pocock's mattpocock/skills has 135,000+ GitHub stars and v1.0.1 (June 2026). User-invoked orchestrators (/grill-me, /ask-matt) and model-invoked discipline (/tdd, /codebase-design, /domain-modeling) for production engineering—not vibe coding.

Apr 27, 2026·12 min read·Yash Thakker
Agent SkillsMatt PocockTDDClaude CodeTypeScriptDeveloper ToolsTest-Driven Development
go deep
Matt Pocock's agent skills for real engineers: TDD, planning, and production-grade workflows

mattpocock/skills is Matt Pocock's public agent skills library—workflows he uses daily for real engineering, not vibe coding. The repository has attracted 135,000+ GitHub stars and 11,700+ forks (June 2026), making it the most visible skill collection in the agent ecosystem. Matt Pocock built Total TypeScript, is a former Vercel and Stately engineer, and runs a newsletter with ~60,000 subscribers.

Version 1.0.1 shipped June 17, 2026 with progressive disclosure, shared design skills, and a formal user-invoked vs model-invoked taxonomy. See our v1.0 deep dive for token economics and spec debates.

This explainx.ai article is a map, not a replacement for upstream docs. github.com/mattpocock/skills is canonical. MIT license, no paywall.

explainx.ai also hosts a discoverable skills registry at /skills—ranked listings from many authors with copy-ready install commands. Use Matt's repo for engineering discipline; browse /skills for domain-specific skills (SEO, MCP, analytics, and more).

Weekly digest3.5k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

A quick tour of Matt Pocock's skills that fix common vibe-coding failure modes.

Quickstart (30 seconds)

From the README:

bash
npx skills@latest add mattpocock/skills
  1. Pick skills and which coding agents to install on
  2. Always select /setup-matt-pocock-skills — run it once per repo
  3. It asks: issue tracker (GitHub, Linear, local files), triage labels, docs save location
  4. Done — skills are wired to your project

The installer uses skills.sh — the same CLI pattern the Kaggle Agent Skills whitepaper recommends for cross-platform portability.


The thesis: small, composable, not process-heavy

Skills for real engineers. Straight from my .claude directory.

Pocock built these to fix failure modes in Claude Code, Codex, and Cursor—not to replace your judgment with a heavyweight process framework. He explicitly contrasts his approach with GSD, BMAD, and Spec-Kit: those tools own the process, which can hide bugs in the process itself and take control away from you.

These skills are small, easy to adapt, and composable. They work with any model. Hack around with them; make them your own.


Four failure modes (and the skill that fixes each)

The README organizes the entire library around four problems every AI-assisted team hits:

#1: The agent didn't do what I want

Problem: Misalignment—the same gap between "what I meant" and "what got built" that The Pragmatic Programmer calls the core software failure mode.

Fix: A grilling session—force the agent to ask detailed questions before work starts.

SkillInvocationRole
/grill-meUserRelentless interview until every decision branch is resolved
/grill-with-docsUserSame loop + builds domain model, updates CONTEXT.md and ADRs inline
grillingModelReusable interview loop behind the two grill skills

Use /grill-me or /grill-with-docs every time you make a change.

#2: The agent is way too verbose

Problem: Agents drop into projects cold and use 20 words where one domain term would do—Eric Evans' ubiquitous language problem applied to LLMs.

Fix: A shared language document. Example from Pocock's course-video-manager repo:

  • 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"

/grill-with-docs and the model-invoked domain-modeling skill build and maintain this vocabulary in CONTEXT.md. Side effects: consistent naming, easier agent navigation, fewer tokens spent thinking.

#3: The code doesn't work

Problem: Alignment without feedback loops = flying blind.

Fix: Static types, browser access, automated tests. For tests, red-green-refactor is non-negotiable.

SkillInvocationRole
/tddModelRed-green-refactor; one vertical slice at a time
diagnosing-bugsModelreproduce → minimise → hypothesise → instrument → fix → regression-test

/tdd now delegates interface-design guidance to codebase-design (v1.0)—no duplicated deep-module docs inline.

#4: We built a ball of mud

Problem: Agents accelerate coding and entropy. Codebases get complex faster than ever.

Fix: Care about design every day—Kent Beck and John Ousterhout's deep-module philosophy baked into skills.

SkillInvocationRole
/to-prdUserQuizzes which modules you're touching before creating a PRD
/improve-codebase-architectureUserHTML report of deepening opportunities, then grill through your pick
codebase-designModelDeep modules: behaviour behind small interfaces at clean seams

Pocock recommends running /improve-codebase-architecture once every few days on active codebases.


User-invoked vs model-invoked (v1.0 taxonomy)

v1.0 renamed the old Commands / Skills split. Full definition lives in docs/invocation.md.

TypeWho triggersPurposeRule
User-invokedYou type /skill-nameOrchestrate workflowsMay call model-invoked skills
Model-invokedYou or the agent when task fitsHold reusable disciplineNever call another user-invoked skill

This maps directly to Pocock's skill-invocable tier proposal—and to the Kaggle whitepaper's progressive disclosure levels.

Router: /ask-matt (user-invoked) sends you to the right flow when you are not sure which skill fits.


The skill map (June 2026)

Always verify against the upstream README—skills are versioned with changesets (currently v1.0.1).

Engineering — daily code work

User-invoked

SkillWhat it does
ask-mattRouter over user-invoked skills in this repo
grill-with-docsGrilling + domain model + CONTEXT.md + ADRs
triageMove issues through a state machine of triage roles (GitHub, Linear, local, PRs)
improve-codebase-architectureScan → HTML report → grill through chosen deepening
setup-matt-pocock-skillsOne-time repo config: tracker, labels, doc layout
to-issuesBreak plan/spec/PRD into vertical-slice issues
to-prdSynthesize current conversation into PRD → issue tracker
prototypeThrowaway prototype: terminal app for logic, or multiple UI variations on one route

Model-invoked

SkillWhat it does
diagnosing-bugsDisciplined debug loop for hard bugs and perf regressions
tddRed-green-refactor; vertical slices
domain-modelingSharpen glossary; stress-test terms; update CONTEXT.md / ADRs
codebase-designDeep modules: interface, depth, seam, adapter vocabulary

Productivity — not code-specific

User-invoked

SkillWhat it does
grill-meInterview loop for any plan or design
handoffCompact conversation into handoff doc for another agent
teachMulti-session teaching workspace (v1.0.1: reuse-first components in ./assets/)
writing-great-skillsReference for predictable skill authoring (replaced write-a-skill)

Model-invoked

SkillWhat it does
grillingShared interview loop for grill-me and grill-with-docs

Misc — install when needed

SkillWhat it does
git-guardrails-claude-codeHooks blocking dangerous git (push, reset --hard, clean, etc.)
migrate-to-shoehornMigrate as assertions to @total-typescript/shoehorn
scaffold-exercisesExercise dirs: sections, problems, solutions, explainers
setup-pre-commitHusky + lint-staged + Prettier + types + tests
resolving-merge-conflictsLoop for in-progress merge/rebase conflicts (v1.0)

Removed in v1.0 (breaking)

Old skillStatus
cavemanRemoved (duplicate test)
zoom-outRemoved (unused)
write-a-skill→ writing-great-skills
diagnose→ diagnosing-bugs
design-an-interface→ prototype
triage-issue→ triage
ubiquitous-language→ domain-modeling

Philosophy: Real engineering, not vibe coding

The README and skill descriptions repeatedly emphasize discipline over speed:

  • TDD first — /tdd enforces red-green-refactor via the model-invoked skill
  • Planning before coding — /grill-me and /grill-with-docs won't let you proceed until decisions are explicit
  • Vertical slices — /to-issues breaks work into independently shippable pieces
  • Git safety — /git-guardrails-claude-code blocks destructive commands unless confirmed
  • Deep modules + domain language — /codebase-design and /domain-modeling keep architecture and vocabulary aligned

This stands in contrast to "generate a feature and hope it works" workflows common in demo-focused agent usage.


How /tdd works (red-green-refactor)

The /tdd skill is the most referenced in Matt Pocock's public posts. The pattern:

  1. Red — Write a failing test that describes the desired behavior.
  2. Green — Write the minimum code to make the test pass.
  3. Refactor — Clean up the implementation while keeping tests green.
  4. Repeat — Build the feature one vertical slice at a time.

Per the skill description: "Builds features or fixes bugs one vertical slice at a time." This prevents over-engineering and ensures every line of code is verified.

Example workflow:

  • User: "Add validation to the login form"
  • Agent with /tdd: "I'll write a test for invalid email first, then implement validation to make it pass."

Install:

bash
npx skills@latest add mattpocock/skills/tdd

How /to-prd and /to-issues chain together

A common pattern in the repository is chaining skills:

  1. Conversation — Discuss a feature or problem with the agent.
  2. /to-prd — Synthesize the conversation into a Product Requirements Document and file as a GitHub issue. No interview needed—it just summarizes what you already discussed.
  3. /to-issues — Break the PRD into independently-grabbable GitHub issues using vertical slices (end-to-end functionality, not layers).

This mirrors the "skills compound if you chain them" idea in our agent skills guide and gstack's sprint process.

Install both:

bash
npx skills@latest add mattpocock/skills/to-prd
npx skills@latest add mattpocock/skills/to-issues

Domain-driven design: CONTEXT.md + shared skills

Matt Pocock's architecture workflow in v1.0 is layered:

  1. /grill-with-docs or domain-modeling — build ubiquitous language in CONTEXT.md and ADRs
  2. codebase-design — deep modules, seams, adapters (Ousterhout vocabulary)
  3. /improve-codebase-architecture — scan codebase, HTML report, pick one deepening to grill through

Example: If your codebase has processOrder() but the business talks about "fulfillment workflows," domain-modeling flags the mismatch and suggests refactoring toward business language—then codebase-design guides where to put the new interface.

Install the v1.0 stack:

bash
npx skills@latest add mattpocock/skills
# Ensure: setup-matt-pocock-skills, improve-codebase-architecture, codebase-design, domain-modeling

Git guardrails: Preventing destructive commands

The /git-guardrails-claude-code skill is a safety net for agent-assisted git workflows. It sets up Claude Code hooks to block:

  • git push --force
  • git reset --hard
  • git clean -f
  • git branch -D
  • Other destructive commands

Unless you explicitly confirm the action, the hook prevents execution. This is critical when agents have terminal access.

Per the skill description: "Block dangerous git commands (push, reset --hard, clean, etc.) before they execute."

Install:

bash
npx skills@latest add mattpocock/skills/git-guardrails-claude-code

Prototyping: /prototype

The /prototype skill (v1.0, replaces design-an-interface) builds throwaway prototypes to flesh out a design:

  • Terminal app — when the question is state or business logic
  • Multiple UI variations — radically different approaches toggleable from one route

Use it before committing to an implementation path—same "compare alternatives early" goal as the old design skill, with less sub-agent overhead.

bash
npx skills@latest add mattpocock/skills/prototype

Writing skills: /writing-great-skills

Meta-skill for skill authors. Replaced write-a-skill in v1.0 with writing-great-skills plus a GLOSSARY.md—vocabulary and principles for predictable skills, hunting no-ops down to the sentence level.

Pairs with the Kaggle whitepaper's EDD guidance and Anthropic's agentskills.io spec.

bash
npx skills@latest add mattpocock/skills/writing-great-skills

Install paths and compatibility

All skills use the npx skills@latest add pattern from the skills CLI. They follow the SKILL.md format and work with:

  • Claude Code (primary target)
  • Other agents that support the SKILL.md convention (see agent skills guide)

Individual skill install:

bash
npx skills@latest add mattpocock/skills/<skill-name>

Examples:

bash
npx skills@latest add mattpocock/skills/tdd
npx skills@latest add mattpocock/skills/grill-me
npx skills@latest add mattpocock/skills/improve-codebase-architecture

Always check the README for the current install command—syntax can change with CLI releases.


Who is Matt Pocock?

Matt Pocock is a TypeScript educator and developer with:

  • Total TypeScript — A comprehensive, production-grade TypeScript course with thousands of students.
  • Former Vercel engineer — Worked on developer tooling and TypeScript infrastructure.
  • Former Stately engineer — Contributed to XState and state machine patterns.
  • 60,000+ newsletter subscribers — Regular TypeScript tips, agent workflows, and engineering insights.
  • 25,500+ → 135,000+ GitHub stars on mattpocock/skills (June 2026).

His expertise centers on TypeScript, developer education, and production engineering practices. The skills repository is a public release of the workflows he uses to ship code and teach at scale.

Primary channels:

  • Newsletter: Sign up for TypeScript and agent tips
  • Twitter/X: @mattpocock
  • GitHub: github.com/mattpocock
  • Total TypeScript: totaltypescript.com

A minimal "try it" path (June 2026)

  1. npx skills@latest add mattpocock/skills — pick setup-matt-pocock-skills, tdd, grill-me, git-guardrails-claude-code
  2. Run /setup-matt-pocock-skills once
  3. On your next feature: /grill-me → discuss → /to-prd → /to-issues → /tdd on first slice
  4. When lost: /ask-matt

For larger codebases add /improve-codebase-architecture, /domain-modeling, and /codebase-design (model-invoked—install with the bundle).

v1.0 token tip: Progressive disclosure cuts baseline context ~63%—see v1.0 guide.


How this fits the explainx.ai view of agent skills

The mattpocock/skills repository is a monorepo of opinionated workflows from a single author. explainx.ai hosts discoverable skills at /skills—a ranked directory from many authors, tagged by domain, with install commands you can copy without hunting GitHub READMEs.

The underlying pattern is the same: structured, reusable agent instructions. Many teams use both:

  • mattpocock/skills for TDD, planning, and git safety
  • /skills for domain skills—marketing, security, MCP builders, analytics integrations, and more

Browse the registry: /skills

Read our agent skills guide: What are agent skills? Complete guide


Comparison: mattpocock/skills vs gstack vs explainx.ai registry

ProjectAuthorFocusInstallLicense
mattpocock/skillsMatt Pocock (Total TypeScript)Production engineering: TDD, planning, DDD architecturenpx skills@latest add mattpocock/skills/<skill>MIT
gstackGarry Tan (Y Combinator)Sprint process: office hours, reviews, QA in browser, shipping./setup (team mode)MIT
explainx.ai /skillsCommunity (many authors)Discoverable, ranked skills across domainsBrowse at /skillsVaries per skill

All three are complementary: use mattpocock/skills for engineering rigor, gstack for sprint cadence, and /skills to discover domain-specific skills from the broader community.


Privacy and open source

Per the repository:

  • MIT license — Fully open source.
  • No telemetry — Skills are local instruction files, not SaaS.
  • No paywall — All skills free to use and modify.

This contrasts with some agent skill marketplaces that require accounts or usage fees.


Read next (explainx.ai)

  • Matt Pocock Skills v1.0 — Progressive Disclosure
  • Kaggle Agent Skills Whitepaper Guide
  • What are agent skills? Complete guide
  • Matt Pocock AI Coding Workshop
  • gstack: Garry Tan's open-source software factory
  • Browse discoverable skills at /skills

Summary

mattpocock/skills is Matt Pocock's MIT-licensed library for real engineering: four failure modes, user-invoked orchestrators and model-invoked discipline, 135K+ GitHub stars, v1.0.1 with progressive disclosure.

Start with /setup-matt-pocock-skills, then /grill-me, /tdd, and /git-guardrails-claude-code. Scale with /improve-codebase-architecture, domain-modeling, and codebase-design.

Primary repository: github.com/mattpocock/skills · @mattpocockuk · totaltypescript.com

Next: Browse discoverable skills at /skills → · v1.0 progressive disclosure → · Newsletter →


Skill descriptions follow the upstream README and CHANGELOG as of June 2026 (v1.0.1). Star counts change daily—verify at github.com/mattpocock/skills.

Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

Related posts

Jun 18, 2026

Matt Pocock Skills v1.0: 63% Fewer Tokens With Progressive Disclosure

Total TypeScript author Matt Pocock released Skills repo v1.0: short summaries load first, full guides on demand, 63% lower token costs. New /codebase-design and /ask-matt skills—plus an open question on user vs model invocable tiers.

Jul 17, 2026

Hallmark by Nutlope: Anti-AI-Slop Design Skill for Claude Code, Cursor, and Codex

Every agent-generated landing page looks the same because models share the same training defaults. Hallmark encodes anti-slop rules — structural variety, honest copy, locked tokens — and ships as a SKILL.md for Claude Code, Cursor, and Codex. Here's what it does and how to install it from explainx.ai.

Jul 4, 2026

The Map Is Not the Territory: Finding Your Unknowns with Claude Fable 5

A new post from Claude Code engineer Thariq argues that working with Claude Fable 5 keeps re-teaching an old lesson: your prompt, skills, and context are a map of the work, not the work itself. Here's what that means for PRs, skills, and finding the unknown unknowns before your agent does.