agentleFS
mintuzmintuz/skills/AGENTS.md

skills

AGENTS.md38 starsChanged 48 days agoMITView on GitHub

This file guides coding agents that work in this repository. This repository is a plugin marketplace for Codex, Claude Code, OMP and Antigravity. It contains eight plugins for software development and personal productivity workflows: A plugin can contain three types of content: Each harness has its own root catalogue or discovery manifest. Each plugin has one manifest per harness. Discovery differs by harness: Do not assume that the invocation syntax is the same in each harness. Validate each target harness.

  • 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,337 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 repository2 other files it gives its agents.

The file

Show its rules and text

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

17 rules. About 0 are common, 3 are distinctive, and 14 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.

  • 14

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not assume that the invocation syntax is the same in each harness.

    line 32
  2. Very specific:

    Put each agent in src/<plugin>/agents/ as a Markdown file with YAML frontmatter:

    line 61
  3. Very specific:

    Put each command in src/<plugin>/commands/ with a short YAML header:

    line 85
  4. Very specific:

    Put each skill in src/<plugin>/skills/<skill-name>/SKILL.md:

    line 100
  5. Very specific:

    If a skill builds on other skills, add a "Prerequisites" section at the top.

    line 114
  6. Distinctive:

    Use the WHEN/NOT pattern for skill and agent descriptions:

    line 118
  7. Very specific:

    Treat every skill change as test-driven development (TDD).

    line 131
  8. Very specific:

    COMPARE – prove the improvement: Run pnpm eval:skills -- <skill-name>.

    line 135
  9. Distinctive:

    All treatment tests pass.

    line 145
  10. Very specific:

    Write the Promptfoo suites before SKILL.md, as in the RED step of Test-Driven Skill Changes.

    line 153
  11. Very specific:

    Create src/<plugin>/skills/<skill-name>/SKILL.md in the Skill Definition Format.

    line 154
  12. Very specific:

    Add ./skills/<skill-name> to the skills list of the plugin in .claude-plugin/marketplace.json and .omp-plugin/marketplace.json.

    line 155
  13. Very specific:

    New agent: Create a .md file with frontmatter in src/<plugin>/agents/.

    line 157
  14. Very specific:

    New command: Create a .md file in src/<plugin>/commands/.

    line 159
  15. Very specific:

    Create .claude-plugin/plugin.json, .omp-plugin/plugin.json, .codex-plugin/plugin.json and .antigravity-plugin/plugin.json under …

    line 163
  16. Very specific:

    Add the necessary skills, agents or commands.

    line 167
  17. Very specific:

    Before you publish plugin metadata changes, run pnpm check:plugins.

    line 179

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

AGENTS.md

This file guides coding agents that work in this repository.

Project Overview

This repository is a plugin marketplace for Codex, Claude Code, OMP and Antigravity. It contains eight plugins for software development and personal productivity workflows:

  • core – commit hygiene, refactoring, prompt refinement and branch review
  • web – CSS, React, Tailwind, testing, refactoring and design practices
  • typescript – strict, schema-first TypeScript guidance
  • system-design – Mermaid diagram generation from code
  • product-management – decision tracing, meeting briefs, status updates and story PR orchestration
  • app – Swift iOS testing, App Intent-first development and SwiftUI architecture
  • principle – independent principle-* engineering skills
  • life – personal life management with the GPS method for goal achievement

Plugin Architecture

