agentleFS
mantaray0mantaray0/crew/CLAUDE.md

crew

CLAUDE.md1 starsChanged 6 months agoMITView on GitHub

@mantaray0/crew — a config-driven, agentic workflow harness for Claude Code, shipped as a Claude Code plugin. crew keeps project state across sessions in a committed .planning/ directory and runs every command interactively and config-driven. This repo wears two hats at once, which is the usual source of confusion. Always be explicit about which one you're touching: - The plugin (the product we ship). commands/, agents/, skills/, hooks/, scripts/, .claude-plugin/, README.md. English, committed, released via Changesets. Editing these changes crew itself…

The file

Files
CLAUDE.md

crew

@mantaray0/crew — a config-driven, agentic workflow harness for Claude Code, shipped as a Claude Code plugin. crew keeps project state across sessions in a committed .planning/ directory and runs every command interactively and config-driven.

Two layers — keep them straight

This repo wears two hats at once, which is the usual source of confusion. Always be explicit about which one you're touching:

  • The plugin (the product we ship). commands/, agents/, skills/, hooks/, scripts/, .claude-plugin/, README.md. English, committed, released via Changesets. Editing these changes crew itself — it is the deliverable.
  • The planning state (how we organize building it — crew dogfooding itself). .planning/ (PROJECT, ROADMAP, LOG, BACKLOG, plans/, archive/). German (language.files: de), gitignored / local-only, written by crew's own /crew:* commands. These files describe and drive work on the plugin; they are never shipped.

A milestone / phase / plan always lives in the planning state and is about a change to the plugin. "Milestone 2 is done" means the planning work that produced plugin commits is done — not that anything was released. When ambiguous, say "the crew plugin" (product) vs "the .planning roadmap/plan" (planning state); "ship/release" only ever refers to the plugin.

Stack

AreaChoice
KindClaude Code plugin
LanguageMarkdown (commands, agents, skills) + JavaScript (ESM, .mjs scripts)
RuntimeNode ≥ 18
Package managerpnpm
ReleaseChangesets
CIGitHub Actions

Architecture

The plugin is declarative — the logic lives in Markdown instructions, not compiled code:

  • commands/ — the /crew:* slash commands (brief, plan, execute, verify, dispatch, …).
  • agents/ — specialized sub-agent definitions (reviewer, planner, executor, …).
  • skills/ — reusable knowledge that commands load (crew-config, crew-conventions, planning, verify, git-merge, roast-me, …). The skills are the source of truth.
  • hooks/ — session-lifecycle hooks (incl. config-version reconciliation at session start).
  • scripts/ — Node helper scripts (e.g. sync-version.mjs for the release process).
  • .claude-plugin/ — plugin manifest (plugin.json, version).

Guiding decisions (the why)

  • Config-driven, not hardcoded. Behavior comes from config.json layered defaults < global (~/.claude/crew) < project (.planning). There is no compiled validator — the schema in the crew-config skill is the contract. This keeps the plugin universal and per-project tunable without code changes.
  • State lives in .planning/. PROJECT/ROADMAP/LOG/BACKLOG + plans/ carry project context across sessions so a fresh context can orient at any time (/crew:resume). Plans are grouped into numbered milestone folders — plans/<n>_<milestone-slug>/ (number-prefixed so they sort and read at a glance when collapsed) holding a _spec.md (present when a brief produced the milestone, then permanent — the milestone Spec, single source of intent, referenced by rather than copied into the phase plans) plus the numbered <id>_<title>.md phase plans.
  • Interactive by convention. crew-conventions is the rule: surface every decision, batch only the independent ones into an AskUserQuestion stepper, stay sequential on dependencies, never silently apply a default — speed comes from good recommended answers.
  • Repo stays English; project content follows language.files. Plugin code/commands/skills are English (universal); the files crew writes into a user project follow the configured language.

Constraints / conventions

  • .planning/ is gitignored in this repo (local-only) — this repo is the plugin itself, not a user project, so the planning state must not mix into the plugin history.
  • Releases run through Changesets — never bump versions by hand; pnpm version syncs the plugin manifest via scripts/sync-version.mjs.
  • Markdown-first — new capabilities are commands/skills/agents, not compiled code.
  • No internal planning identifiers in shipped content. commands//agents//skills//hooks//README.md/.claude-plugin/ must never name crew's internal milestone/phase numbers (M8, 1.2) or .planning slugs — config migrations are named by the public plugin version (crewVersion gates), never by an internal milestone. (CLAUDE.md itself is repo dev-doc, not shipped content — its "distilled from Milestone N" rationale is exempt.) Enforced by scripts/validate-plugin.mjs (check 5, run in CI).
  • crew plans itself (see Two layers above). .planning/ is the source of truth for project state — PROJECT/ROADMAP/LOG/BACKLOG, plans, and load-on-demand runbooks under .planning/reference/. There is no docs/ folder.
  • Testing policy: tests-required (cli archetype) — adjust if a test setup for the scripts appears.

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.