agentleFS
juninmdjuninmd/skills/AGENTS.md

skills

AGENTS.md2 starsChanged 4 days agoMITView on GitHub

This repository maintains engineering skills and validation tools. Optimize for useful instructions, correct routing, and reproducible evidence. Use the host shell and bounded searches. Keep secrets and private logs out of output. Keep client packaging derived from this source. Do not fork skill content per assistant. No AGENTS.md names a skill. Skills are routed by their own descriptions; naming them in an instruction file duplicates that routing and goes stale on every rename or retirement. Skills and tools conform to…

  • Installs packages

The file

Show its rules and text

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

17 rules. About 1 is common, 14 are distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the request and applicable instructions.

    line 7
  2. Distinctive:

    Run git status --short; preserve work outside your task.

    line 8
  3. Distinctive:

    Read the owning skill, reference map, evals, and callers before editing.

    line 9
  4. Common:

    Use the host shell and bounded searches.

    line 12
  5. Distinctive:

    Ask when a missing decision materially changes scope, authority, or acceptance.

    line 17
  6. Distinctive:

    Prefer focused changes. Avoid unrelated formatting, speculative abstractions, and dependency changes.

    line 19
  7. Distinctive:

    Use independent review for substantial changes when available.

    line 20
  8. Distinctive:

    Keep client packaging derived from this source.

    line 34
  9. Distinctive:

    Keep the main workflow within the enforced budget.

    line 46
  10. Very specific:

    Every http(s) host a skill cites is approved, with a reason, in .agents/approved-domains.toml.

    line 48
  11. Very specific:

    One hop: every reference is routed from SKILL.md or its linked references/TOPIC_MAP.md, never only from another reference, and a reference …

    line 60
  12. Distinctive:

    Update active instructions, callers, agents, documentation, and installation examples.

    line 85
  13. Distinctive:

    Check discovery and execution: a correct description cannot repair an obsolete workflow.

    line 86
  14. Distinctive:

    Keep at least three positive and two negative prompts per skill.

    line 87
  15. Distinctive:

    Treat lexical evals as regression signals.

    line 89
  16. Distinctive:

    Do not increase budgets or lower thresholds merely to make a change pass.

    line 91
  17. Distinctive:

    Do not claim plugin compatibility until discovery and a representative invocation have been tested in that client.

    line 112

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

Repository working contract

This repository maintains engineering skills and validation tools. Optimize for useful instructions, correct routing, and reproducible evidence.

Before changing anything

  1. Read the request and applicable instructions. Explicit user direction takes precedence over repository preferences.
  2. Run git status --short; preserve work outside your task.
  3. Read the owning skill, reference map, evals, and callers before editing.
  4. For non-trivial work, state the intended outcome and checks that establish it.

Use the host shell and bounded searches. Keep secrets and private logs out of output.

Scope and authority

  • Complete authorized inspection, edits, and local verification without repeated permission requests.
  • Ask when a missing decision materially changes scope, authority, or acceptance. Continue independent work while waiting.
  • Obtain explicit authorization for commits, pushes, history rewrites, publication, deployment, destructive operations, and external messages. Existing authorization remains valid within its scope.
  • Prefer focused changes. Avoid unrelated formatting, speculative abstractions, and dependency changes.
  • Use independent review for substantial changes when available; delegate bounded work with clear file ownership.
  • Persist information outside the workspace only when the user explicitly requests it.

Canonical layout

PathOwns
.agents/skills/<name>/SKILL.mdDiscovery and the domain workflow
.agents/skills/<name>/references/Procedures loaded for a specific subtask
.agents/evals/<name>.jsonPositive prompts and negative ownership cases
.agents/clients/Token-optimized Claude Code and Codex configs, symlinked by .agents/tools/install.mjs
.agents/tools/Validators, reports, and catalog generation
README.md, docs/Installation, navigation, and user documentation

Keep client packaging derived from this source. Do not fork skill content per assistant.

No AGENTS.md names a skill. Skills are routed by their own descriptions; naming them in an instruction file duplicates that routing and goes stale on every rename or retirement.

Skill acceptance

  • Frontmatter uses only supported fields: name, description, license, allowed-tools, metadata, and compatibility. The name equals its folder.
  • The description identifies what the skill does and when to select it. Spend the discovery budget on distinctions, not promotional language.
  • Include ## Preflight, a numbered ## Workflow, a decision table, a real command block, ## Stop, ## Rules, and a verifiable ## Checklist.
  • Make preflight establish actual state. Select commands for the detected stack and shell; do not require unrelated toolchains.
  • A handoff targets an installed skill; a procedure stored in references is linked as a file and executed by its owning skill.
  • Reference maps explain when to open each file. Repeating filenames as descriptions is insufficient.
  • Keep the main workflow within the enforced budget. Load references selectively.
  • Preserve attribution and license notices in imported material.
  • Every http(s) host a skill cites is approved, with a reason, in .agents/approved-domains.toml; placeholders use reserved names such as example.com. pnpm run domains:check fails on an unapproved host and on an approval nothing cites.

Standardization and specifications

