skills
CLAUDE.md38 starsChanged 48 days agoMITView on GitHub
This file guides Claude Code (claude.ai/code) when it works 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…
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skill-doctorSkill
The file
Show its rules and text
We split this CLAUDE.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
- Distinctive: line 32
Do not assume that the invocation syntax is the same in each harness.
- Very specific: line 61
Put each agent in src/<plugin>/agents/ as a Markdown file with YAML frontmatter:
- Very specific: line 85
Put each command in src/<plugin>/commands/ with a short YAML header:
- Very specific: line 100
Put each skill in src/<plugin>/skills/<skill-name>/SKILL.md:
- Very specific: line 114
If a skill builds on other skills, add a "Prerequisites" section at the top.
- Distinctive: line 118
Use the WHEN/NOT pattern for skill and agent descriptions:
- Very specific: line 131
Treat every skill change as test-driven development (TDD).
- Very specific: line 135
COMPARE – prove the improvement: Run pnpm eval:skills -- <skill-name>.
- Distinctive: line 145
All treatment tests pass.
- Very specific: line 153
Write the Promptfoo suites before SKILL.md, as in the RED step of Test-Driven Skill Changes.
- Very specific: line 154
Create src/<plugin>/skills/<skill-name>/SKILL.md in the Skill Definition Format.
- Very specific: line 155
Add ./skills/<skill-name> to the skills list of the plugin in .claude-plugin/marketplace.json and .omp-plugin/marketplace.json.
- Very specific: line 157
New agent: Create a .md file with frontmatter in src/<plugin>/agents/.
- Very specific: line 159
New command: Create a .md file in src/<plugin>/commands/.
- Very specific: line 163
Create .claude-plugin/plugin.json, .omp-plugin/plugin.json, .codex-plugin/plugin.json and .antigravity-plugin/plugin.json under …
- Very specific: line 167
Add the necessary skills, agents or commands.
- Very specific: line 179
Before you publish plugin metadata changes, run pnpm check:plugins.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.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.
Files
CLAUDE.md
This file guides Claude Code (claude.ai/code) when it works 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:
- Agents – autonomous subprocesses with specialised tools and context, defined in
agents/*.md. - Skills – knowledge bases that load into context, defined in
skills/*/SKILL.md. - 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-discoversskills/andagents/, and reads MCP servers frommcp_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 runnerThe 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 linesWHEN 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.
- RED – record the use case first. Do not edit the skill yet. Add a realistic test. Its
scenariocaptures the new or changed use case. Itsrubricdefines observable success. Runpnpm eval:skills:check -- <skill-name>. Then runpnpm 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. - 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. - 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:
- Load the
writing-for-agentsskill before you write any part of the new skill. In OMP, run/skill:writing-for-agents. If the harness does not expose the skill, readsrc/core/skills/writing-for-agents/SKILL.md. Apply its rules to the frontmatter and to the body of the newSKILL.md. - 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. - Create
src/<plugin>/skills/<skill-name>/SKILL.mdin the Skill Definition Format. Then complete the GREEN and COMPARE steps. For a new skill, the baseline is no skill. - Add
./skills/<skill-name>to theskillslist of the plugin in.claude-plugin/marketplace.jsonand.omp-plugin/marketplace.json. Then runpnpm 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:
- Create
.claude-plugin/plugin.json,.omp-plugin/plugin.json,.codex-plugin/plugin.jsonand.antigravity-plugin/plugin.jsonundersrc/<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 defaultskills/directory. - Register the plugin in all three catalogues (
.agents/plugins.jsondiscovers every plugin folder undersrc/automatically). Copy the structure of an existing entry in each file:- Claude Code and OMP:
"source": "./src/<plugin>"and explicitskillspaths. - Codex:
"source": {"source": "local", "path": "./src/<plugin>"}withpolicyandcategorymetadata.
- Claude Code and OMP:
- Add the necessary skills, agents or commands. Add both
.mcp.jsonandmcp_config.jsononly when the plugin needs an MCP server. - 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-pluginand.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.
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
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.

