agentleFS
Hamza-SaraswatHamza-Saraswat/actuals/CLAUDE.md

actuals

CLAUDE.md2 starsChanged 4 months agoMITView on GitHub

This repo is a Claude Code plugin AND its own marketplace (.claude-plugin/marketplace.json points at ./.). GitHub repo name is actuals; the local folder name doesn't matter.

  • In this repositoryOne other file it gives its agents.

The file

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

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

  • 2

    Very specific

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

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

    Headless runs: always pair --plugin-dir with --add-dir <this repo> — plugin loading does NOT grant file reads into the plugin dir, and …

    line 8
  2. Very specific:

    Cache gotcha: after a real /plugin install, Claude Code loads the snapshot in ~/.claude/plugins/cache/, NOT this repo.

    line 9

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

Actuals — developer notes

This repo is a Claude Code plugin AND its own marketplace (.claude-plugin/marketplace.json points at ./.). GitHub repo name is actuals; the local folder name doesn't matter.

Dev loop

  • Iterating: claude --plugin-dir /path/to/this/repo loads the plugin ephemerally — edits take effect on the next session, nothing is registered.
  • Headless runs: always pair --plugin-dir with --add-dir <this repo> — plugin loading does NOT grant file reads into the plugin dir, and without it skills can't read the catalog/templates (they fall back to lint-guided reconstruction; works, but degraded — see README "Headless / CI usage").
  • Cache gotcha: after a real /plugin install, Claude Code loads the snapshot in ~/.claude/plugins/cache/, NOT this repo. Edits require a version bump in BOTH .claude-plugin/plugin.json and .claude-plugin/marketplace.json, then /plugin marketplace update actuals-marketplace + reinstall.
  • Version policy: bump on every published change. Patch = docs/copy, minor = skill behavior or schema change, major = breaking spec-format change.
  • Version locations (bump together): .claude-plugin/plugin.json, .claude-plugin/marketplace.json, each skill's metadata.version in skills/*/SKILL.md, SERVER_INFO in server/index.mjs, and VERSION in skills/scorecard/scripts/render-scorecard.mjs (it stamps the rendered dashboard footer — it silently drifted to 0.1.0 once because it wasn't on this list).
  • Never publish: dogfood-results/ (real employer projects, named colleagues) and private/ are gitignored and must stay that way. Before any release, confirm git status --short shows nothing from either.
  • Cross-tool distribution: skills follow the open Agent Skills standard (agentskills.io) and install into Codex/Cursor/Copilot/Gemini/OpenCode etc. via npx skills add Hamza-Saraswat/actuals (Vercel skills CLI, skills.sh registry). The repo's skills/<name>/SKILL.md layout IS the distribution format — keep it. Skills must stay installable as a set: cross-skill refs (../audit/references/…, scorecard's import of design's linter) assume sibling install dirs; declare constraints in compatibility frontmatter, never duplicate content.

Architecture rules

  • skills/ is the product. No commands/ directory — skills ARE the slash commands. Frontmatter names are BARE (name: design, matching the directory); Claude Code prepends the plugin name automatically, yielding /actuals:design. Never put the plugin prefix in a skill's name — it double-prefixes on current Claude Code and the colon breaks the Agent Skills charset.
  • One source of truth: the anti-pattern catalog lives ONLY in skills/audit/references/anti-patterns.md (design's vanity pass reads it cross-skill). Deterministic logic lives ONLY in skills/design/scripts/spec-lint.mjs and skills/audit/scripts/vanity-scan.mjs; the MCP server (server/index.mjs) imports their lintSpec()/scanFiles() exports — never duplicate a rule in two places (that's VM-18, definition rot, and we'd be hypocrites).
  • Portability: skill bodies must work outside Claude Code (Agent Skills standard). Anything Claude-Code-specific (MCP config writes, ${CLAUDE_PLUGIN_ROOT}, scheduled tasks) is phrased "if available" with a manual fallback.
  • Frontmatter must be STRICT YAML: descriptions are folded block scalars (description: >-) — a plain unquoted scalar containing : breaks strict parsers (the skills CLI silently skips the skill) even though Claude Code tolerates it. Validate with npx -y skills add ./ --list (must find all 5) before releasing.
  • Scripts: Node 18+, zero dependencies, ESM (.mjs). Each is a library (named exports) + CLI (node script.mjs <args> --json). System Python here is 3.9 — don't add Python.
  • Fixtures are oracles: examples/*/expected-audit-findings.md are answer keys. If you change a rule in vanity-scan or the catalog, re-run it against both fixtures and update the keys deliberately, never silently.

User-facing artifact contract (what skills write into USER repos)

  • metrics/MEASUREMENT.md — the versioned spec (schema in skills/design/assets/MEASUREMENT.template.md; validated by spec-lint)
  • metrics/audits/YYYY-MM-DD-audit.md — dated audit reports
  • metrics/instrumentation/ — staged generated code
  • metrics/dashboard.html — rendered scorecard (deterministic, recorded values only — no live queries)

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.