A plugin can contain three types of content:

  1. Agents – autonomous subprocesses with specialised tools and context, defined in agents/*.md.
  2. Skills – knowledge bases that load into context, defined in skills/*/SKILL.md.
  3. Commands – slash commands for quick actions, defined in commands/*.md.

Each harness has its own root catalogue or discovery manifest. Each plugin has one manifest per harness. Discovery differs by harness:

  • The Claude Code and OMP catalogues list the explicit skill paths of each plugin. Keep the OMP catalogue and the OMP plugin manifests identical to the Claude Code copies.
  • The Codex catalogue lists plugin sources only. Each Codex plugin manifest declares the skills directory.
  • Antigravity discovers plugins under src/ through .agents/plugins.json, loads each bundle from .antigravity-plugin/plugin.json, auto-discovers skills/ and agents/, and reads MCP servers from mcp_config.json.

Do not assume that the invocation syntax is the same in each harness. Validate each target harness.

Repository Structure

.claude-plugin/marketplace.json   # Claude Code catalogue with explicit skill paths
.omp-plugin/marketplace.json      # OMP catalogue; identical to the Claude Code catalogue
.agents/plugins/marketplace.json  # Codex catalogue with local plugin sources
.agents/plugins.json              # Antigravity plugin discovery manifest pointing at src/
src/<plugin>/
  .claude-plugin/plugin.json
  .omp-plugin/plugin.json         # Identical to .claude-plugin/plugin.json
  .codex-plugin/plugin.json
  .antigravity-plugin/plugin.json # Antigravity plugin manifest
  .mcp.json                       # Optional MCP server configuration (Claude Code, Codex, OMP)
  mcp_config.json                 # Optional MCP server configuration (Antigravity; mirrors .mcp.json)
  skills/<skill-name>/SKILL.md
  agents/                         # Optional agent definitions
  commands/                       # Optional host-specific commands
evals/<skill-name>/               # Promptfoo suites for each skill
scripts/                          # Packaging, plugin checks and eval runner

The eight plugin folders are core, web, typescript, system-design, product-management, app, life and principle. Keep portable skill instructions separate from host metadata.

The canonical source of a skill is src/<plugin>/skills/<skill-name>/SKILL.md. For the current inventory, read README.md and the marketplace catalogues. The principle plugin contains the principles. Keep the principle-* prefix in their directory names and frontmatter names. Do not add a combined router. Do not remove the prefix during packaging.

Agent Definition Format

Put each agent in src/<plugin>/agents/ as a Markdown file with YAML frontmatter:

---
name: agent-name
description: >
  When to use this agent
tools: Read, Grep, Glob, Bash
model: sonnet
color: pink
---

# Agent Title

Agent instructions...

Required: name, description. Optional: tools, model (sonnet, opus or haiku), color.

If an agent runs in more than one harness, omit tools and model, and declare skills as a YAML list rather than a comma-separated string. Tool names and model names differ between Claude Code, Codex, OMP and Antigravity. Antigravity requires YAML arrays for list fields and rejects comma-separated strings in agent frontmatter. OMP ignores the model of a Claude-format plugin agent.

Command Definition Format

Put each command in src/<plugin>/commands/ with a short YAML header:

---
description: What the command does
argument-hint: <argument format>
---

# @command-name

Usage details...

Skill Definition Format

Put each skill in src/<plugin>/skills/<skill-name>/SKILL.md:

---
name: skill-name
description: >
  When to use this skill
---

# Skill Title

Knowledge base content...

If a skill builds on other skills, add a "Prerequisites" section at the top. For example, app:swiftui-architecture works alongside app:swift-testing and app:app-intent-driven-development.

Description Naming Convention

Use the WHEN/NOT pattern for skill and agent descriptions:

WHEN [trigger condition]; NOT [exclusion]; [output or behaviour]

Examples:

  • WHEN writing git/conventional commits; NOT for PR text; returns concise, why-first commit lines
  • WHEN building SwiftUI views; NOT for UIKit or legacy patterns; provides pure SwiftUI data flow

Test-Driven Skill Changes

Treat every skill change as test-driven development (TDD). The Promptfoo suite of the skill at evals/<skill-name>/promptfooconfig.yaml is the executable specification. If the suite does not exist, create it from the existing examples.

  1. RED – record the use case first. Do not edit the skill yet. Add a realistic test. Its scenario captures the new or changed use case. Its rubric defines observable success. Run pnpm eval:skills:check -- <skill-name>. Then run pnpm test:skills -- <skill-name> against the unchanged skill. The new case must fail. If it passes, the skill already covers the case or the scenario does not expose the gap.
  2. GREEN – make the minimum skill change. Change the skill only enough to pass the new case. Run pnpm test:skills -- <skill-name> again. Every existing case and the new case must pass.
  3. COMPARE – prove the improvement. Run pnpm eval:skills -- <skill-name>. Inspect the no-skill baseline beside the skill treatment. The treatment must improve the intended case and must not reduce performance on existing cases. This command is informational: inspect its results, not its exit code.

Existing scenarios and assertions are the regression contract. Keep them unless the requirement itself changed.

For a trigger or description change, also add evals/<skill-name>/trigger.promptfooconfig.yaml. Then run pnpm test:skills:triggers -- <skill-name>. This command builds the disposable skill fixture. See scripts/README.md.

A skill change is complete only when all of these are true:

  • The Promptfoo config records the new scenario and rubric.
  • Configuration validation passes.
  • All treatment tests pass.
  • The comparison shows the intended gain without regression.

Adding New Content

New skill:

  1. Load the writing-for-agents skill before you write any part of the new skill. In OMP, run /skill:writing-for-agents. If the harness does not expose the skill, read src/core/skills/writing-for-agents/SKILL.md. Apply its rules to the frontmatter and to the body of the new SKILL.md.
  2. Write the Promptfoo suites before SKILL.md, as in the RED step of Test-Driven Skill Changes. A new skill has a new description, so it also needs a trigger suite.
  3. Create src/<plugin>/skills/<skill-name>/SKILL.md in the Skill Definition Format. Then complete the GREEN and COMPARE steps. For a new skill, the baseline is no skill.
  4. Add ./skills/<skill-name> to the skills list of the plugin in .claude-plugin/marketplace.json and .omp-plugin/marketplace.json. Then run pnpm check:plugins.

New agent: Create a .md file with frontmatter in src/<plugin>/agents/.

New command: Create a .md file in src/<plugin>/commands/.

New plugin:

  1. Create .claude-plugin/plugin.json, .omp-plugin/plugin.json, .codex-plugin/plugin.json and .antigravity-plugin/plugin.json under src/<plugin>/. Give them the same name and version, and the applicable host fields. The Codex manifest declares "skills": "./skills/". The Antigravity manifest uses "$schema": "https://antigravity.google/schemas/v1/plugin.json" and omits "skills" when using the default skills/ directory.
  2. Register the plugin in all three catalogues (.agents/plugins.json discovers every plugin folder under src/ automatically). Copy the structure of an existing entry in each file:
    • Claude Code and OMP: "source": "./src/<plugin>" and explicit skills paths.
    • Codex: "source": {"source": "local", "path": "./src/<plugin>"} with policy and category metadata.
  3. Add the necessary skills, agents or commands. Add both .mcp.json and mcp_config.json only when the plugin needs an MCP server.
  4. Validate discovery and packaging in each target harness, including agy plugin validate ./src/<plugin> for Antigravity. Matching Markdown does not prove that every harness loads the plugin.

Version Bumping

For each affected plugin, bump the version with semver. Keep these versions the same:

  • the four plugin manifests (.claude-plugin, .omp-plugin, .codex-plugin and .antigravity-plugin)
  • the plugin entry in the Claude Code and OMP catalogues

OMP uses the catalogue entry version to detect available upgrades.

Before you publish plugin metadata changes, run pnpm check:plugins. This check compares the catalogues and .agents/plugins.json with src/. It does not call a model, install plugins or start MCP servers.

MCP Server Integrations

These plugins include MCP server configurations in .mcp.json (for Claude Code, Codex and OMP) and mcp_config.json (for Antigravity):

  • web – Playwright MCP (@playwright/mcp)
  • app – XcodeBuildMCP (xcodebuildmcp) and iOS Simulator MCP (ios-simulator-mcp)

These servers load automatically when the plugin is active.

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.