agentleFS
garnertbgarnertb/skills/.github/copilot-instructions.md

skills

Copilot instructions1 starsChanged 3 months agoMITView on GitHub

This repository is a collection of AI skills — portable, structured knowledge modules that extend AI agent capabilities. Skills are grouped into category folders by what they are used for: Place a new skill in the best-fitting existing category; add a new category only when no existing one fits. Skill names MUST be unique across categories. Every SKILL.md must include YAML frontmatter with at minimum: The body contains actionable instructions for AI agents. Use MUST/SHOULD/NEVER language for clear guidance. See…

The file

We split this copilot-instructions.md into the rules it gives an agent

11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

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

    Place a new skill in the best-fitting existing category.

    line 28
  2. Very specific:

    Every SKILL.md must include YAML frontmatter with at minimum:

    line 33
  3. Distinctive:

    Use the VS Code task "Create New Skill" or run:

    line 71
  4. Very specific:

    When you change any skill under skills/ (its SKILL.md, reference/, scripts/, assets, or evals/), two steps are part of the change — not …

    line 101
  5. Very specific:

    Every SKILL.md has a metadata.version field (e.g.

    line 107
  6. Very specific:

    If a skill has no metadata.version, add one starting at "1.0".

    line 117
  7. Very specific:

    When the change alters observable agent behavior (routing, output shape, new guardrails, new commands, corrected mistakes) and the skill …

    line 122
  8. Distinctive:

    Always state in your summary the version change (old → new) and whether you added, updated, or intentionally skipped an eval — and why.

    line 133
  9. Very specific:

    All PRs run two checks via .github/workflows/quality.yml:

    line 138
  10. Very specific:

    Use references/REFERENCE.md for detailed examples and extended documentation

    line 146
  11. Very specific:

    Keep SKILL.md concise and actionable.

    line 147

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
copilot-instructions.md

Copilot Instructions

This repository is a collection of AI skills — portable, structured knowledge modules that extend AI agent capabilities.

Project Structure

skills/
└── <category>/
    └── <skill-name>/
        ├── SKILL.md        # Required: instructions + YAML frontmatter metadata
        ├── references/     # Optional: detailed documentation (REFERENCE.md)
        ├── scripts/        # Optional: executable code
        └── assets/         # Optional: templates, resources

Skills are grouped into category folders by what they are used for:

CategoryPurpose
developWriting and reviewing code: scripts, editor config, PRs
githubGitHub platform features (e.g. Dependabot)
logsLogging and observability
webWeb UI design and accessibility

Place a new skill in the best-fitting existing category; add a new category only when no existing one fits. Skill names MUST be unique across categories.

Skill File Format

Every SKILL.md must include YAML frontmatter with at minimum:

---
name: skill-name # kebab-case, matches folder name
description: Brief description of what this skill does.
metadata: # Optional
  author: username
  version: "1.0"
---

The body contains actionable instructions for AI agents. Use MUST/SHOULD/NEVER language for clear guidance. See skills/develop/shell-script-generator/SKILL.md for a well-structured example.

Command-Like Skills

A skill that contains a references/routing.md is a command-like skill: its SKILL.md is an entry point that dispatches to nested commands rather than executing a single workflow. Treat these skills like a CLI:

  • The SKILL.md defines the top-level command (e.g. /skill-name) and delegates to references/routing.md to decide which nested command applies.
  • references/routing.md maps user intent to a nested command and MUST NOT auto-run a command — it recommends, and the user confirms.
  • Each nested command (e.g. report, plan, config) has its own reference doc under references/ that the entry point loads on demand.

See skills/github/dependabot/SKILL.md and its reference/routing.md for a working example.

Development Workflow

Creating a New Skill

Use the VS Code task "Create New Skill" or run:

mkdir -p ./skills/<category>/<skill-name> && curl -sL https://raw.githubusercontent.com/anthropics/skills/main/template/SKILL.md -o ./skills/<category>/<skill-name>/SKILL.md

Validation

Skills are validated against the agentskills specification using the skills-ref validator:

./scripts/validate-skills              # Validate all skills
./scripts/validate-skills <skill-name> # Validate specific skill (or <category>/<skill-name>)

Requires uvx (from uv).

Formatting

Markdown files use Prettier with prose wrap at 80 characters:

pnpm format         # Format all skill markdown files
pnpm format:check   # Check formatting without modifying

Modifying a Skill

When you change any skill under skills/ (its SKILL.md, reference/, scripts/, assets, or evals/), two steps are part of the change — not afterthoughts:

1. Bump the skill version

Every SKILL.md has a metadata.version field (e.g. version: "1.1"). Bump it based on the nature of the change:

  • Patch (1.1 → 1.1.1): typo, wording, formatting, or non-behavioral clarification.
  • Minor (1.1 → 1.2): new but backward-compatible behavior — a new command, guardrail, reference section, or expanded coverage.
  • Major (1.1 → 2.0): breaking or incompatible change — removed/renamed commands, changed output contract, or reworked routing.

If a skill has no metadata.version, add one starting at "1.0". Never ship a behavioral change without moving the version.

2. Cover behavior changes with an eval (if the skill has evals/)

When the change alters observable agent behavior (routing, output shape, new guardrails, new commands, corrected mistakes) and the skill has an evals/ folder:

  • Check existing coverage in the skill's evals/evals.json and fixtures.
  • Add or update an eval with a unique id, a realistic prompt, and an expected_output that describes the desired behavior in terms a grader can check — or update an existing expected_output when a requirement changed.
  • Add fixtures under evals/fixtures/ when the eval needs a reference output, following the existing naming (e.g. eval-<id>-good.md).

Always state in your summary the version change (old → new) and whether you added, updated, or intentionally skipped an eval — and why.

CI Quality Gates

All PRs run two checks via .github/workflows/quality.yml:

  1. Skill validation — ./scripts/validate-skills must pass
  2. Format check — pnpm format:check must pass

Key Conventions

  • Skill folder names use kebab-case matching the name in frontmatter
  • Use references/REFERENCE.md for detailed examples and extended documentation
  • Keep SKILL.md concise and actionable; put verbose content in references
  • Shell scripts in this repo follow the patterns in shell-script-generator

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.