agentleFS
laurigateslaurigates/claude-plugins/CLAUDE.md

claude-plugins

CLAUDE.md59 starsChanged 8 days agoMITView on GitHub

Claude Code plugin collection providing skills and agents for development workflows.

  • Reads credentials
  • Commits and pushes

The file

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

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

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All commits and PR titles must follow the pattern:

    line 112
  2. Very specific:

    Commits: Use git commit -m "feat(plugin): description" with issue references

    line 119
  3. Distinctive:

    PR titles: MUST match conventional format - used as commit message on squash-merge

    line 120
  4. Very specific:

    Run this marketplace's skills inside other coding agents: two local-model harnesses through the adapter, and Antigravity CLI through …

    line 144
  5. Distinctive:

    Use tables for quick reference (flags, options)

    line 185

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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-plugins

Claude Code plugin collection providing skills and agents for development workflows.

Project Structure

<plugin-name>/
├── .claude-plugin/
│   └── plugin.json      # Plugin manifest (see .claude/rules/plugin-structure.md)
├── README.md            # Plugin documentation
├── CHANGELOG.md         # Auto-generated by release-please
├── skills/
│   └── <skill-name>/
│       ├── SKILL.md     # Skill definition (user-invocable and auto-discovered)
│       └── workflows/   # Bundled *.workflow.js templates (optional)
└── agents/              # Agent definitions (optional)

Rules

