agentleFS
staruhubstaruhub/ClaudeSkills/AGENTS.md

ClaudeSkills

AGENTS.md705 starsChanged 4 months agoMITView on GitHub

Curated skills live under skills/ and must pass the L1 gates. Experimental or personal-use skills live under lab/ (same directory layout, Geek-skills-xxx naming) — they are excluded from scripts/validate.py, scripts/run_routing_evals.py, and scripts/install_skill.py, and are not listed in the curated index on the homepage. Promote a lab skill by moving its directory into skills/ and bringing it up to the quality standard; the reverse move demotes it. Other top-level files: - README.md: project overview and curated skill index (English); README.zh-CN.md is…

  • Reads credentials
  • 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 35,266 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 repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Prefer iterating on existing skills instead of introducing new parallel variants.

    line 24
  2. Distinctive:

    Keep useful upstream updates, but avoid reverting normalized frontmatter unless the slash command is intentionally changing.

    line 40
  3. Distinctive:

    Update the README whenever the visible skill list, layout rules, or notable sync status changes.

    line 41
  4. Very specific:

    Prefer ASCII in SKILL.md files unless non-ASCII is required by the skill content.

    line 44
  5. Distinctive:

    Keep artifacts small and focused.

    line 46
  6. Distinctive:

    Avoid duplication: update existing skills instead of copying large sections across files.

    line 47
  7. Very specific:

    No full unit/integration test suite is present yet.

    line 50
  8. Very specific:

    Use consistent naming (for example *.test.*).

    line 52
  9. Very specific:

    Do not commit secrets or private data.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

Repository Guidelines

Project Structure & Module Organization

Skills are stored as unpacked directories under skills/:

skills/
├── Geek-skills-xxx/
│   ├── SKILL.md        # Core skill definition (source of truth)
│   ├── scripts/        # Optional executable scripts
│   ├── references/     # Optional reference documents
│   └── assets/         # Optional templates and resources
├── Geek-skills-yyy/
│   └── ...

Curated skills live under skills/ and must pass the L1 gates. Experimental or personal-use skills live under lab/ (same directory layout, Geek-skills-xxx naming) — they are excluded from scripts/validate.py, scripts/run_routing_evals.py, and scripts/install_skill.py, and are not listed in the curated index on the homepage. Promote a lab skill by moving its directory into skills/ and bringing it up to the quality standard; the reverse move demotes it.

Other top-level files:

  • README.md: project overview and curated skill index (English); README.zh-CN.md is the Chinese version — keep both in sync
  • lab/README.md: index of experimental skills
  • AGENTS.md: repository guidelines (this file)

Prefer iterating on existing skills instead of introducing new parallel variants.

Build, Test, and Development Commands

Most changes are content edits to skill files. Two canonical checks exist:

  • python3 scripts/validate.py — structural L1 assertions for every curated skill (frontmatter, line caps, 三件套 sections, orphan files, platform-path/CVE hardcoding). Run before publishing any skill change.
  • python3 scripts/run_routing_evals.py — validates all evals/routing-evals.json files (schema, global id uniqueness, route_to targets, cross-skill prompt conflicts). Add --emit-prompts to produce an agent-based L2 routing test bundle. Run after changing any skill description.
  • python3 scripts/install_skill.py <name> — install a skill under a clean command name (--list, --project, --force, --dry-run).

CI (.github/workflows/validate.yml) runs the two L1 gates plus a script compile-check on every push and PR.

Syncing Downloaded .skill Packages

  1. Unpack the candidate package into a temporary directory.
  2. Match it only to an existing repository skill unless intentionally adding a new one.
  3. Preserve repo naming conventions: skills/Geek-skills-xxx/, references/, assets/, scripts/, and evals/.
  4. Keep useful upstream updates, but avoid reverting normalized frontmatter unless the slash command is intentionally changing. (Per Claude Code's rules, the slash command comes from the installed directory name, not the frontmatter name, which is only a display label.)
  5. Update the README whenever the visible skill list, layout rules, or notable sync status changes. Last download-folder sync: 2026-04-21, covering existing matching skills only.

Coding Style & Naming Conventions

  • Prefer ASCII in SKILL.md files unless non-ASCII is required by the skill content.
  • Skill directories use Geek-skills-xxx naming convention (lowercase kebab-case after prefix).
  • Keep artifacts small and focused; avoid single files growing beyond ~200-300 lines without refactoring.
  • Avoid duplication: update existing skills instead of copying large sections across files.

Testing Guidelines

No full unit/integration test suite is present yet. Two pre-publish validation scripts act as L1 quality gates (see Build, Test, and Development Commands above): scripts/validate.py and scripts/run_routing_evals.py; both should print L1 PASS. If you add deeper tests:

  • State the framework and how to run it (one command).
  • Use consistent naming (for example *.test.*).
  • Define any coverage expectations and what counts as "done".

Commit & Pull Request Guidelines

This repository uses Git. Existing history uses short, imperative commit messages (for example Add repository guidelines).

Guidelines:

  • Commits: imperative, minimal scope, no drive-by reformatting.
  • PRs: include purpose, list affected files/skills, and note any validation performed. Add screenshots only when an artifact has a visual output.

Security & Configuration Tips

Do not commit secrets or private data. If a skill requires credentials, document environment variable placeholders (for example API_KEY) rather than real values.

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.