codebase-design
Design deeper modules with clearer boundaries
- For people who code
- Nothing to set up
What it does
Shared vocabulary for designing deep modules.
Instructions the AI follows
This is the skill's own instruction file. It's written for the AI, so it can read like a list of orders. You don't need to read it to use the skill.
Design deep modules: a lot of behaviour behind a small interface, placed at a clean seam, testable through that interface. Use this language and these principles wherever code is being designed or restructured. The aim is leverage for callers, locality for maintainers, and testability for everyone.
Use these terms exactly: don't substitute "component," "service," "API," or "boundary." Consistent language is the whole point.
Module: anything with an interface and an implementation. Deliberately scale-agnostic: a function, class, package, or tier-spanning slice. _Avoid_: unit, component, service.
Interface: everything a caller must know to use the module correctly: the type signature, but also invariants, ordering constraints, error modes, required configuration, and performance characteristics. _Avoid_: API, signature (too narrow, they refer only to the type-level surface).
From skills/engineering/codebase-design/SKILL.md in mattpocock/skills · read from GitHub at commit 5beb35b
Try it
- 1Add codebase-design to your AI
- 2Ask for something like this
Design the interface for a new notifications module so callers don't need to know how it works.
Where should the seam go between our billing and accounts code?
Make this module easier to test and for an agent to navigate.
Example prompts written from the skill's instructions.
Safety
SafeDetails
All three scanners ran and found nothing that could steal your data or hijack your AI.
What it can do- Nothing the scanners noticed.
- Scanners
- SkillSpector 2.12.0 · HoneyBadger 0.8.1 · agentscan 1.2.2
- Version scanned
5beb35bmattpocock/skills/skills/engineering/codebase-design- Scanned on
- Nov 9, 2026
- Raw reports
- full report skillspector honeybadger agentscan
- Secret scanPassed
- Dangerous commandsPassed
- Network callsPassed
- PermissionsPassed
- Prompt injectionPassed
- LicensePassed
- MaintenancePassed
No person has signed this one off yet.
nothing found
An AI reviewer read the files and wrote this. It is not a scan, nobody approved it yet, and it never sets the label above.
Three open-source scanners (SkillSpector, HoneyBadger, agentscan) check this exact version. Heads up means it could steal your data or hijack your AI. What it can do is listed, not warned about. Scanners miss things.
How we check: only harm earns a Heads up, meaning prompt injection (OWASP LLM01) or data leaks (LLM02), in files the skill ships. Abilities like running commands (LLM06) are listed, not warned about. No AI is used for this step. OWASP
Details
- Stars
- 332kwhole repo
- Installs
- 992kon skills.sh
- Last updated
- Nov 24, 2026on GitHub
GitHub and skills.sh numbers are a snapshot from Nov 24, 2026, not live.
Compared with
Picked from reading the skills, not yet tested head to head.
A strong alternative for untangle a messy codebase
Pick it instead if you only want shared terms for talking about structure, not changes.
Our pickimprove-codebase-architectureCommunity
Comments
How to add codebase-design to Claude
Press Add to your AI at the top of this page and pick Claude, or do it yourself:
- Download the skill. Keep the .zip as it is.
- On Claude's skills page, click +, then Create skill, then Upload a skill.
- Pick the file you downloaded and switch the skill on.
Works on every Claude plan, Free included. Code execution and file creation need to be on in Claude's settings. How to add a skill to Claude, step by step.
In ChatGPT
Skills are on ChatGPT Business, Enterprise, Healthcare and Edu plans. Download the skill. Keep the .zip as it is. In ChatGPT, open Plugins in the sidebar, then the Skills tab, then Create, then Upload from your computer. Pick the file you downloaded. ChatGPT checks it, then it's ready. More on ChatGPT.
For AI apps and agents: the skill's instructions as plain text, at the version we scanned.