mattpocock/skills
A pack of reusable prompt playbooks that keep AI coding agents like Claude Code from going off the rails
mattpocock/skills is a collection of 'skill' files that guide AI coding agents (Claude Code, Codex, etc.) to interview you before coding, share consistent project terminology, run test-driven development loops, and periodically review codebase architecture. Each skill is a small, editable instruction document rather than a rigid all-in-one framework. It can be installed as a managed Claude Code plugin or copied into a project as editable files via the skills.sh installer.
What it does
- Targets four common failure modes with AI coding agents: misunderstanding what you want, overly verbose responses, code that doesn't actually work, and codebases that turn into unmanageable messes over time.
- Skills like /grill-me and /grill-with-docs make the agent interrogate you about your plan before writing code, and /grill-with-docs also builds a shared CONTEXT.md vocabulary and ADR (architecture decision record) documents so agent responses get shorter and more precise over time.
- The /tdd skill enforces a red-green-refactor loop (write a failing test, then fix it) so the agent gets consistent feedback instead of guessing, while /diagnosing-bugs applies a disciplined step-by-step debugging process.
- /improve-codebase-architecture periodically scans a codebase for places where the design could be simplified ('deepening opportunities') and presents them as an HTML report, though the author notes it's a survey tool, not an automatic fixer for old, tangled code.
- Skills are split into 'user-invoked' ones you type explicitly (like /triage or /to-spec) and 'model-invoked' ones the agent can call automatically when relevant (like tdd or code-review), and installation is available via Claude Code plugin (auto-updating, read-only) or the skills.sh CLI (editable, forkable files).
Why it matters
As AI coding agents become a bigger part of everyday software work, having a lightweight, model-agnostic set of practices to keep them aligned, disciplined, and architecture-aware matters more than another rigid AI framework that takes control away from the developer. With 224,352 stars, this repo is being widely adopted as a practical reference for how experienced engineers actually structure their AI-agent workflows.
Terms in this repo
- Claude Code plugin · Anthropic의 코딩 에이전트 Claude Code에 통째로 설치되는, 자동 업데이트되는 읽기 전용 확장 기능 묶음
- skills.sh · skill 파일들을 프로젝트에 직접 복사해 넣어 사용자가 편집할 수 있게 해주는 설치 도구
- red-green-refactor · 실패하는 테스트를 먼저 작성한 뒤(red) 통과시키고(green) 코드를 정리하는(refactor) 테스트 주도 개발 절차
- ADR (Architecture Decision Record) · 설계 관련 결정과 그 이유를 기록해두는 문서 형식
- CONTEXT.md · 프로젝트에서 쓰는 전문 용어와 도메인 개념을 정리해 에이전트와 사람이 같은 언어로 소통하게 돕는 문서
Repository description (English)
Skills for Real Engineers. Straight from my .agents directory.
Open on GitHubTrending repos
- cathrynlavery/diagram-designA skill that makes AI coding tools draw magazine-quality diagrams instead of generic rounded boxes
- public-apis/public-apisA giant crowd-curated directory of free APIs for developers
- semantica-agi/semanticaAn open-source graph infrastructure that lets AI agents show their work, not just their answers
- cactus-compute/needleA 14MB AI model small enough to run tool-calling on a phone or watch, without internet
- unslothai/unslothA desktop app that lets you run and train AI models on your own computer, no coding required
- macro-inc/macroAn all-in-one workspace where email, chat, docs, tasks, and CRM are cross-linked and share one AI memory
- harry0703/MoneyPrinterTurboAn open-source tool that turns a single topic or keyword into a finished short video, complete with script, footage, subtitles, and music
- basecamp/omarchyA ready-made, opinionated Linux setup built by DHH
Latest from METAL LAB
- Apple Keeps 2027 Target for Camera AirPods, Qwen3.8-27B Makes 80 Tool Calls Locally
- Binance allows AI agents to trade automatically, limits left up to users
- Meta AI Mac App Now Pulls in Instagram, Facebook, and Ad Accounts
- OpenAI patches Codex file-deletion bug caused by temp-folder cleanup command
- NVIDIA's 300 Verified Skills Lift Correctness by 41 Points