coding-agents-skills
AGENTS.md12 starsChanged 22 days agoMITView on GitHub
This document contains instructions for AI coding agents managing this repository. This is a curated collection of specialized skills for AI coding agents. Each skill lives in skills/<skill-name>/ and is designed to be loaded by agents to enhance their capabilities in specific domains (frameworks, deployment platforms, design patterns, etc.). The repo is documentation-first: the primary artifact is Markdown. There is no build system, no CI, and no runtime dependencies. Quality is ensured through consistent structure, peer review, and optional skillgrade…
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,774 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 repository25 other files it gives its agents.
- skills/genai-tk/references/agents.mdAGENTS.md
- skills/mastra/references/agents.mdAGENTS.md
- adaption-aiSkill
- api-designSkill
- clairicSkill
- database-designSkill
- dddSkill
- genai-tkSkill
- langchainSkill
- linkup-extractSkill
- linkup-fetchSkill
- linkup-researchSkill
- linkup-searchSkill
- linkup-workflowSkill
- mastraSkill
- microservices-patternsSkill
- performance-optimizationSkill
- prime-rlSkill
- scalingoSkill
- security-best-practicesSkill
- smolagentsSkill
- testing-patternsSkill
- typesafe-aiSkill
- uiSkill
- unsloth-hf-jobsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
26 rules. About 0 are common, 14 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Every skill MUST follow these conventions.
- Very specific: line 44
Every SKILL.md MUST begin with YAML frontmatter in this exact format:
- Distinctive: line 57
Start with a trigger sentence — when/how the skill should be activated
- Distinctive: line 60
Keep it under 500 characters when possible.
- Very specific: line 61
Use > folded style for multi-line descriptions
- Distinctive: line 65
After the frontmatter, use this structure:
- Very specific: line 89
Use ## (H2) for major sections, ### (H3) for subsections
- Very specific: line 92
Keep the main SKILL.md focused — deep details go in references/
- Distinctive: line 93
NEVER include installation instructions for the skill loader itself (that's the consuming agent's concern)
- Very specific: line 97
Create references/ only when the skill has deep-dive topics that would bloat SKILL.md:
- Distinctive: line 122
Follow this workflow precisely when adding a new skill:
- Distinctive: line 132
Use the template from "Skill Conventions" above.
- Very specific: line 141
Only if SKILL.md would exceed ~300 lines without them.
- Distinctive: line 166
When modifying an existing skill:
- Distinctive: line 171
Update reference files: if adding deep-dive content
- Very specific: line 186
Project Structure tree: must match actual ls skills/
- Distinctive: line 188
Roadmap: must reflect reality — don't claim things are done that aren't
- Distinctive: line 192
When updating README after adding a skill:
- Very specific: line 195
Add --- horizontal rules between skill sections for visual separation
- Distinctive: line 223
When editing files in this repo:
- Very specific: line 233
All headings follow ATX style (# not === underlines)
- Very specific: line 237
No HTML in Markdown except for <details> / <summary> when necessary
- Distinctive: line 253
Treat it as a documentation codebase.
- Very specific: line 259
When you change a skill's eval harness (task, grader, rubric, or solution), run ./scripts/run-evals.sh <skill> --validate to confirm the …
- Very specific: line 265
Read 2–3 existing SKILL.md files to understand the house style
- Distinctive: line 267
Keep it simple: one skill, one domain, clear triggers, practical examples
≈ “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
coding-agents-skills — Agent Instructions
This document contains instructions for AI coding agents managing this repository.
Repository Overview
This is a curated collection of specialized skills for AI coding agents. Each skill lives in skills/<skill-name>/ and is designed to be loaded by agents to enhance their capabilities in specific domains (frameworks, deployment platforms, design patterns, etc.).
The repo is documentation-first: the primary artifact is Markdown. There is no build system, no CI, and no runtime dependencies. Quality is ensured through consistent structure, peer review, and optional skillgrade evaluations that every skill ships (see docs/eval-guidelines.md).
Repository Structure
coding-agents-skills/
├── skills/
│ ├── <skill-name>/ # One directory per skill
│ │ ├── SKILL.md # REQUIRED — core skill definition
│ │ ├── references/ # OPTIONAL — deep-dive docs
│ │ ├── scripts/ # OPTIONAL — runnable example scripts
│ │ ├── AGENTS.md # OPTIONAL — skill-specific agent notes
│ │ ├── eval.yaml # EVAL — skillgrade harness (all skills ship one)
│ │ ├── instructions/ # EVAL — agent task prompts
│ │ ├── graders/ # EVAL — deterministic graders (python3, stdlib only)
│ │ ├── rubrics/ # EVAL — LLM rubric criteria
│ │ ├── solutions/ # EVAL — reference solutions for --validate
│ │ └── fixtures/ # EVAL — OPTIONAL input files copied into the workspace
│ └── ...
├── docs/eval-guidelines.md # Eval layout and authoring rules
├── scripts/run-evals.sh # Local eval runner
├── scripts/build-site.py # Extracts skills/ into site/public/gallery.json
├── scripts/site_markdown.py # Stdlib Markdown renderer used by the generator
├── site/ # Vite + React + shadcn/ui gallery app (see below)
├── README.md # REQUIRED — human-facing overview
├── AGENTS.md # THIS FILE
└── LICENSE # REQUIRED — MITSkill Conventions
Every skill MUST follow these conventions. Inconsistencies break the loading contract for agent frameworks.
1. YAML Frontmatter (REQUIRED)
Every SKILL.md MUST begin with YAML frontmatter in this exact format:
---
name: <kebab-case-skill-name>
description: >
<trigger sentence>. Use this skill whenever the user mentions <keywords>,
wants to <actions>, or works with <tools/frameworks>. Also trigger for
<related terms>.
---Rules for description:
- Start with a trigger sentence — when/how the skill should be activated
- Mention keywords, tools, CLI commands, API names — these are how agents match
- Include "Also trigger for" with related terms users might say
- Keep it under 500 characters when possible; never exceed 1000
- Use
>folded style for multi-line descriptions
2. SKILL.md Structure
After the frontmatter, use this structure:
# <Human-Readable Skill Name>
[Brief 1-paragraph overview — what problem this skill solves]
## Quick Reference
[Table linking to reference files — ONLY if references/ exists]
## Core Workflow / Usage
[Step-by-step instructions for the most common tasks]
## <Topic Sections>
[Concrete examples, code snippets, configuration samples]
## Anti-Patterns to Avoid
[Common mistakes specific to this domain]
## When to Use / Not Use
[Decision criteria — saves tokens by avoiding irrelevant skill loads]Guidelines:
- Use
##(H2) for major sections,###(H3) for subsections - Code blocks MUST have language tags (e.g.
```python) - Tables are preferred for comparisons and option references
- Keep the main
SKILL.mdfocused — deep details go inreferences/ - NEVER include installation instructions for the skill loader itself (that's the consuming agent's concern)
3. references/ Directory (OPTIONAL)
Create references/ only when the skill has deep-dive topics that would bloat SKILL.md:
references/
├── <topic>.md # One file per deep topic
└── ...Reference file conventions:
- Named in
kebab-case.md - Linked from
SKILL.mdQuick Reference table - Self-contained — an agent should be able to read just this file and understand the topic
- Include code examples specific to the reference topic
4. Naming Conventions
| Element | Format | Example |
| Skill directory | kebab-case | smolagents, unsloth-hf-jobs |
name in frontmatter | kebab-case | smolagents, unsloth-hf-jobs |
| Reference files | kebab-case.md | api-reference.md |
| Section headers | Title Case | ## Core Workflow |
Adding a New Skill
Follow this workflow precisely when adding a new skill:
Step 1: Create the directory structure
mkdir -p skills/<skill-name>/references # references/ is optionalStep 2: Write SKILL.md
Use the template from "Skill Conventions" above. Ensure:
- YAML frontmatter with
nameanddescription - Clear trigger conditions in description
- Practical code examples with language tags
- "Anti-Patterns" section
- "When to Use / Not Use" section
Step 3: Add reference files (if needed)
Only if SKILL.md would exceed ~300 lines without them.
Step 4: Update README.md
The root README.md MUST be updated whenever skills change:
- Add the skill to the Project Structure tree
- Add a numbered section under Available Skills
- Mark status as
✅ Complete(or🚧 In Progressif incomplete) - Include: Description, Capabilities (bullet list), Use Cases (bullet list)
- If the skill has references, note the count:
Reference Files: N guides - Update the Roadmap checklist — mark
[x]for completed skills
Step 5: Self-review checklist
Before finishing, verify:
- All links in
SKILL.mdare relative (e.g.references/topic.md) - Code blocks have language tags
- No broken Markdown tables
- YAML frontmatter is valid (no unescaped colons in description if not quoted)
- Description is under 1000 characters
- Skill name in frontmatter matches directory name
Updating an Existing Skill
When modifying an existing skill:
- Read the current
SKILL.mdfirst — understand the existing voice and structure - Make minimal changes — don't restructure unless necessary
- Preserve the frontmatter — only update description if the skill's scope changes
- Update reference files if adding deep-dive content
- Update README.md if:
- The skill's capabilities change significantly
- Reference files are added/removed
- Status changes (e.g., from In Progress to Complete)
- Rebuild the gallery payload — run
python3 scripts/build-site.pyand commit the regeneratedsite/public/gallery.json. The Pages workflow fails when that payload no longer matchesskills/. The generator renders each skill's Markdown to HTML, so a docs edit shows up in the gallery after a rebuild. The React app insite/is only rebuilt by the workflow (npm run build); it needs no committed output.
README Maintenance Rules
The README.md is the human-facing entry point. Keep it accurate:
- Project Structure tree must match actual
ls skills/ - Skill count in "Available Skills" must match actual directories
- Roadmap must reflect reality — don't claim things are done that aren't
- Related Projects links should work (spot-check periodically)
- Status badges (
✅ Complete,🚧 In Progress,⏳ Planned) must be honest
When updating README after adding a skill:
- Insert the skill in the tree in alphabetical order OR at the end of its category
- Number "Available Skills" sections sequentially
- Add
---horizontal rules between skill sections for visual separation
Common Mistakes to Avoid
- Missing YAML frontmatter — This breaks agent loading in frameworks like genai-tk
- Overlong SKILL.md — If it exceeds 400 lines, consider splitting into references/
- Vague descriptions — "Use this for Python stuff" is not a trigger. Be specific: tools, commands, API names
- Forgetting README updates — The README and skills/ must stay in sync
- Using absolute file paths in links — Always relative:
references/topic.md - Missing anti-patterns — These save agents from common mistakes; always include them
- Inconsistent naming — Directory
foo-barbut frontmattername: foo_bar - No "When NOT to Use" — Agents waste tokens loading irrelevant skills
Git Workflow
This repo uses simple trunk-based development:
- Main branch is
main - No required PRs for small fixes — edit directly if confidence is high
- For new skills or major rewrites — create a branch, commit, and summarize changes
- Commit message style — Imperative mood, descriptive:
Add unsloth-hf-jobs skill for GPU fine-tuningUpdate Scalingo skill with SecNumCloud region detailsFix broken links in DDD references
- Do NOT commit unless explicitly asked by the user
File Editing Rules
When editing files in this repo:
- Prefer
editoverwritefor existing files — preserves structure - Read before editing — Always read the file first to understand context
- Batch reads — When updating README, read all skill SKILL.md files in parallel to verify content
- Preserve formatting — Match existing indentation, heading styles, table formats
- No trailing whitespace — Clean up if you notice it
Markdown Quality Standards
- All headings follow ATX style (
#not===underlines) - Code blocks fenced with triple backticks
- Tables use standard GFM pipe syntax with header separator
- Lists use
-for bullets,1.for numbered - No HTML in Markdown except for
<details>/<summary>when necessary - Line length: prefer under 120 chars, but don't hard-wrap prose
No Build, No CI, No Deploy
This repository has:
- No build step for the skills — Markdown is the artifact.
scripts/build-site.pyis a standalone extractor, not a build step for the skills - One app build — the gallery in
site/is a Vite + React + shadcn/ui app (npm run build), built and deployed by the Pages workflow. Its source is committed;site/dist/is not - No CI for evals — Manual commits; evaluations run locally. The only workflow
(
.github/workflows/pages.yml) verifies the payload, builds the app and deploys it - No Python runtime dependencies — Graders, the generator and the Markdown renderer use the
standard library only. The gallery app carries its own npm dependencies in
site/package.json - Evaluations — Every skill ships a skillgrade harness, run with
./scripts/run-evals.sh
Treat it as a documentation codebase. The structural checks are:
- Does
SKILL.mdload correctly in an agent framework? - Are all relative links valid?
- Is YAML frontmatter parseable?
- Does README match the actual directory structure?
When you change a skill's eval harness (task, grader, rubric, or solution), run
./scripts/run-evals.sh <skill> --validate to confirm the grader still scores the reference
solution correctly. Follow docs/eval-guidelines.md when adding a harness to a new skill.
When in Doubt
- Read 2–3 existing
SKILL.mdfiles to understand the house style - The
ddd/andsmolagents/skills are the most mature — use them as reference - Keep it simple: one skill, one domain, clear triggers, practical examples
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.

