agentleFS
bryanus1bryanus1/agent-skills/AGENTS.md

agent-skills

AGENTS.md0 starsChanged 11 days agoMITView on GitHub

You are assisting in the Agent Skills Hub repository. Your primary responsibility is to design, implement, test, and maintain modular, agent-agnostic skills whenever the user requests one. Whenever the user asks to create a new skill (e.g., "Crea una skill para X" or "Create a skill for Y"), follow these exact steps: Every skill directory MUST also have its own README.md (human-facing documentation with metadata table, installation commands, prompt examples, CLI script usage, and relative links to SKILL.md and references/).

  • Deletes or force-pushes
  • Commits and pushes

The file

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

12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Core Standard: Follow docs/SPECIFICATION.md strictly for all skills.

    line 10
  2. Distinctive:

    Basic Skill (Markdown Only): Use for procedural workflows, design rules, architecture checklists, and standard coding conventions.

    line 19
  3. Very specific:

    Tool-Assisted Skill: Use when the workflow benefits from executable scripts (scripts/), deep technical documentation (references/), or …

    line 21
  4. Distinctive:

    Place the skill in:

    line 25
  5. Very specific:

    Every SKILL.md MUST begin with a valid YAML frontmatter block:

    line 31
  6. Very specific:

    description: Must be under 350 characters (Progressive Disclosure rule).

    line 51
  7. Very specific:

    Ensure SKILL.md has the following standard sections:

    line 55
  8. Very specific:

    Every skill directory MUST also have its own README.md (human-facing documentation with metadata table, installation commands, prompt …

    line 64
  9. Distinctive:

    ALWAYS: run the linter after creating or updating any skill:

    line 67
  10. Very specific:

    Ensure the linter exits with PASS, 0 errors and 0 warnings (CI runs it in strict mode).

    line 74
  11. Distinctive:

    When a skill is added or its frontmatter changes, run:

    line 77
  12. Very specific:

    When updating an existing skill, bump its frontmatter version (major = breaking, minor = new capability, patch = fix or docs.

    line 86

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

Instructions for AI Agents in agent-skills

You are assisting in the Agent Skills Hub repository. Your primary responsibility is to design, implement, test, and maintain modular, agent-agnostic skills whenever the user requests one.


🎯 Repository Overview

  • Purpose: Centralized, standardized repository of skills for AI assistants and coding agents (Antigravity, Claude Code, OpenAI Codex, Cursor, Windsurf, etc.).
  • Core Standard: Follow docs/SPECIFICATION.md strictly for all skills.

🛠️ Step-by-Step Guide for Creating a New Skill

Whenever the user asks to create a new skill (e.g., "Crea una skill para X" or "Create a skill for Y"), follow these exact steps:

1. Determine Scope and Template

  • Basic Skill (Markdown Only): Use for procedural workflows, design rules, architecture checklists, and standard coding conventions.
    • Base template: templates/basic-skill/
  • Tool-Assisted Skill: Use when the workflow benefits from executable scripts (scripts/), deep technical documentation (references/), or reference outputs (examples/).
    • Base template: templates/tool-assisted-skill/

2. Choose Directory Location & Name

  • Place the skill in:
    • skills/<category>/<skill-name>/ (e.g., skills/git/conventional-commits/, skills/testing/tdd-workflow/)
    • OR skills/<skill-name>/ if unclassified.
  • Name format: Kebab-case (^[a-z0-9-]+$), lowercase, maximum 40 characters.

3. Write SKILL.md with Required Frontmatter

Every SKILL.md MUST begin with a valid YAML frontmatter block:

---
name: your-skill-name
version: 1.0.0
description: >-
  Concise explanation of what the skill does and when to activate it. Max 350 characters. Include triggering keywords.
tags: [tag1, tag2]
agents: [antigravity, claude-code, codex, cursor, windsurf]
triggers:
  - trigger phrase 1
  - trigger phrase 2
  - palabra clave en español (si aplica)
requirements:
  tools: [view_file, replace_file_content, run_command] # As needed
---

Critical Frontmatter Rules:

  • description: Must be under 350 characters (Progressive Disclosure rule). Do not put full runbooks inside the description.
  • triggers: Minimum 2 trigger phrases representing user intent in relevant languages (English / Spanish).

4. Structure the SKILL.md Body and Per-Skill README.md

Ensure SKILL.md has the following standard sections:

  1. # Title of the Skill
  2. ## 🎯 Propósito / Purpose: Clear objective and problem it solves.
  3. ## ⚡ Cuándo Activar esta Skill / When to Trigger: Unambiguous conditions for activation.
  4. ## 📋 Flujo de Trabajo Paso a Paso / Step-by-Step Workflow: Deterministic, numbered steps.
  5. ## ⚠️ Reglas Críticas / Critical Rules: Security constraints and non-negotiable guidelines.
  6. ## 📚 Referencias / References (Optional): Links to markdown files in references/.
  7. ## 🛠️ Scripts (Optional): Instructions on scripts in scripts/.

Every skill directory MUST also have its own README.md (human-facing documentation with metadata table, installation commands, prompt examples, CLI script usage, and relative links to SKILL.md and references/).

5. Validate with the Linter

ALWAYS run the linter after creating or updating any skill:

pnpm lint:strict

(Or node scripts/lint-skills.mjs --strict <path-to-skill>)

Ensure the linter exits with PASS, 0 errors and 0 warnings (CI runs it in strict mode). Fix any schema or validation issues before finishing.

6. Regenerate the Catalog

When a skill is added or its frontmatter changes, run:

pnpm catalog

This rewrites catalog/catalog.json and the generated <!-- catalog-table --> block in the root README.md (which links each skill to its own README.md). Never edit that block by hand; CI fails if it is out of date. Keep the root README.md focused strictly on repository-level information; put skill-specific examples and commands in each skill's own README.md.

7. Bump the Skill Version

When updating an existing skill, bump its frontmatter version (major = breaking, minor = new capability, patch = fix or docs; see docs/CONTRIBUTING.md). Changes limited to README.md or evals/ are exempt. Verify with node scripts/check-skill-versions.mjs --base main, then rerun pnpm catalog.


🔒 Safety and Quality Guidelines

  • Determinism: Provide explicit, testable instructions rather than vague suggestions.
  • No Destructive Operations: Scripts or instructions must never execute unchecked destructive commands (rm -rf /, git push --force).
  • File Links: Inside a skill, link to its own files with paths relative to the skill directory ([label](references/guide.md)). Never use absolute paths or file:/// URLs: skills are installed into other projects and machines, where those paths do not exist.
  • Script Paths: Show script invocations as node <skill-dir>/scripts/<script>.mjs (or bash <skill-dir>/scripts/<script>.sh), never skills/<category>/<name>/scripts/..., and state that <skill-dir> is the directory containing the SKILL.md.

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.