agentleFS
mmccallammccalla/coding-agent-skill-library/CLAUDE.md

coding-agent-skill-library

CLAUDE.md4 starsChanged 5 months agoApache-2.0View on GitHub

This repository uses a flat one-level coding-agent skills library. Before planning, routing, tool use, or edits: See skills_docs/LIBRARY_CONTRACT.md for portable consistency rules. Treat skill frontmatter as the primary selection surface: This repository uses progressive disclosure. Match on metadata first, then load the selected SKILL.md body. Prefer canonical US-English, industry-standard names and add aliases for acronyms, alternate spellings, superseded names and likely user phrasings. Use these skills when the task shape matches: When a task i

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

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

26 rules. About 0 are common, 21 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈21

    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
  1. Distinctive:

    Before planning, routing, tool use, or edits:

    line 7
  2. Very specific:

    Use skills_docs/HOW_TO_FIND_THE_RIGHT_SKILL.md as the routing guide, skills/README.md as the flat-library index, and skills/MANIFEST.md as …

    line 9
  3. Distinctive:

    Treat skill frontmatter as the primary selection surface:

    line 16
  4. Distinctive:

    Write small, testable diffs.

    line 29
  5. Distinctive:

    Prefer explicit schemas, typed models, deterministic validators and executable tests for agent workflows.

    line 30
  6. Distinctive:

    Never allow generated tool calls, MCP requests, A2A messages, retrieval context, memory writes, self-improvement changes or generated code …

    line 31
  7. Distinctive:

    Use these skills when the task shape matches:

    line 36
  8. Very specific:

    When a task involves business architecture, data architecture, event-driven architecture, real-time data or message-based enterprise …

    line 56
  9. Distinctive:

    Use business architecture skills to clarify capabilities, value streams, processes, operating models, maturity, organisation design and …

    line 58
  10. Distinctive:

    Use data architecture skills to define conceptual/logical models, data products, contracts, metadata, governance, quality, …

    line 60
  11. Distinctive:

    Use event-driven and real-time data skills to define business events, event schemas, streaming platforms, CDC, stream processing, event …

    line 64
  12. Distinctive:

    Use enterprise-integration-patterns skills for message-based integration style, channels, message construction, routing, transformation, …

    line 66
  13. Distinctive:

    Use solution-and-platform-architecture skills for solution options/NFRs and shared cloud platform/landing-zone design.

    line 68
  14. Very specific:

    When the task is specifically about building, delivering or governing a KRAG system, also load the smallest relevant KRAG skill from the …

    line 70
  15. Distinctive:

    Use these skills for KRAG architecture, ingestion and graph construction, retrieval and answering, and KRAG-specific evaluation and …

    line 72
  16. Distinctive:

    Before implementation, preserve traceability:

    line 74
  17. Distinctive:

    Keep artefacts practical and concise.

    line 85
  18. Very specific:

    When a task changes user-facing behaviour or creates UI, load the relevant UX skill from the flat skills/ directory using the …

    line 89
  19. Distinctive:

    Use the smallest relevant set of skills:

    line 91
  20. Distinctive:

    Before implementing UI, identify the user role, primary task, success criterion, required evidence, system states, accessibility …

    line 102
  21. Very specific:

    When a task affects production reliability, operability, CI/CD, release safety, incidents, observability, toil or delivery performance, …

    line 108
  22. Distinctive:

    Before changing reliability-sensitive code, identify user impact, service objective, telemetry evidence, rollback path, tests, operational …

    line 121
  23. Distinctive:

    Do not apply principles mechanically.

    line 127
  24. Distinctive:

    Before finishing, report files changed, tests/checks run, intentional behaviour changes, assumptions and residual risks.

    line 131
  25. Distinctive:

    Before executing shell commands, modifying files, changing CI/CD, using tools, configuring MCP/A2A integrations, handling secrets, or …

    line 135
  26. Distinctive:

    If these files conflict with a task-specific skill, follow the stricter safety and security requirement.

    line 142

≈ “Common” is an estimate: at least 1 in 5 of the 28,633 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 Code Project Guidance

This repository uses a flat one-level coding-agent skills library.

Startup order

