agentleFS
quatico-solutionsquatico-solutions/agent-skills/CLAUDE.md

agent-skills

CLAUDE.md2 starsChanged 5 months agoMITView on GitHub

Agent instructions for the agent-skills repository. A single plugin (quatico-skills) over a flat skill pool: Both marketplace manifests define one plugin, quatico-skills, with source: "./"; skills are discovered from skills/ (and commands from commands/, currently empty — the only command moved to plot-pm/plot with its skill). No symlinks. Layout follows the flat-pool convention of anthropics/skills. Versioning is changeset-driven — NEVER edit version numbers by hand. Do not touch metadata.version in any SKILL.md, the version in .claude-plugin/plugin.json / .cursor-plugin/plugin.json, the marketplace.json…

  • Installs packages

The file

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

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

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Instead, every change that touches a skill MUST add a changeset:

    line 22
  2. Very specific:

    Every skill has SKILL.md (frontmatter + instructions) and README.md (development notes)

    line 74
  3. Very specific:

    When adding a new skill, place it in the top-level skills/ directory

    line 78
  4. Very specific:

    Add a skill: add it to skills/ and the README table (linked to its directory), at its alphabetical place, not at the end

    line 92
  5. Very specific:

    Remove a skill: remove from skills/ and the table

    line 93
  6. Distinctive:

    When a skill includes a critical workflow (session teardown, credential handling, destructive operations), prefer a gate over prose.

    line 105
  7. Distinctive:

    Skill authors: if your skill has a "MUST" or "NEVER", ask whether it's enforced (hook/CI) or just prose.

    line 107

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

Agent instructions for the agent-skills repository.

Repository Structure

A single plugin (quatico-skills) over a flat skill pool:

skills/          ← 19 skills (flat pool, one dir per skill)
cli/             ← bb, the Bitbucket CLI source; Homebrew installs it, this is not the installed copy
.claude-plugin/  ← marketplace.json + plugin.json
.cursor-plugin/  ← marketplace.json + plugin.json

Both marketplace manifests define one plugin, quatico-skills, with source: "./"; skills are discovered from skills/ (and commands from commands/, currently empty — the only command moved to plot-pm/plot with its skill). No symlinks. Layout follows the flat-pool convention of anthropics/skills.

Versioning

Versioning is changeset-driven — NEVER edit version numbers by hand. Do not touch metadata.version in any SKILL.md, the version in .claude-plugin/plugin.json / .cursor-plugin/plugin.json, the marketplace.json files, or package.json. The release pipeline owns all of them; hand-edits cause conflicts and drift.

Instead, every change that touches a skill MUST add a changeset:

pnpm changeset   # scaffolds a file in .changeset/ from the template

Edit the created file — a one-line summary (becomes the CHANGELOG.md entry), a root-package bump in the frontmatter, and a bumps: block listing each changed skill with its level:

---
"@quatico-solutions/agent-skills": minor   # root package / collection bump
---

Brief description of the change

<!--
bumps:
  skills:
    working-with-bitbucket-api: minor
    handling-pull-requests: patch
-->

Choose each level by impact (applies to both the root bump and per-skill bumps):

  • Patch (x.y.Z): bug fixes, wording improvements, minor clarifications
  • Minor (x.Y.0): new sections, new patterns, expanded coverage, a new skill
  • Major (X.0.0): structural reorganization, removed sections, breaking workflow changes

Model class

Skills are prompts, and prompts are model-dependent: a model update can change a skill's behaviour without a line of it changing. Record the model class a change was authored or tuned against as a sibling key in the bumps: block:

<!--
bumps:
  skills:
    test-driven-development: minor
  tuned-against: claude-opus-5
-->

Indentation matters. tuned-against: must sit at the same two-space indent as skills:. bump-skill-versions.sh treats any line indented four or more spaces as a skill entry, so a deeper indent would be parsed as a skill name and fail CI's "non-existent skill directory" check.

Use the model family, not a dated snapshot (claude-opus-5, not claude-opus-5-20260724). Omit it for model-independent changes — a broken link, a corrected CLI flag. When a skill is revised specifically because a new model behaves differently, say so in the summary line too: that is the entry a reader needs when the next model lands.

At release, pnpm run version consumes the changesets: bump-skill-versions.sh bumps each SKILL.md from the bumps: blocks, changeset version bumps package.json and writes CHANGELOG.md, and sync-versions.sh propagates the version to the plugin manifests and regenerates marketplace.json. See CONTRIBUTING.md for the full flow.

