agentleFS
unlockers-aiunlockers-ai/unlockers-skills-library/AGENTS.md

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…

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
  1. Distinctive:

    Examples are Python. The rules are not: Do not expand an example into five languages — it lengthens the page without clarifying the rule, …

    line 86
  2. Distinctive:

    Check whether it is a lens on something that exists rather than a new thing.

    line 103
  3. Very specific:

    Put shared knowledge in docs/ and link to it.

    line 108
  4. Distinctive:

    Add it to the README tables and to the map above.

    line 110

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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:

DirectoryWhat lives thereTest for belonging
agents/Autonomous task-performers with their own loop and stopping conditionRuns unattended for many steps and decides when it is done
skills/Task-scoped capabilities invoked for one jobHas an obvious "I am now doing X" trigger
docs/Knowledge that more than one skill needsTwo or more things link to it, or would if it existed
diagrams/Visual companions, for humansIt 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. main is the default base branch; <run tests> is a placeholder. Anything that cannot be generalised goes in the skill's name — see azure-devops-pr.
  • Platform commands default to GitHub gh, with the GitLab and Azure DevOps equivalents noted where they differ.

Adding a skill

  1. 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.
  2. skills/<name>/SKILL.md, with YAML frontmatter: name, description, and args if it takes any. The description is what gets matched against a user's request — write it to be found, listing the phrasings that should trigger it.
  3. Put shared knowledge in docs/ and link to it. Put scripts inside the skill directory, not in a repo-level scripts/ — a skill has to be copyable on its own.
  4. Add it to the README tables and to the map above.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.