agentleFS
pvalenapvalena/claude-skills/CLAUDE.md

claude-skills

CLAUDE.md2 starsChanged 59 days agoMITView on GitHub

Personal collection of reusable Claude Code skills for code review, documentation, security, and workflow automation. Author: pvalena. Each skill lives in its own directory with a single SKILL.md file. Skills are loaded by Claude Code from ~/.claude/skills/*/SKILL.md. Mechanical parameters are declared once in .claude/repo-config.yml (the authoritative source of truth); see the repo-config skill. Code review pipeline (used together, in order): 1. sanity-check — fast malicious-intent scan before review 2. review — full code review with reasoning files and draft fixes…

The file

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

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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 sizing limits are soft guidance, not hard caps.

    line 66
  2. Very specific:

    Validation: run the validation command(s) from .claude/repo-config.yml.

    line 69
  3. Very specific:

    Version history in SKILL.md: Keep entries to one line per version.

    line 74

≈ “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 Code Skills Library

Personal collection of reusable Claude Code skills for code review, documentation, security, and workflow automation. Author: pvalena.

Repository Structure

Each skill lives in its own directory with a single SKILL.md file. Skills are loaded by Claude Code from ~/.claude/skills/*/SKILL.md.

├── auto-memory/        — Create/maintain project-level MEMORY.md files
├── commit/             — Project-aware commit workflow with convention discovery
├── create-skill/       — Meta-skill: framework for creating new skills
│   └── validate_skills.sh  — Validation script for all skills
├── incremental-improvement/ — Find and measure highest-impact workflow improvement
├── memory-dump/        — Exhaustive knowledge-transfer dumps across sessions
├── patch-evaluation/   — Evaluate patch sets against upstream (backport/forwardport)
├── refresh-docs/       — Coordinated documentation updates across file tiers
├── repo-config/        — Authoritative per-project config (.claude/repo-config.yml)
├── review/             — Full code review workflow (the flagship skill)
├── review-toolbox/     — Read-only source inspection via the bundled `rtb` wrapper
│   └── rtb                 — Read-only git/fs wrapper for review
├── sanity-check/       — Quick pre-review scan for malicious intent/injection
├── todo/               — Prioritize a TODO backlog, draft the top item, prune when done
└── verify-fix/         — Verify security patches block attack vectors

Mechanical parameters are declared once in .claude/repo-config.yml (the authoritative source of truth); see the repo-config skill.

Skill Categories

Code review pipeline (used together, in order):

  1. sanity-check — fast malicious-intent scan before review
  2. review — full code review with reasoning files and draft fixes
  3. verify-fix — verify security patches actually block the vulnerability

Documentation:

  • auto-memory — project MEMORY.md creation and maintenance
  • memory-dump — cross-session knowledge transfer documents
  • refresh-docs — coordinated updates across CLAUDE.md/MEMORY.md/docs/

Process:

  • incremental-improvement — measure-implement-prove improvement cycle
  • todo — prioritize a TODO backlog by impact × achievability, draft and prune
  • patch-evaluation — classify/dedup/inspect patch sets against upstream
  • repo-config — authoritative per-project config read by other skills
  • create-skill — meta-skill for creating new skills

Review tooling:

  • review-toolbox — read-only source inspection via the bundled rtb wrapper

Key Conventions

Mechanical parameters (line width, validation command, commit prefix, version files) live in .claude/repo-config.yml — the authoritative source of truth (see the repo-config skill). This file describes conventions in prose; it does not restate the config's values, so they can't drift.

  • SKILL.md format: YAML frontmatter (--- delimiters, must be first line) with name, description, version, tags fields, then markdown body. The description field is critical — Claude Code uses it for discoverability.
  • Line width: see line_width in .claude/repo-config.yml.
  • Sizing: 150–400 lines typical; domain-heavy skills may exceed 600. All sizing limits are soft guidance, not hard caps.
  • Sections: ## When to Use, ## Workflow (or ## Complete Workflow), ## Version History are required. ## See Also is recommended.
  • Validation: run the validation command(s) from .claude/repo-config.yml. Fix errors; warnings are advisory.

Commit Conventions

  • Version history in SKILL.md: Keep entries to one line per version. Detailed changelogs go in the git commit message, not in the skill file.
  • Commit messages: prefix and body style come from .claude/repo-config.yml (commit.prefix, commit.body_style) — currently a skill-name prefix (e.g., review: trim v3.9) with verbose detail in the body.

See MEMORY.md for current metrics, validation details, and lessons learned.

Development Workflow

The validation command below is the validation entry in .claude/repo-config.yml (authoritative); the line-width check uses its line_width. Shown here as runnable examples:

# Validate all skills
~/.claude/skills/create-skill/validate_skills.sh ~/.claude/skills

# Check a specific skill's line count
wc -l SKILL-NAME/SKILL.md

# Check lines over the configured line_width
awk 'length > 120' SKILL-NAME/SKILL.md

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.