RulePurpose
.claude/rules/conventional-commits.mdCommit and PR title format standards - drives release-please automation
.claude/rules/plugin-structure.mdplugin.json schema and directory layout
.claude/rules/release-please.mdVersion management and changelog automation
.claude/rules/skill-development.mdSkill creation patterns
.claude/rules/skill-consolidation.mdMerging/deleting skills: verify the premise first, cross-plugin = name-reference (not shared REFERENCE.md), and the merge/delete checklist
.claude/rules/agentic-optimization.mdCLI output optimization for AI
.claude/rules/skill-naming.mdSkill namespace conventions
.claude/rules/shell-scripting.mdSafe shell patterns and frontmatter extraction
.claude/rules/agentic-permissions.mdGranular tool permissions for skills
.claude/rules/auto-mode.mdAuto mode availability, classifier rules, allow-rule fate, and authoring guidance
.claude/rules/skill-quality.mdSkill size limits, required sections, and quality checklist
.claude/rules/skill-portability.mdShipped skills, agents and hooks stay environment-neutral: no maintainer repos, hosts or checkout paths as instructions; values come from context. scripts/check-skill-portability.sh ratchets the hits down from a baseline
.claude/rules/skill-argument-handling.md9-axis rubric for args/argument-hint/parsing-vs-intent fit; the haiku+opus cold-read sweep that finds mismatches and the model delta that calibrates it
.claude/rules/skill-execution-structure.mdImperative execution patterns for user-invocable skills
.claude/rules/handling-blocked-hooks.mdHow to respond when hooks block commands
.claude/rules/hook-block-vs-nudge.mdBlock (exit 2) only for safety; nudge for style — why a hard block on a tool-substitution dead-ends subagents lacking the tool, and the "what does it exempt?" litigation test
.claude/rules/hooks-reference.mdComplete hook event reference (2.1.50+): all events, schemas, timeouts, PermissionRequest
.claude/rules/prompt-agent-hooks.mdWhen to use prompt/agent hooks — decision tree, config schema, prompts guide
.claude/rules/agent-development.mdAgent frontmatter, model, context isolation, memory
.claude/rules/agent-runtime.mdAgent runtime: worktrees, background, workflows
.claude/rules/skill-fork-context.mdWhen to set context: fork and agent: on skills
.claude/rules/workflow-vs-skill.mdWhen a bundled workflow .js earns its agents — enumerable N, real barrier, script-decidable bound; the workflows/ layout
.claude/rules/regression-testing.mdRequired: add a script check for every skill bug fixed
.claude/rules/skill-evaluation.mdHow we measure skill effectiveness: tiered cost, deterministic-vs-judge grading, cross-model delta signal
.claude/rules/context-engineering.mdClaude 5 context-engineering position — rank cuts by always-loaded cost, scope new rules with paths:, split large skills across many files; demotes three skill-quality.md mandates
.claude/rules/sandbox-guidance.mdSandbox constraints, CLAUDE_CODE_REMOTE detection, and remote/local skill patterns
.claude/rules/plugin-flow-diagrams.mdWhen and how to add Mermaid flow diagrams
.claude/rules/agent-coworker-detection.mdDetect other agents working in the same repo clone before destructive git ops
.claude/rules/pr-branch-sync.mdBefore building further on a PR branch, confirm it's live and in sync (remote sibling of coworker-detection) — the /git:pr-sync-check skill + check-branch-sync-on-push.sh hook + git-drift-probe.sh trio
.claude/rules/workflow-naming.md<Domain>: <Action> naming for .github/workflows/*.yml and skill-generated workflow examples
.claude/rules/github-actions-security.mdGitHub Actions secure-use baseline — least-privilege GITHUB_TOKEN, script-injection env-var indirection, pull_request_target hazards, CODEOWNERS on workflows; the checklist every workflow-scaffolding skill follows
.claude/rules/workflow-model-effort.mdWorkflow Claude model/effort standard — every .github/workflows invocation pins --model opus (or fable/sonnet per workflow) + explicit --effort (a per-workflow cost/quality trade, not the subagent-contamination argument); enforced by check-workflow-model.sh
.claude/rules/bash-tool-replacements.mdfind/grep/rg/cat/head/tail → dedicated tools; when the Bash form is genuinely fine
.claude/rules/gh-json-fields.mdCorrect gh --json field names (PR state/mergedAt, not merged); --limit and head: truncation traps
.claude/rules/structured-script-output.md=== HEADER === / KEY=VALUE / STATUS= convention for diagnostic shell scripts
.claude/rules/terminology.mdHouse-specific terms (set the seam, define done, park, pick up where we left off) and the skill/rule that owns each; the general glossary is docs/terminology.md
.claude/rules/parallel-safe-queries.mdQuery commands that exit non-zero on empty results silently cancel sibling parallel tool calls — use the machine-readable variant (--json/export + jq)
.claude/rules/docs-currency.mdCode and the docs describing it land in the same commit (stub → blueprint:blueprint-docs-currency)
.claude/rules/version-pinning.mdVersion pins in skill examples (uses:/FROM/image:/rev:) are a Renovate-managed surface — SHA+comment convention, the coverage guard, and what's illustrative vs. managed
.claude/rules/loop-integrity.mdLong-running/self-continuing loops need an independent stop condition (a fresh verifier judges "done", not the worker) and a compact state packet each iteration (objective/ref/files/verifier-result/changed-since/exit-condition/ordering/next-target) — else they optimize for completion over correctness or automate context drift
.claude/rules/gitattributes.md.gitattributes conventions — merge=union only for one-line-per-entry append-only files, linguist-generated for build output (always safe), LF normalization; the configure-gitattributes skill + resolve-additive-conflicts.py pre-pass
.claude/rules/task-id-stability.mdTaskwarrior numeric IDs renumber after every close — resolve the immutable UUID once and mutate by UUID, including within a single skill's own multi-step lifecycle, not just across bulk loops
.claude/rules/generated-fleet-drift.mdAuditing a generated fleet — divergence is not automatically drift: it is bidirectional (never auto-apply template → instance), an identically-diverging cohort signals intent, and undeclared intent is unauditable
.claude/rules/plugin-usage-telemetry.md~/.claude.json's pluginUsage.usageCount counts hook fires, so it ranks trigger cadence rather than plugin value — nothing in this repo reads it (incl. health-check --scope=usage, which mines transcripts); the delivery signal is the lowercase-first attributionPlugin/attributionSkill/attributionAgent
.claude/rules/drift-detection-triggering.mdDrift that "needs a sweep" is usually a triggering gap, not a logic gap — mount the existing deterministic script on a trigger (event hook for local state, TTL-debounced poll for remote state) instead of rewriting it
.claude/rules/issue-grouping.mdRelated issues are grouped under an epic (sub-issues) or a milestone; new issues join an existing group; agents implement a group together. scripts/check-issue-grouping.sh lists ungrouped issues
.claude/rules/biome-markdown.mdKeep biome's Markdown formatter/linter off (≥ 2.6 mangles frontmatter)
.claude/rules/offload-to-deterministic-substrate.mdPlugin-authoring deltas of the global law: mechanical, repeatable, verifiable work goes in a script, hook, or structured-output contract the agent invokes — not prose it re-derives each run

Rule clusters and the owner of each shared fact: docs/rules-map.md.

Auditing these docs: docs/audits/README.md records the Layer 1 (automated, monthly) / Layer 2 (quarterly + milestone-triggered) cadence and holds past findings artifacts.

Authoring Skills and Plugins

Invoke /marketplace-authoring — it carries the create-a-skill and create-a-user-invocable-skill frontmatter shapes, the seven metadata files a plugin add/delete must touch, and the development workflow. All four are procedures with a clear trigger, so they live in a skill rather than here (#2140).

Agentic Optimization

See .claude/rules/agentic-optimization.md for detailed patterns.

Key principles:

  • Compact output: --dots, --reporter=github, -c
  • Fail fast: --bail=1, -x
  • CI modes: --reporter=junit, --frozen-lockfile
  • Machine-readable: JSON output when available

Plugin Organization

Plugin TypeExampleContains
Tool-focusedtools-pluginCLI tool skills (fd, rg, jq)
Language-focusedtypescript-pluginLanguage ecosystem skills
Workflow-focusedgit-pluginGit/GitHub operations
Infrastructureconfigure-pluginConfiguration automation

Git Workflow

CRITICAL: Commits and PR titles MUST follow conventional commit format.

Conventional Commits

All commits and PR titles must follow the pattern:

<type>(<scope>): <subject>

Why: This drives release-please version automation and maintains clean git history.

  • Commits: Use git commit -m "feat(plugin): description" with issue references
  • PR titles: MUST match conventional format - used as commit message on squash-merge
  • Scope: The plugin directory name (e.g., feat(git-plugin)). It is a changelog label only; the files touched decide which packages release
  • Types: feat, fix, perf, refactor, docs, test, ci, build, chore, revert

See .claude/rules/conventional-commits.md for complete guide and examples.

Example Workflow

# Write and test code
git add src/feature.ts tests/feature.test.ts

# Commit with conventional format + issue reference
git commit -m "feat(git-plugin): add new workflow

Closes #42
Refs #99"

# PR title must also be conventional
gh pr create --title "feat(git-plugin): add new workflow"

Local-model export

Run this marketplace's skills inside other coding agents: two local-model harnesses through the adapter, and Antigravity CLI through in-place skills.json registration (not an adapter):

TargetSource of truthDocRecipes
pi (pi.dev) — adapter (ADR-0022)adapters/pi/ bindingadapters/README.md § pi, docs/pi-export.mdjust pi-adapter-check, pi-adapter, pi-adapter-register, pi-adapter-unregister (group adapters); serve-pi-model, setup-pi (group pi)
OpenCode — adapter (ADR-0022)adapters/opencode/ bindingadapters/README.md, docs/opencode-export.mdjust oc-adapter-check, oc-adapter-register, oc-adapter-unregister (group adapters); export-opencode, install-opencode, setup-opencode (group opencode)
Antigravity CLI (agy)in-place skills.json + agent/hook exportdocs/antigravity-export.mdjust agy-check, configure-antigravity, install-antigravity-agents, install-antigravity-hooks, setup-antigravity (group antigravity)

pi and OpenCode load Claude Code SKILL.md unmodified but neither budgets the skill listing: pi costs ~111 tok/skill and OpenCode ~88 (measured 2026-08-24 — ~34,000 standing tokens for 382 skills), both uncapped. The adapter (ADR-0022) closes that gap for each: a search_skills pull tool + per-turn ranked top-k push injection reaching all ~400 skills at ~600 standing tokens — see adapters/README.md. Antigravity's standing skill-listing cost has not been measured.

Both cutovers are done. pi's curated tier installer (pi/tiers.yaml + scripts/install-pi.sh, ~9,900 standing tokens over ~95 skills) was removed in #2093; OpenCode's rulesync export was retired in #2094, once its own token calibration landed beside the retrieval gate frozen at main_hit_at_k_min = 0.57 on 2026-07-22 (adapters/CUTOVER.md §1 and §8). just export-opencode survives for the two surfaces the adapter does not cover — subagents (OpenCode does not auto-load ~/.claude/agents/) and hooks (OpenCode has no hook surface at all).

Blueprint (constrained dogfooding)

This repo runs blueprint-plugin against itself in a deliberately constrained mode. State lives in docs/blueprint/; see docs/blueprint/README.md for the full rationale.

TaskStatusWhy
adr-validate, sync-ids, feature-tracker-syncenabledRead-leaning workflows that genuinely add value across this repo's ADRs, PRDs, and PRPs
story-audit, story-reconcileenabledstory-audit is read-only and writes only its own dated artifact under docs/blueprint/audits/. story-reconcile mutates PRDs only and confirms each edit interactively.
derive-plans (subsumes former derive-prd/derive-adr), derive-rules, generate-rules, claude-md, curate-docsdisabledWould treat plugin source as project requirements or could overwrite the hand-written .claude/rules/ / hand-curated CLAUDE.md

Always run /blueprint:sync-ids with --dry-run first. Each disabled task carries a context.disabled_reason in the manifest — read it before flipping any flag back on.

Autonomy level 3 is consumer-only (ADR-0020, #2005). This repo stays at automation.autonomy_level: 1 and never runs the level-3 out-of-band pipeline. /blueprint:autonomy-level3 scaffolds that pipeline (the blueprint-autorun + blueprint-wo-execute workflow templates + gate/parser scripts) into a downstream consumer repo that opts in; it is authored and tested here but not exercised here.

Commit-scope convention for blueprint work

ScopeEffectUse for
chore(blueprint): …No version bumpManifest bookkeeping, sync runs, ID assignments inside docs/blueprint/
feat(blueprint-plugin): …Minor version bump on the published pluginSkill changes inside blueprint-plugin/
fix(blueprint-plugin): …Patch version bumpBug fixes inside blueprint-plugin/

What keeps dogfooding from publishing the plugin is the chore type (no bump) plus keeping edits under docs/blueprint/ — not the blueprint scope. release-please routes by files touched, not by scope (.claude/rules/conventional-commits.md), so fix(blueprint): … on a file inside blueprint-plugin/ would publish.

Conventions

  • Skill names: lowercase-hyphenated (bun-development)
  • Skill invocation: lowercase with colons for nesting (/bun:install)
  • Plugin names: suffix with -plugin (typescript-plugin)
  • Use tables for quick reference (flags, options)
  • Include both short and long flag forms where applicable

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.