agentleFS
anyoneandersonanyoneanderson/agent-skills/AGENTS.md

agent-skills

AGENTS.md3 starsChanged 7 days agoMITView on GitHub

Every skill must have a SKILL.md with YAML frontmatter: The body of SKILL.md contains the full instructions the agent follows when the skill is invoked. This repository follows a bilingual (English/Japanese) pattern: SKILL.md body must be written in English. Use a Language Rules section to define auto-detection and reference file selection for Japanese support. Skills should auto-detect the user's language and reference the appropriate files. For detailed SKILL.md authoring conventions, see docs/skill-style-guide.md. Before submitting, verify: 実装時のコーディングルールは以下のファイルに従ってください: - docs/coding-rules.md — spec-rules-init…

The file

Show its rules and text

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

16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

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

    Create a directory under skills/ with your skill name (kebab-case)

    line 21
  2. Very specific:

    Add a SKILL.md with the required frontmatter

    line 22
  3. Very specific:

    Add any reference files under references/

    line 23
  4. Very specific:

    Update the skills table in README.md and README.ja.md

    line 24
  5. Very specific:

    Every skill must have a SKILL.md with YAML frontmatter:

    line 28
  6. Distinctive:

    name: Must match the directory name exactly

    line 44
  7. Distinctive:

    description: Keep under 1024 characters.

    line 45
  8. Very specific:

    license: Use MIT unless you have a specific reason not to

    line 46
  9. Very specific:

    SKILL.md body must be written in English: Use a Language Rules section to define auto-detection and reference file selection for Japanese …

    line 55
  10. Distinctive:

    Write clear, concise instructions

    line 61
  11. Distinctive:

    Avoid hardcoding tool names or MCP server references — use generic descriptions instead

    line 62
  12. Very specific:

    Keep SKILL.md under 500 lines

    line 63
  13. Distinctive:

    Use AskUserQuestion for interactive decisions, not free-form text prompts

    line 64
  14. Distinctive:

    All referenced files exist

    line 73
  15. Very specific:

    No hardcoded MCP tool names (e.g., mcp__serena__, Context7)

    line 74
  16. Distinctive:

    Verify the handover against the current repository state before trusting it:

    line 97

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

Contributing to agent-skills

Repository Structure

agent-skills/
├── skills/
│   ├── skill-name/
│   │   ├── SKILL.md          # Skill definition (required)
│   │   └── references/       # Supporting documents (optional)
│   │       ├── guide.md       # English version
│   │       └── guide.ja.md   # Japanese version
│   └── ...
├── LICENSE
├── README.md
└── AGENTS.md

Adding a New Skill

  1. Create a directory under skills/ with your skill name (kebab-case)
  2. Add a SKILL.md with the required frontmatter
  3. Add any reference files under references/
  4. Update the skills table in README.md and README.ja.md

SKILL.md Format

Every skill must have a SKILL.md with YAML frontmatter:

---
name: skill-name          # Must match directory name
description: |
  Brief description of what the skill does.
  Include trigger phrases for discoverability.
license: MIT
---

The body of SKILL.md contains the full instructions the agent follows when the skill is invoked.

Guidelines

  • name: Must match the directory name exactly
  • description: Keep under 1024 characters. Include trigger phrases in all supported languages for discoverability
  • license: Use MIT unless you have a specific reason not to

Bilingual Support

This repository follows a bilingual (English/Japanese) pattern:

  • *.md — English version (primary)
  • *.ja.md — Japanese version

SKILL.md body must be written in English. Use a Language Rules section to define auto-detection and reference file selection for Japanese support.

Skills should auto-detect the user's language and reference the appropriate files.

Code Style

  • Write clear, concise instructions
  • Avoid hardcoding tool names or MCP server references — use generic descriptions instead
  • Keep SKILL.md under 500 lines
  • Use AskUserQuestion for interactive decisions, not free-form text prompts

For detailed SKILL.md authoring conventions, see docs/skill-style-guide.md.

Testing

Before submitting, verify:

  1. SKILL.md frontmatter name matches directory name
  2. All referenced files exist
  3. No hardcoded MCP tool names (e.g., mcp__serena__, Context7)
  4. SKILL.md is under 500 lines
  5. bash scripts/check-skill-line-budget.sh passes for the whole repository
  6. bash skills/agent-delegate/references/scripts/tests/check_skill_quality.sh skills/*/SKILL.md passes for the whole repository
  7. Changes to the quality checker pass bash skills/agent-delegate/references/scripts/tests/check_skill_quality_contract.sh
  8. For reference-split changes, bash scripts/tests/check-skill-reference-split-contract.sh passes

コーディングルール

実装時のコーディングルールは以下のファイルに従ってください:

  • docs/coding-rules.md — spec-rules-init で生成された品質ルール集
  • docs/review_rules.md — コードレビュー・セカンドオピニオン用のレビュー基準

Development Workflow

開発フロー(Issue → 実装 → PR)は以下のファイルに従ってください:

  • docs/issue-to-pr-workflow.md — spec-workflow-init で生成された開発ワークフロー
<!-- handover:start -->

Session Handover

At session start, if local handover files exist (handover.md or .handover/current.md), read them before making changes.

Verify the handover against the current repository state before trusting it:

  • current branch
  • current HEAD
  • working tree status
  • referenced important files

Summarize inherited context, note stale or conflicting information, and continue from Next Action only when it is safe and obvious. Ask before destructive, external-facing, or ambiguous actions.

<!-- handover:end -->

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.