agentleFS
swell-agentsswell-agents/coding-skills/CLAUDE.md

coding-skills

CLAUDE.md5 starsChanged 7 months agoMITView on GitHub

This file is the always-loaded instruction file for sessions editing skills in this repo. It complements CONTRIBUTING.md (which covers the full add/modify procedure). Every SKILL.md description: field must be ~80 characters — one short imperative sentence stating what the skill does. Hard cap: 120 chars (the validator warns above 120 and fails above 1024). Why: Anthropic Skills loads every skill's name+description into every session prompt. Long descriptions bloat context, dilute the trigger signal, and bias retrieval toward the most verbose…

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every SKILL.md description: field must be ~80 characters — one short imperative sentence stating what the skill does.

    line 11

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md — coding-skills repo

This file is the always-loaded instruction file for sessions editing skills in this repo. It complements CONTRIBUTING.md (which covers the full add/modify procedure).

Skill description rule (load-bearing)

Every SKILL.md description: field must be ~80 characters — one short imperative sentence stating what the skill does. Hard cap: 120 chars (the validator warns above 120 and fails above 1024).

Why: Anthropic Skills loads every skill's name+description into every session prompt. Long descriptions bloat context, dilute the trigger signal, and bias retrieval toward the most verbose skill regardless of fit. Front-load what the skill does; defer how / when / co-activation to the body — the retrieval matcher reads the whole metadata payload, so terse is sharper.

Examples:

  • ✅ Apply Python conventions — uv, Ruff strict, mypy strict, pytest, pip-audit. (76)
  • ✅ Drive strict red-green-refactor TDD discipline on any code change, any language. (80)
  • ❌ Multi-clause "Use when …, supports …, composes with …, never does …" (overflows)

The rule applies to:

  • skills/*/SKILL.md — all 11 skills (enforced by tests/frontmatter-validate.sh).
  • agents/*.md — the parallel-review subagents (Claude-Code-only; same retrieval pressure).
  • commands/*.md — slash commands (same retrieval pressure).

What goes where:

Belongs in descriptionBelongs in body
One verb + object — what the skill doesActivation conditions, edge cases
Distinguishing keyword if name is genericTool list rationale, anti-patterns
Co-activation graph with sibling skills

When changing a skill

Bump .claude-plugin/plugin.json version and add a CHANGELOG.md entry. The plugin manifest must always match the content being shipped — see memory/feedback_plugin_versioning.md.

Workflow-skill bullets describe rules abstractly; lockfile / symbol / algorithm specifics belong in the per-language conventions skill (see memory/feedback_skill_wording.md).

Validation

Before committing:

bash tests/frontmatter-validate.sh

Output OK for every skill = green. A WARN line means a description crept past 120 chars; tighten before merging.

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.