claude-marketplace
CLAUDE.md0 starsChanged 10 months agoMITView on GitHub
Skills can include files alongside SKILL.md. Reference them from SKILL.md so Claude knows they exist and when to load them. Keep SKILL.md under 500 lines; move detailed content to supporting files. Convention from Anthropic's skill-development guide for organizing supporting files: Only create directories the skill actually needs. SKILL.md must explicitly list supporting files so Claude knows they exist. Use relative paths from the skill directory: Skills use a three-level loading system: Descriptions serve double duty: they are documentation AND a…
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Every plugin must have a plugin.json with name, description, version.
- Very specific: line 18
Every skill must have a SKILL.md with frontmatter: name, description.
- Distinctive: line 31
Only create directories the skill actually needs.
- Distinctive: line 70
Keep names short but specific enough to distinguish from similar skills.
- Distinctive: line 81
Do not use em dashes or en dashes in descriptions.
- Very specific: line 91
Write the SKILL.md body in imperative/infinitive form (verb-first instructions), not second person.
- Distinctive: line 92
Use objective, instructional language: "To accomplish X, do Y" not "You should do X".
- Distinctive: line 97
Write commit messages, PRs, and team-facing content in first person as the developer.
- Distinctive: line 99
Avoid en dashes, em dashes, and other non-standard characters.
- Distinctive: line 100
Use personas only where the role meaningfully shapes output quality (e.g., investigation, planning, review skills).
- Distinctive: line 104
Every skill that produces output must specify whether it writes to files or presents in a codeblock.
- Very specific: line 112
If an agent should not modify source files, state it explicitly even if the tools list suggests it (e.g., a planning agent with Write …
- Very specific: line 125
Do not describe subagent_type as "pointing to a definition file" -- the registered type IS the definition.
- Distinctive: line 129
Always update CHANGELOG.md before committing changes.
- Distinctive: line 135
Before committing changes to this repo, verify every item:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
Plugin Development Guidelines
Plugin Structure
plugins/<name>/
.claude-plugin/plugin.json # name, description, version
skills/<skill>/
SKILL.md # frontmatter: name, description (required)
references/ # supporting docs, loaded as needed
assets/ # output files (templates, images), not loaded
scripts/ # executable code, may run without loading
agents/<agent>.md # frontmatter: name, description, model, tools
README.md # optional, for complex plugins- Every plugin must have a
plugin.jsonwithname,description,version. - Every skill must have a
SKILL.mdwith frontmatter:name,description. - Team/orchestrator skills add
disable-model-invocation: trueto frontmatter.
Supporting Files
Skills can include files alongside SKILL.md. Reference them from SKILL.md so Claude knows they exist and when to load them. Keep SKILL.md under 500 lines; move detailed content to supporting files.
Convention from Anthropic's skill-development guide for organizing supporting files:
references/- Documentation loaded into context as needed (schemas, API docs, domain knowledge). Information should live in either SKILL.md or references, not both. For large files (>10k words), include grep search patterns in SKILL.md.assets/- Files used in output, not loaded into context (templates, images, boilerplate). Claude copies or modifies these rather than reading them.scripts/- Executable code for deterministic/repetitive tasks. May be executed without loading into context.
Only create directories the skill actually needs.
Referencing Supporting Files
SKILL.md must explicitly list supporting files so Claude knows they exist. Use relative paths from the skill directory:
## Additional Resources
- **`references/patterns.md`** - Common patterns and examples
- **`assets/report-template.html`** - Report output templatePath Variables
${CLAUDE_SKILL_DIR}- Resolves to the directory containing the skill's SKILL.md. Use in bash injection commands to reference bundled scripts or files regardless of the current working directory.${CLAUDE_PLUGIN_ROOT}- Resolves to the plugin root directory. Use in hooks and MCP server configurations (hooks.json, .mcp.json), not in SKILL.md.
Progressive Disclosure
Skills use a three-level loading system:
- Metadata (name + description) - Always in context
- SKILL.md body - Loaded when the skill triggers
- Supporting files - Loaded as needed by Claude
Cross-Reference Rules
- Individual skills must NOT reference sibling skills by name in their body instructions.
- Express intent without naming specific skills. Write "steps should be specific enough to execute without re-investigation" not "specific enough for
/implement". - Team/workflow skills (with
-teamsuffix) MAY reference other skills because orchestration is their purpose. - Any skill may reference universal tools (git commands, shell commands, etc.).
Naming Conventions
- Skills that spawn agent teams use the
-teamsuffix (e.g.,/implement-team,/review-team). - Plugin names: lowercase, hyphenated.
- Skill names: lowercase, hyphenated.
- Prefix-group related skills by noun so they cluster in autocomplete (e.g.,
git-commit-msgandgit-branch-summaryboth appear when typing/git). - Name by what the developer would search for, not internal terminology. Prefer
issue-createovercreate-issuewhen/issueis a more likely search than/create. - Keep names short but specific enough to distinguish from similar skills.
Skill Descriptions
Descriptions serve double duty: they are documentation AND a search surface for autocomplete. Skill names are the primary match; descriptions are secondary. Claude uses the description to decide when to load the skill automatically.
- Include concrete trigger phrases:
[Action statement]. Use when the user asks to "[phrase 1]", "[phrase 2]", or [scenario]. - Anthropic's skill-development guide recommends third-person:
This skill should be used when the user asks to "...". - Include natural-language trigger phrases that a developer would actually type or say.
- Include searchable keywords that relate to the skill's domain (e.g., "git" in commit/branch skill descriptions).
- Reference skills like
gitlab-cliandjira-clishould say "Use when running [tool] commands" so Claude consults them proactively. - Do not use em dashes or en dashes in descriptions.
Compartmentalization
- Each skill should be self-contained and work independently.
- Skills must not overlap in ownership. Only one skill should own a given decision (e.g., version bumps belong to
prepare-release, notchangelog). - Plugins group skills by lifecycle phase, not by implementation complexity.
SKILL.md Writing Style
- Write the SKILL.md body in imperative/infinitive form (verb-first instructions), not second person.
- Use objective, instructional language: "To accomplish X, do Y" not "You should do X".
- Frontmatter descriptions use third person: "This skill should be used when..."
Voice and Tone
- Write commit messages, PRs, and team-facing content in first person as the developer.
- Never use "we".
- Avoid en dashes, em dashes, and other non-standard characters.
- Use personas only where the role meaningfully shapes output quality (e.g., investigation, planning, review skills). Do not add personas to simple action skills like commit message generators or reference guides.
Constraints Pattern
- Every skill that produces output must specify whether it writes to files or presents in a codeblock.
- Skills that write artifacts must specify the target directory or file.
- Skills should guard against scope creep with explicit "do not" constraints (e.g., "Do not commit", "Do not deploy").
Agent Definitions
- Frontmatter fields:
name,description,model,tools. - Tools list should be minimal. Only grant what the agent needs.
- If an agent should not modify source files, state it explicitly even if the tools list suggests it (e.g., a planning agent with
Writeaccess should be told "Write only to artifact files").
Agent Tool
The Agent tool is available only to the main session (Manager). Team agents do not have it. When a team agent needs external work done (web research, document extraction, domain discovery), it writes a task file to the engagement folder and sends the Manager a short message requesting a worker spawn. The Manager spawns a general-purpose sub-agent (subagent_type: general-purpose, model: claude-sonnet-4-6) pointing at the task file path. The worker reads the task file, executes, writes results to the specified output path, sends a completion notice to the reply_to agent named in the task file, and shuts down.
subagent_type is a fixed enum of registered agent types. The available values are determined by marketplace registration -- they are not file paths. Example values: general-purpose, stat-consulting:source-analyst, stat-consulting:collection-specialist, development:execution-lead. Format for plugin-defined agents is <plugin-name>:<agent-name>.
team_name is what distinguishes a team agent from a sub-agent:
- Team agent:
Agenttool withteam_nameset. The agent is persistent, interactive, surfaces permission prompts to the user, and can receive messages via SendMessage. Use the correctsubagent_typefor the specialist role (e.g.,stat-consulting:source-analyst), notgeneral-purpose. - Sub-agent:
Agenttool withoutteam_name. Disposable, fire-and-forget, returns a single result to the parent. Use for narrow tasks: web fetches, HTML parsing, PDF extraction, domain research.
Do not describe subagent_type as "pointing to a definition file" -- the registered type IS the definition. Do not instruct agents to "bypass the definition file" or describe it as a "behavioral contract" separate from the type registration.
Release Process
- Always update CHANGELOG.md before committing changes.
- Bump the marketplace version and any edited plugin versions before committing.
- Renaming a skill is a breaking change (major version bump on both the marketplace and the affected plugin).
Pre-Commit Checklist
Before committing changes to this repo, verify every item:
- SKILL.md frontmatter --
namematches the directory name anddescriptionincludes "Use when" trigger phrases. - plugin.json --
versionis bumped for any plugin whose skills, agents, or config changed. - marketplace.json --
versionbumped, and every plugin entry'sversionmatches itsplugin.json. New plugins are listed here. - README.md -- New or renamed skills appear in the correct plugin table. Install commands include any new plugins.
- Plugin README.md -- If the plugin has one, skill names and descriptions are current.
- CHANGELOG.md -- Entry added for the current version describing what changed.
- No em dashes or en dashes -- Descriptions, skill bodies, and commit messages use only standard characters.
- Cross-references -- Non-team skills do not name sibling skills. Team skills may reference others.
- Descriptions are searchable -- Skill names prefix-group by noun for autocomplete. Descriptions contain keywords a developer would search for.
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.

