agentleFS
svngokusvngoku/coding-agents-skills/AGENTS.md

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…

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

    Every skill MUST follow these conventions.

    line 40
  2. Very specific:

    Every SKILL.md MUST begin with YAML frontmatter in this exact format:

    line 44
  3. Distinctive:

    Start with a trigger sentence — when/how the skill should be activated

    line 57
  4. Distinctive:

    Keep it under 500 characters when possible.

    line 60
  5. Very specific:

    Use > folded style for multi-line descriptions

    line 61
  6. Distinctive:

    After the frontmatter, use this structure:

    line 65
  7. Very specific:

    Use ## (H2) for major sections, ### (H3) for subsections

    line 89
  8. Very specific:

    Keep the main SKILL.md focused — deep details go in references/

    line 92
  9. Distinctive:

    NEVER include installation instructions for the skill loader itself (that's the consuming agent's concern)

    line 93
  10. Very specific:

    Create references/ only when the skill has deep-dive topics that would bloat SKILL.md:

    line 97
  11. Distinctive:

    Follow this workflow precisely when adding a new skill:

    line 122
  12. Distinctive:

    Use the template from "Skill Conventions" above.

    line 132
  13. Very specific:

    Only if SKILL.md would exceed ~300 lines without them.

    line 141
  14. Distinctive:

    When modifying an existing skill:

    line 166
  15. Distinctive:

    Update reference files: if adding deep-dive content

    line 171
  16. Very specific:

    Project Structure tree: must match actual ls skills/

    line 186
  17. Distinctive:

    Roadmap: must reflect reality — don't claim things are done that aren't

    line 188
  18. Distinctive:

    When updating README after adding a skill:

    line 192
  19. Very specific:

    Add --- horizontal rules between skill sections for visual separation

    line 195
  20. Distinctive:

    When editing files in this repo:

    line 223
  21. Very specific:

    All headings follow ATX style (# not === underlines)

    line 233
  22. Very specific:

    No HTML in Markdown except for <details> / <summary> when necessary

    line 237
  23. Distinctive:

    Treat it as a documentation codebase.

    line 253
  24. Very specific:

    When you change a skill's eval harness (task, grader, rubric, or solution), run ./scripts/run-evals.sh <skill> --validate to confirm the …

    line 259
  25. Very specific:

    Read 2–3 existing SKILL.md files to understand the house style

    line 265
  26. Distinctive:

    Keep it simple: one skill, one domain, clear triggers, practical examples

    line 267

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

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 — MIT

Skill 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.md focused — deep details go in references/
  • 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.md Quick 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

ElementFormatExample
Skill directorykebab-casesmolagents, unsloth-hf-jobs
name in frontmatterkebab-casesmolagents, unsloth-hf-jobs
Reference fileskebab-case.mdapi-reference.md
Section headersTitle 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 optional

Step 2: Write SKILL.md

Use the template from "Skill Conventions" above. Ensure:

  • YAML frontmatter with name and description
  • 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 Progress if 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.md are 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:

  1. Read the current SKILL.md first — understand the existing voice and structure
  2. Make minimal changes — don't restructure unless necessary
  3. Preserve the frontmatter — only update description if the skill's scope changes
  4. Update reference files if adding deep-dive content
  5. Update README.md if:
    • The skill's capabilities change significantly
    • Reference files are added/removed
    • Status changes (e.g., from In Progress to Complete)
  6. Rebuild the gallery payload — run python3 scripts/build-site.py and commit the regenerated site/public/gallery.json. The Pages workflow fails when that payload no longer matches skills/. The generator renders each skill's Markdown to HTML, so a docs edit shows up in the gallery after a rebuild. The React app in site/ 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-bar but frontmatter name: foo_bar
  • No "When NOT to Use" — Agents waste tokens loading irrelevant skills

Git Workflow

This repo uses simple trunk-based development:

  1. Main branch is main
  2. No required PRs for small fixes — edit directly if confidence is high
  3. For new skills or major rewrites — create a branch, commit, and summarize changes
  4. Commit message style — Imperative mood, descriptive:
    • Add unsloth-hf-jobs skill for GPU fine-tuning
    • Update Scalingo skill with SecNumCloud region details
    • Fix broken links in DDD references
  5. Do NOT commit unless explicitly asked by the user

File Editing Rules

When editing files in this repo:

  • Prefer edit over write for 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.py is 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:

  1. Does SKILL.md load correctly in an agent framework?
  2. Are all relative links valid?
  3. Is YAML frontmatter parseable?
  4. 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.md files to understand the house style
  • The ddd/ and smolagents/ skills are the most mature — use them as reference
  • Keep it simple: one skill, one domain, clear triggers, practical examples

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.