accelerator
CLAUDE.md34 starsChanged 51 days agoMITView on GitHub
Accelerator is a Claude Code plugin — not a conventional application. The shipped product is the set of skills (Markdown SKILL.md files), agents, hooks, templates, and scripts that Claude Code loads. Alongside them lives a visualiser (a Rust HTTP server + React frontend) distributed as a pre-compiled binary. Four language toolchains coexist in one repo, each with its own checks; see Architecture below. All dev tasks run through mise run <task> (declared in mise.toml, implemented as invoke tasks under tasks/).…
In this repository38 other files it gives its agents.
- hooks/CLAUDE.mdCLAUDE.md
- tasks/CLAUDE.mdCLAUDE.md
- clean-commentsSkill
- raise-prSkill
- configureSkill
- initSkill
- migrateSkill
- pathsSkill
- create-adrSkill
- extract-adrsSkill
- review-adrSkill
- analyse-design-gapsSkill
- inventory-designSkill
- describe-prSkill
- respond-to-prSkill
- review-prSkill
- create-noteSkill
- create-planSkill
- implement-planSkill
- review-planSkill
- stress-test-planSkill
- validate-planSkill
- conduct-spikeSkill
- research-codebaseSkill
- research-issueSkill
- research-topicSkill
- commitSkill
- visualiseSkill
- create-work-itemSkill
- extract-work-itemsSkill
- list-work-itemsSkill
- refine-work-itemSkill
- rekey-work-itemsSkill
- review-work-itemSkill
- stress-test-work-itemSkill
- sync-work-items-recoverySkill
- sync-work-itemsSkill
- update-work-itemSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
All dev tasks run through mise run <task> (declared in mise.toml, implemented as invoke tasks under tasks/).
- Distinctive: line 92
Test-driven development, in its purest form: Follow the red-green-refactor loop: write a failing test first (red), write the minimum code …
≈ “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.
Files
What this repo is
Accelerator is a Claude Code plugin — not a conventional application. The
shipped product is the set of skills (Markdown SKILL.md files),
agents, hooks, templates, and scripts that Claude Code loads.
Alongside them lives a visualiser (a Rust HTTP server + React frontend)
distributed as a pre-compiled binary. Four language toolchains coexist in one
repo, each with its own checks; see Architecture below.
Build, test, and check
All dev tasks run through mise run <task> (declared in mise.toml,
implemented as invoke tasks under tasks/). Run
mise tasks for the full leaf list; tasks/README.md documents the shape of
the task tree (learn it once) and carries the fourteen-point checklist for
registering a dispatched sub-binary, plus a shorter one for registering a
plain library crate.
"Done" means mise run (the bare default task) exits 0 end-to-end. That is
the full local CI mirror: it builds the frontend + dev server, applies all
formatters and safe lint fixes, runs every lint and type-check, and runs the
entire test suite. It is heavy (reformats in place, compiles Rust several
times). A change is not finished until this is green.
Two faster entry points exist and should be your inner loop:
mise run check— the exact read-only set CI runs (format + lint + types across all four components). Must exit 0 before pushing.mise run fix— apply every formatter + safe lint fix (mechanical only; no type-checks, and shell has no autofixer).mise run <component>:check— fast single-component loop. Components:frontend,server,cli(thecli/Rust workspace — workspace-wide rustfmt + clippy),build-system(the Pythontasks/toolchain — not thebuild:*artifact namespace),scripts(shell). There is no<component>:fixroll-up — fix a component via itsformat:<c>:fix+lint:<c>:fixtasks. Rust enforcement beyondcli:check(cargo-deny, cargo-pup, cargo-public-api) is documented intasks/README.md.docs:checkis deliberately absent from the aggregatecheck— it writes gitignored artefacts and needs network + a Chromium install, so it would blunt the fast read-only loop — but the baredefaulttask does run it, so a full local run covers the docs CI lane. Rundocs:checkdirectly when touchingdocs-site/and you don't want the full default run.
Enforcement is CI-only — there are no pre-commit hooks. Run mise run fix &&
mise run check yourself before pushing.
Running a single test
The aggregate mise run test:* tasks have no name filter; drop to the
underlying runner for one test.
Architecture
Skills as the product (skills/, agents/, templates/, hooks/)
The non-obvious mechanism: a SKILL.md body runs shell via the !
preprocessor (!`command` ) at invocation time to inject live context (VCS
status, config, per-skill context) into the prompt — see
skills/vcs/commit/SKILL.md. Scripts are addressed via ${CLAUDE_PLUGIN_ROOT}
so they resolve from the installed plugin location.
The core design (read the README "Philosophy" section): development is split
into phases (research → plan → implement) that communicate through the
filesystem, not the conversation. The meta/ directory is persistent shared
memory; each skill reads/writes predictable paths within it. Subagents
(agents/*.md) do exploratory work in isolated context and return only
summaries. Locator agents (find, no Read) are deliberately separated from
analyser agents (Read) to keep each context bounded.
Gotchas specific to the visualiser (cli/visualiser/) and the build system
(tasks/) live in their own CLAUDE.md files, loaded when you work in those
directories.
Shell scripts (bin/, hooks/)
The shell surface is two thin wrappers — the launcher bootstrap
bin/accelerator and the hook wrapper hooks/launcher-link-refresh.sh; the
config reading, VCS detection, frontmatter parsing and migration logic they
once backed now live in the cli/ Rust workspace. Both stay under a bash 3.2
floor — macOS ships bash 3.2, so bash-4 constructs (associative arrays,
${var,,}, etc.) are banned. A Python bashisms task
(tasks/lint/scripts.py) plus shfmt and ShellCheck guard exactly these two;
suspect the 3.2 floor first for any macOS-only shell failure. hooks/hooks.json
registers the SessionStart/PreToolUse hooks (VCS detection + git-guard,
config summary, migration reminders), each dispatched through bin/accelerator
into the cli/ sub-binaries.
How we write code
These are non-negotiable. They override convenience.
- Test-driven development, in its purest form. Follow the red-green-refactor loop: write a failing test first (red), write the minimum code to pass it (green), then refactor with the safety net in place. Never write production code without a failing test demanding it. Test behaviour, not implementation.
- Strict domain-driven design. Model the domain explicitly. Prefer code that is clear, readable, and expresses intent through rich domain language — names and abstractions that mirror how the domain is spoken about, not technical incidental detail.
- Comments are a last resort. A comment is a signal that the code failed to express its own intent. Before writing one, do the work to make the code itself clear — rename, extract, restructure. Only keep a comment when it captures something genuinely non-obvious to a skilled developer that no amount of refactoring could convey (e.g. why an unusual choice was made, an external constraint, a subtle invariant). Never include comments that describe what code could otherwise express — we have a very low tolerance for comments. Actively remove them from plans you create. References to ADRs, work items, acceptance criteria, plan phases etc. in comments can go stale fast, so don't include them.
Conventions and gotchas
- Line width is 80 everywhere, set in
.editorconfigand duplicated by hand intopyproject.toml(ruff) andserver/rustfmt.toml(rustfmt) because those tools don't read.editorconfig. Biome and shfmt read it natively. Keep the copies in sync — there is no automated check. - Shell has no autofixer —
scriptsis absent fromlint:fix; ShellCheck findings are fixed by hand or with a justified# shellcheck disable=. - Surviving thin shell — the shell surface is exactly the two files in
SURVIVING_SHELL_SOURCES(tasks/shared/sources.py):bin/acceleratorandhooks/launcher-link-refresh.sh, both tracked-executable (0755) and bash-3.2-safe. See the "Surviving thin shell" subsection intasks/README.md. - Tests deliberately have no
__init__.py(pytest importlib mode) and are held to relaxed ruff/pyrefly standards. - Tooling versions (uv, python, rust, node, jj, shellcheck, shfmt, jq) are
pinned in
mise.toml;miseprovisions them. Minimum supported Claude Code for the plugin itself is v2.1.144 (subagent skill-preload mechanism).
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
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.

