agentleFS
obeoneobeone/claude-skills/CLAUDE.md

claude-skills

CLAUDE.md4 starsChanged 2 months agoMITView on GitHub

Guidance for Claude Code (claude.ai/code) when working in this repository. The Claude Agent Skills Stack: a collection of self-contained skills, each bundling the tools, references, and validation scripts an autonomous agent needs to operate independently. Historical: the skill once named helm-chart-generator became helm-bjw-s-chart (renamed in v3.0.0). Update any lingering reference to the old name (directory, asset filename, or skill name). Every entry-point script runs via uv run and declares its dependencies inline as a PEP 723 header (# /// script…

The file

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

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

  • 3

    Very specific

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

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

    Every entry-point script runs via uv run and declares its dependencies inline as a PEP 723 header (# /// script block), so uv run <script> …

    line 32
  2. Very specific:

    POSIX text: every text file ends with a newline (\n) and uses LF line endings.

    line 67
  3. Very specific:

    Python via uv: use uv for dependency management.

    line 68

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

Guidance for Claude Code (claude.ai/code) when working in this repository.

Repository Overview

The Claude Agent Skills Stack: a collection of self-contained skills, each bundling the tools, references, and validation scripts an autonomous agent needs to operate independently.

Architecture

skills/<skill-name>/
├── SKILL.md          # Entry point with YAML front-matter (name, description, metadata.version)
├── scripts/          # Python validation and analysis tools
├── assets/           # Templates and static resources
└── references/       # Documentation and best practices

Current skills

SkillEntry pointValidators
dockerfile-best-practicesskills/dockerfile-best-practices/SKILL.mdanalyze_dockerfile.py, analyze_compose.py
helm-bjw-s-chartskills/helm-bjw-s-chart/SKILL.mdvalidate_chart.py
automode-configskills/automode-config/SKILL.mdscan_project.py, inspect_automode.py, apply_automode.py --dry-run
apple-shortcutsskills/apple-shortcuts/SKILL.mdvalidate-shortcut.py, inspect-shortcut.py, list-app-intents.py

Historical: the skill once named helm-chart-generator became helm-bjw-s-chart (renamed in v3.0.0). Update any lingering reference to the old name (directory, asset filename, or skill name).

Commands

Every entry-point script runs via uv run and declares its dependencies inline as a PEP 723 header (# /// script block), so uv run <script> resolves and caches them with no requirements.txt step.

# Dockerfile / Compose analysis
uv run skills/dockerfile-best-practices/scripts/analyze_dockerfile.py <path/to/Dockerfile>
uv run skills/dockerfile-best-practices/scripts/analyze_compose.py <path/to/compose.yaml>

# Helm bjw-s chart validation
uv run skills/helm-bjw-s-chart/scripts/validate_chart.py <path/to/chart/>

# autoMode: inspect the three settings files, scan for adoption candidates
uv run skills/automode-config/scripts/inspect_automode.py
uv run skills/automode-config/scripts/scan_project.py

autoMode proposals flow through a dry-run (which prints the canonical sha256) then a hash-gated commit:

uv run skills/automode-config/scripts/apply_automode.py --proposal proposal.json --mode auto --dry-run
uv run skills/automode-config/scripts/apply_automode.py --proposal proposal.json --mode auto --approved-canonical-hash <sha256>

Natural-language editing is the /automode-edit slash command (e.g. add a hard_deny rule that forbids pushing to main). Full contract: skills/automode-config/commands/automode-edit.md.

Mandatory Requirements

  1. SKILL.md front-matter needs name, description, and metadata.version:
    ---
    name: my-skill
    description: "Skill description"
    metadata:
      version: "1.0.0"
    ---
  2. POSIX text: every text file ends with a newline (\n) and uses LF line endings.
  3. Python via uv: use uv for dependency management.

Release and Versioning

Two version spaces, kept decoupled:

  • Per-skill metadata.version is SemVer, bumped for changes to that one skill.
  • Repo release tags are CalVer (vYYYY.MM.MICRO, e.g. v2026.06.1). A tag means "a publish happened", not a skill version.

To cut a release, run uv run scripts/release.py locally (--dry-run to preview). It tags origin/main with the next micro for the current month (v$(date +%Y.%m).N, N starting at 0; legacy SemVer tags such as v4.1.0 are ignored), as an annotated GPG-signed tag, and pushes it. It does nothing when skills/ is unchanged since the last tag (--force overrides), so it is safe to run on a schedule after Dependabot auto-merges. scripts/release-agent.sh wraps it for a weekly local launchd job: headless Claude follows scripts/release-agent.md to write the summary, watch Publish Skills, add release highlights, and notify over ntfy. The Publish Skills workflow triggers on v* and builds the .skill assets.

Key Design Decisions

  • Pin runtimes, not the OS: python:3.12-slim, not python:3.12-slim-bookworm, so security updates land.
  • Non-root users, UID/GID > 10000: avoids clashes with host users across orchestration platforms.
  • BuildKit directive: Dockerfiles start with # syntax=docker/dockerfile:1.
  • Compose V2: no version: field, never container_name: (it blocks scaling).
  • bjw-s common library v4+: charts use https://bjw-s-labs.github.io/helm-charts.

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.