Skills and tools conform to the official specifications below. Rules marked house are this repository's stricter policy, not the spec.

1. Agent Skills Open Specification (agentskills.io) and Anthropic skill authoring best practices

  • Frontmatter Schema: Strict YAML between ---. Permitted fields are name, description, license, compatibility, metadata (string-to-string map), and allowed-tools.
  • Name: 1–64 characters, lowercase alphanumeric and hyphens, no leading, trailing, or consecutive hyphens, no reserved words claude or anthropic. Strictly matches its folder name.
  • Description: 1–1024 characters. Clear discovery context ("what it does and when to select it"), imperative or third person, never "I" or "you". No angle brackets or promotional language.
  • Progressive Disclosure: Lightweight frontmatter is indexed at discovery; the skill body loads upon domain selection; deep procedures in references/ load only when triggered by subtask.
  • One hop: every reference is routed from SKILL.md or its linked references/TOPIC_MAP.md, never only from another reference, and a reference over 100 lines opens with ## Contents. Agents preview deeper files with partial reads.
  • House Contract (house): Every skill must provide ## Preflight, numbered ## Workflow, a decision table, real command blocks, ## Stop, ## Rules, and a verifiable ## Checklist.

2. Hook policy (house, on Claude Code hooks)

  • Lifecycle Events:
    • PreToolUse: Runs before the tool and can block it. Validate arguments, enforce path denylists, and block unauthorized destructive commands here.
    • PostToolUse: Runs after the tool has already succeeded and cannot undo it. Use it to scrub or cap what reaches the model and to run verification linters.
  • Deterministic Enforcement: Safety barriers, secret protection, and destructive boundaries must be implemented in deterministic host code or hooks, never left to LLM prompt compliance.
  • Plugin Scoping: Plugin hooks use explicit tool matchers (e.g. matcher: "Bash"); this repository ships no global, uncontained hooks.

3. Model Context Protocol Specification (modelcontextprotocol.io)

  • Core Primitives:
    • tools: Callable actions with strict, validated JSON schemas and bounded outputs.
    • resources: Read-only, URI-addressable context without execution side effects.
    • prompts: Parameterized prompt templates.
  • Transports: Local subprocesses communicate via stdio; remote services communicate via Streamable HTTP, which replaced the deprecated HTTP+SSE transport.
  • Resilience: Enforce wall-clock timeouts, JSON-RPC 2.0 error handling, stdout caps, and autonomous circuit breakers against thrashing.

Consolidation and routing

A merge is complete only when the new owner can execute all advertised tasks.

  1. Map each retired skill to its new owner or reference.
  2. Update active instructions, callers, agents, documentation, and installation examples.
  3. Check discovery and execution: a correct description cannot repair an obsolete workflow.
  4. Keep at least three positive and two negative prompts per skill; every negative names the owner that should win.
  5. Fix incorrect descriptions rather than rewriting failing prompts to match them.
  6. Treat lexical evals as regression signals. They do not prove model behavior, multilingual routing, or client installation.

Do not increase budgets or lower thresholds merely to make a change pass. Explain deliberate changes to the quality contract.

Verification

pnpm install --frozen-lockfile --ignore-scripts
pnpm run catalog:generate
pnpm run validate
pnpm run docs:build

Regenerate the catalog when descriptions change. Run validator unit tests (pnpm run test:validators) when modifying .agents/tools/; pnpm run validate includes them. Dependency or install-policy changes also run pnpm run dependencies:check.

CI gates (.github/workflows/): validate.yml runs cspell and lychee on Markdown, dependencies:check, validate, the official agentskills validator, docs:build, and pr:check on PRs; security.yml runs Gitleaks; dependency-audit.yml runs daily; release.yml runs on master pushes.

On Windows, keep core.autocrlf false in this checkout: CRLF files make catalog:check report a stale catalog that LF files do not have.

  • Reproduce defects before fixing them; add regression tests for meaningful validator behavior.
  • Inspect the final diff for unrelated changes and stale names.
  • Distinguish structure checks, content review, and actual client smoke tests.
  • A failed check blocks a completion claim. Diagnose and fix within scope; otherwise report the exact blocker.
  • Do not claim plugin compatibility until discovery and a representative invocation have been tested in that client.

Reporting

Lead with the result. State what changed, what checks passed, and what remains unverified. For reviews, prioritize concrete findings with file locations and operational impact. Keep routine logs out of the response.

<!-- base-actions-main-policy -->

GitHub Actions — padrão obrigatório (@main)

  • Referencie as actions internas sempre pelo branch, nunca por SHA:
    • uses: juninmd/base-actions/<action>@main
    • uses: juninmd/base-actions/.github/workflows/<arquivo>.yml@main
  • Não fixe @<sha> em juninmd/base-actions: a atualização é centralizada no main e passa a valer no próximo run.
  • PRs cujos checks não iniciam por billing/spending limit são mesclados pelo bot central juninmd/base-actions/.github/workflows/auto-merge-billing-blocked.yml. Para impedir o merge automático de um PR, aplique a label do-not-merge.

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.