Before planning, routing, tool use, or edits:

  1. Use skills_docs/HOW_TO_FIND_THE_RIGHT_SKILL.md as the routing guide, skills/README.md as the flat-library index, and skills/MANIFEST.md as the full inventory.
  2. Load only the smallest relevant skill or combination of skills for the task.

See skills_docs/LIBRARY_CONTRACT.md for portable consistency rules.

Discovery-first metadata policy

Treat skill frontmatter as the primary selection surface:

  1. name
  2. aliases
  3. description
  4. explicit pack metadata and manifest context

This repository uses progressive disclosure. Match on metadata first, then load the selected SKILL.md body. Prefer canonical US-English, industry-standard names and add aliases for acronyms, alternate spellings, superseded names and likely user phrasings.

Default behaviour

  • Inspect the repository before proposing major changes.
  • Preserve existing conventions unless there is a clear reason to change them.
  • Write small, testable diffs.
  • Prefer explicit schemas, typed models, deterministic validators and executable tests for agent workflows.
  • Never allow generated tool calls, MCP requests, A2A messages, retrieval context, memory writes, self-improvement changes or generated code to bypass validation and tests.
  • Summarise actual work done, not intended work.

Skill usage

Use these skills when the task shape matches:

  • bdd-practice for business-readable behaviour and acceptance scenarios.
  • ddd-practice for complex domain logic, bounded contexts, aggregates and invariants.
  • tdd-practice for behaviour changes and defect fixes.
  • kiss-principle before adding new abstractions.
  • solid-principles when refactoring modules, services, classes, tools, agents or dependency boundaries.
  • dry-principle when repeated knowledge, rules, schemas or validation create maintenance risk.
  • skill-discovery-and-selection, requirements-elicitation, idea-refinement, spec-driven-development, incremental-implementation, context-engineering, source-driven-development and uncertainty-driven-development for the workflow spine from session start through spec and implementation.
  • Agentic workflow and control skills when building or modifying agents, tools, MCP servers, A2A integrations, RAG systems, guardrails, memory, evaluation, recovery or monitoring.
  • apply-laws-of-ai when the task involves material AI/agent harm risk, unlawful or unauthorised instructions, or explicit safety-law trade-offs — not as a mandatory session preamble.
  • Architecture skills when working on capabilities, value streams, processes, operating models, solution/platform architecture, data models, data products, data contracts, metadata, governance, quality, lineage, event-driven architecture, CDC, streams, real-time data or message-based enterprise integration (EIP).
  • threat-modeling, secure-sdlc-and-supply-chain, ai-model-governance and risk-management for security design, supply chain, model governance and risk registers.
  • api-design-and-lifecycle, solution-architecture and cloud-platform-architecture for APIs, solution options/NFRs and landing zones.
  • test-strategy, technical-debt-management, finops-practice, performance-engineering and infrastructure-as-code for test approach, debt, platform cost, performance and IaC.
  • krag-system-design, krag-ingestion-graph-construction, krag-retrieval-answering and krag-evaluation-governance for end-to-end KRAG system development and delivery.
  • browser-testing-with-devtools, code-review-and-quality, git-workflow-and-versioning, ci-cd-and-automation, documentation-and-adrs, deprecation-and-migration and shipping-and-launch for browser evidence, review, delivery automation, durable documentation and release readiness.

Business, data and event-driven architecture guidance

When a task involves business architecture, data architecture, event-driven architecture, real-time data or message-based enterprise integration, load the smallest relevant skill from the flat skills/ directory using the semantic groupings in skills/PACK_METADATA.json and skills/MANIFEST.md.

Use business architecture skills to clarify capabilities, value streams, processes, operating models, maturity, organisation design and strategy-to-execution traceability.

Use data architecture skills to define conceptual/logical models, data products, contracts, metadata, governance, quality, security/privacy, lifecycle/retention, integration/interoperability, lakehouse layers, MDM/RDM, ontologies, knowledge graphs, KG-enabled RAG and lineage.

For data architecture, apply DAMA-DMBOK2-style discipline across governance, architecture, modelling, security, integration/interoperability, master/reference data, metadata and quality. For cloud or shared data, apply CDMC-style expectations: ownership, classification, entitlement/access evidence, lineage/provenance, lifecycle/retention, quality controls and auditable evidence.

Use event-driven and real-time data skills to define business events, event schemas, streaming platforms, CDC, stream processing, event governance, lineage and real-time operability.