CI only warns when a skill-touching PR has no changeset (a soft gate) — don't rely on it, add the changeset yourself.

Skill Development

  • Every skill has SKILL.md (frontmatter + instructions) and README.md (development notes)
  • Optional: REFERENCE.md, install-dependencies.sh, diagrams/
  • Skills with install-dependencies.sh must be macOS + Homebrew, idempotent
  • Shell scripts must stay bash 3.2-compatible. macOS ships bash 3.2 and always will (bash 4 went GPLv3), so no declare -A, no ${var^^}/${var,,}, no mapfile; and under set -u, expand possibly-empty arrays as ${arr[@]+"${arr[@]}"}. Gated for cli/bb by the bb-tests-macos CI job, which pins /bin/bash; the other scripts rely on this rule
  • When adding a new skill, place it in the top-level skills/ directory

Frontmatter Rules

  • Never use YAML block scalars (>-, >, |-, |) in SKILL.md frontmatter — Cursor doesn't parse them. Use single-line quoted strings instead.
  • description must be a single-line "quoted string"
  • metadata.version must be 3-part semver: "1.0.0"

Documentation Sync (CRITICAL)

Every change to skills or plugin membership MUST update README.md.

The skills table in README.md lists the quatico-skills plugin's skills. When you:

  • Add a skill: add it to skills/ and the README table (linked to its directory), at its alphabetical place, not at the end
  • Remove a skill: remove from skills/ and the table

The README table must always match the actual contents of the skills/ directory, in alphabetical order by skill name.

Gates Over Rules

For important agent behaviors, prefer gates, not rules. (Reference)

  • A rule is a guideline the agent can rationalize around — it lives in prose (CLAUDE.md, skill instructions) and depends on the agent choosing to follow it.
  • A gate is a hard stop with objective verification — enforced via hooks or CI, where the agent cannot proceed without meeting a concrete, checkable condition.
  • The test: Can you answer "Did I complete this?" without actually doing the work? If yes, it's a rule. If no, it's a gate.

When a skill includes a critical workflow (session teardown, credential handling, destructive operations), prefer a gate over prose. Even when the user casually says "add a rule for X," consider whether it should be a gate.

Skill authors: if your skill has a "MUST" or "NEVER", ask whether it's enforced (hook/CI) or just prose. Prose-only MUSTs eventually get violated — convert the critical ones to gates.

Candidates in this repo:

  • "Documentation Sync (CRITICAL)" above is prose-only — a candidate for a CI check / pre-push hook that fails when the README skills table doesn't match skills/ or is not in alphabetical order.
  • Versioning is currently soft-gated: CI warns when a PR has no changeset, but doesn't fail. Hardening that into a failure would make it a gate.

Plot Config

  • Branch prefixes: idea/, feature/, bug/, docs/, infra/
  • Plan directory: docs/plans/
  • Active index: docs/plans/active/
  • Delivered index: docs/plans/delivered/
  • Git host: github
  • Tracker: plot
  • Commit style: arlo
  • Plan template: .plot/templates/plan.md
  • Worker command: none

Worker command: none means the question was asked and answered: /plot-dispatch prepares and claims worktrees, and a human starts the session in each. It is a recorded decision, not a missing setting — which is what stops dispatch asking again every time.

Plot was in use here before it was configured — every key above records a path this repo already uses, so nothing moves. Commit style is arlo (F -, R -, D -, b - per commit-notation), not the conventional that auto-detection guesses.

Definition of Done

A change is done when all three pass:

  1. pnpm test — skills parse (CI: ci.yml, every PR)
  2. pnpm run validate — skill frontmatter valid (CI: ci.yml, every PR)
  3. pnpm test in skills/working-with-bitbucket-api/tests/ — the bb integration suite on Linux and macOS/bash 3.2 (CI: bb-tests.yml, only when the diff touches cli/bb)

Plus a changeset for any skill-touching change, per Versioning.

The changeset is a stricter standard than CI enforces. ci.yml emits a warning and exits 0 when one is missing — the soft gate named under "Gates Over Rules" above. Treat it as required anyway: the release pipeline reads changesets to bump versions, so a missing one ships a skill change under an unchanged version number. Hardening the CI step into a failure would close the gap.

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.