unlockers-skills-library
AGENTS.md4 starsChanged 3 months agoMITView on GitHub
This is a library of agent definitions, skills, and the documentation they reference. It holds no application code. Everything here is prose that an agent reads and acts on, so the quality bar is whether an agent given only this file plus one skill would do the right thing. Copy this file to CLAUDE.md or symlink it if your tooling expects that name. Three kinds of file, and the distinction matters when adding one: Diagrams stay in diagrams/ and out…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository19 other files it gives its agents.
- adapter-contract-testingSkill
- azure-devops-prSkill
- bugszero-root-causeSkill
- legacy-3pSkill
- port-refactoringSkill
- quality-gateSkill
- review-ai-writingSkill
- review-allSkill
- review-architectureSkill
- review-complexitySkill
- review-driftSkill
- review-impactSkill
- review-prSkill
- review-securitySkill
- review-slopSkill
- review-testingSkill
- scope-challengeSkill
- teams-local-messagesSkill
- write-testsSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 86
Examples are Python. The rules are not: Do not expand an example into five languages — it lengthens the page without clarifying the rule, …
- Distinctive: line 103
Check whether it is a lens on something that exists rather than a new thing.
- Very specific: line 108
Put shared knowledge in docs/ and link to it.
- Distinctive: line 110
Add it to the README tables and to the map above.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Working in This Repository
This is a library of agent definitions, skills, and the documentation they reference. It holds no application code. Everything here is prose that an agent reads and acts on, so the quality bar is whether an agent given only this file plus one skill would do the right thing.
Copy this file to CLAUDE.md or symlink it if your tooling expects that name.
The map
Three kinds of file, and the distinction matters when adding one:
| Directory | What lives there | Test for belonging |
agents/ | Autonomous task-performers with their own loop and stopping condition | Runs unattended for many steps and decides when it is done |
skills/ | Task-scoped capabilities invoked for one job | Has an obvious "I am now doing X" trigger |
docs/ | Knowledge that more than one skill needs | Two or more things link to it, or would if it existed |
diagrams/ | Visual companions, for humans | It would be weight in a file an agent reads |
Diagrams stay in diagrams/ and out of the skills and docs: those are read by agents, where
prose is the working format. If a diagram and the prose disagree, the prose is right.
A rule that only one skill uses belongs in that skill. A rule two skills use belongs in
docs/ — otherwise the copies drift, which is exactly how the review protocol ended up
worded three different ways before it was extracted.
What is here
Reviewing. docs/review-protocol.md is the entry point: it
owns the invocation contract, the exhaustiveness rule, the severity vocabulary, the report
shape, the rules every reviewer obeys, and § 7 for later rounds. The seven skills/review-* lens skills each add one lens on top of it. Start
there before reading any individual reviewer. skills/review-all runs five of
them in parallel before merge, then the fix loop: the same reviewers approve the plan and
verify the fix against one shared history, so the rounds converge.
Testing. docs/testing-rules.md is the standard;
skills/write-tests applies it,
skills/review-testing enforces it with the help of
docs/testing-review-guide.md, and
skills/adapter-contract-testing covers the
risk the no-mocks rule creates — a fake that has drifted from what it stands in for.
Deciding what to build. skills/scope-challenge
runs at the front of feature work: a very short PRD, then reductions offered to the user
before anything is built. It questions what; the feature workflow's slicing step then
handles how.
Changing code. docs/bugfix-workflow.md and
docs/feature-workflow.md are the defaults, both test-first.
skills/bugszero-root-cause is the escalation when a
bug is the second of its kind. agents/refactor restructures without
changing behaviour, guided by
docs/accidental-complexity-guide.md and
docs/design-patterns.md. The target shape both workflows and
the refactor agent aim at is stated in docs/code-design-rules.md
(inside a type or function) and
docs/hexagonal-architecture-rules.md (where code
goes). skills/port-refactoring designs the port an adapter
to an external service should become, following
docs/port-refactoring-method.md.
Landing it. agents/merger owns the merge lifecycle.
skills/azure-devops-pr is the Azure DevOps
implementation of the PR-host operations it needs.
The backstop. Everything above nudges: reviewers report and hope, agents improve what
they are pointed at. skills/quality-gate is what runs when
the nudges do not land — objective thresholds against the codebase as it stands, last in
CI, catching the drift that accumulates when every individual review was right to pass.
It is the only thing here that cannot be reasoned with.
Beyond the diff. skills/review-drift sits between the
two: judgement like a reviewer, but over the whole codebase rather than a diff. After
merges land it asks what the rest of the code now owes — the new type still missing
elsewhere, the third workaround for one root cause, the rule written down and applied once
— and files what it finds as issues. The gate sees that a file got too big; the drift
review sees why, and where else the same thing is happening.
Prototypes. Skills marked status: prototype in their frontmatter are unproven and
may change or be removed. skills/teams-local-messages
reads and recaps Teams conversations from the local cache (macOS, new Teams).
Conventions for content
- Examples are Python. The rules are not. Do not expand an example into five languages — it lengthens the page without clarifying the rule, and translation is something an agent does well on request. Say "examples are Python" once and move on.
- State the rule, then the consequence. A rule an agent cannot see the cost of gets dropped the first time it is inconvenient.
- Show the fix, not the principle. "Do it like
path/to/file:45" beats a paragraph. - Say when the answer is nothing. Reviewers especially must be able to return an empty report without feeling they have failed.
- Do not hardcode one project. Organisation names, branch names, directory layouts and
toolchain commands are inputs.
mainis the default base branch;<run tests>is a placeholder. Anything that cannot be generalised goes in the skill's name — seeazure-devops-pr. - Platform commands default to GitHub
gh, with the GitLab and Azure DevOps equivalents noted where they differ.
Adding a skill
- Check whether it is a lens on something that exists rather than a new thing. Another reviewer is usually a section in an existing one.
skills/<name>/SKILL.md, with YAML frontmatter:name,description, andargsif it takes any. Thedescriptionis what gets matched against a user's request — write it to be found, listing the phrasings that should trigger it.- Put shared knowledge in
docs/and link to it. Put scripts inside the skill directory, not in a repo-levelscripts/— a skill has to be copyable on its own. - Add it to the README tables and to the map above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