Use enterprise-integration-patterns skills for message-based integration style, channels, message construction, routing, transformation, endpoints, messaging operations, EIP validation and API lifecycle (OpenAPI).

Use solution-and-platform-architecture skills for solution options/NFRs and shared cloud platform/landing-zone design.

When the task is specifically about building, delivering or governing a KRAG system, also load the smallest relevant KRAG skill from the flat skills/ directory using the KRAG grouping in skills/PACK_METADATA.json and skills/MANIFEST.md.

Use these skills for KRAG architecture, ingestion and graph construction, retrieval and answering, and KRAG-specific evaluation and governance.

Before implementation, preserve traceability:

business outcome
→ capability/value stream/process
→ information concept
→ data model/data product/data contract
→ event/stream where needed
→ metadata, quality, security, lifecycle and lineage evidence

Keep artefacts practical and concise. Prefer useful decision records, matrices, schemas, diagrams and checklists over long narrative. Do not turn business artefacts directly into physical code or schemas without preserving business meaning, ownership, quality rules and traceability.

User experience and interface design guidance

When a task changes user-facing behaviour or creates UI, load the relevant UX skill from the flat skills/ directory using the user-experience grouping in skills/PACK_METADATA.json and skills/MANIFEST.md.

Use the smallest relevant set of skills:

  • ux-design-principles for journeys, navigation, forms and workflow design.
  • accessibility-wcag for all UI work.
  • ui-component-design for reusable components.
  • frontend-state-and-interaction-design for async, error, empty, partial and approval states.
  • data-product-dashboard-design for dashboards and evidence-led analytical screens.
  • design-system-practice for shared UI standards.
  • user-research-and-usability-testing for usability validation.
  • agentic-ux-patterns for AI/agent supervision, approval and evidence-review interfaces.

Before implementing UI, identify the user role, primary task, success criterion, required evidence, system states, accessibility requirements, approval or audit needs and residual risk.

For agentic interfaces, do not make autonomous actions invisible or magical. Surface the plan, evidence, uncertainty, permissions, tool use, consequences and approval decision.

Reliability, SRE and DORA guidance

When a task affects production reliability, operability, CI/CD, release safety, incidents, observability, toil or delivery performance, load the relevant skill from the flat skills/ directory using the reliability-and-delivery grouping in skills/PACK_METADATA.json and skills/MANIFEST.md.

Use the smallest relevant set of skills:

  • sre-practice for production reliability, resilience and service ownership.
  • slo-error-budget-management for SLIs, SLOs, error budgets and burn-rate decisions.
  • incident-response-and-postmortems for incidents, recovery and learning reviews.
  • observability-and-telemetry for metrics, logs, traces, dashboards and alerts.
  • toil-reduction-and-automation for safe operational automation.
  • release-engineering-and-progressive-delivery for safe deployment, canaries, rollback and feature flags.
  • dora-four-keys for DevOps Research and Assessment delivery metrics (classic Four Keys plus rework rate).
  • secure-sdlc-and-supply-chain, finops-practice, performance-engineering and infrastructure-as-code for secure delivery, platform cost, performance and IaC.

Before changing reliability-sensitive code, identify user impact, service objective, telemetry evidence, rollback path, tests, operational owner and residual risk.

DORA in this repository means DevOps Research and Assessment, not the EU Digital Operational Resilience Act.

Trade-off guidance

Do not apply principles mechanically. Preserve behaviour, tests, security controls, privacy boundaries, observability and readability. Prefer simple verified implementations over speculative architecture.

Completion standard

Before finishing, report files changed, tests/checks run, intentional behaviour changes, assumptions and residual risks.

Global safety and security instructions

Before executing shell commands, modifying files, changing CI/CD, using tools, configuring MCP/A2A integrations, handling secrets, or making security-sensitive changes, read and follow:

  • AGENTIC_CODING_GLOBAL_SAFETY.md
  • SECURE_AGENTIC_DEVELOPMENT.md

These instructions are mandatory. They define safe command execution, approval requirements, destructive-command controls, least-privilege tool use, secret-handling rules, secure development expectations, and evidence required before claiming completion.

If these files conflict with a task-specific skill, follow the stricter safety and security requirement. Do not bypass tests, validation, guardrails, access controls, or approval gates unless the user explicitly authorises the specific exception.

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.