magi-workflow
CLAUDE.md3 starsChanged 7 months agoMITView on GitHub
In this repository16 other files it gives its agents.
- references/AGENTS.mdAGENTS.md
- commitSkill
- goSkill
- helpSkill
- initSkill
- planSkill
- review-codeSkill
- review-planSkill
- setupSkill
- statusSkill
- tasksSkill
- web-backend-specSkill
- web-ci-specSkill
- web-frontend-specSkill
- web-infra-planSkill
- yoloSkill
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
- Very specific: line 21
Before any commit, check whether .claude-plugin/plugin.json needs a bump per SPEC.md §Plugin versioning.
- Very specific: line 22
When bumping, also update the version badge in README.md (line near shields.io/badge/version-vX.Y.Z) in the same commit.
- Very specific: line 40
When magi misbehaves in a real session and we have to re-correct Claude's shortcut, add a one-line entry to references/LESSONS.md under the …
≈ “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.
Files
What this is
Multi-CLI MAGI orchestration plugin for code/plan review. → SPEC.md
Slash commands
Per-command contract in skills/<name>/SKILL.md. → SPEC.md §Slash commands
Subagents
→ agents/developer.md, agents/reviewer.md
Project state model
8 filesystem-derived states; SSOT is scripts/shared/detect-state.sh. → SPEC.md §Project state model
Project document tiers
→ SPEC.md §Project document tiers
Spec deltas
PLAN/SPEC carry a ## Spec deltas section declaring expected modifications to root SPEC.md / CLAUDE.md / magi/PRD.md / magi/TECHSTACK.md. Evaluated by /magi:review-plan; verified by /magi:commit §2.5 (D1/D2/D3). → SPEC.md §Spec deltas
Commits
/magi:commitis the single in-project commit path (sprint + standalone). Independent of~/.claude/skills/commit/.- Before any commit, check whether
.claude-plugin/plugin.jsonneeds a bump perSPEC.md §Plugin versioning. Bump goes in the same commit.- When bumping, also update the version badge in
README.md(line nearshields.io/badge/version-vX.Y.Z) in the same commit.
- When bumping, also update the version badge in
Run / test
./scripts/shared/preflight.sh # CLI healthcheck
./test/e2e-smoke.sh # real CLI smoke test
./test/e2e-fallback.sh # mock-adapter fallback testConventions
- Bash 3.2 compatible (no
mapfile,readarray,declare -A,${var^^}) set -uo pipefailon every script; avoidset -e; init arrays witharr=()jqfor JSON; nosetsid(Linux-only); prefergtimeoutovertimeout- Shellcheck-friendly (
# shellcheck source=annotations) - File naming: project SSOT docs uppercase (
PLAN.md,SPEC.md,TASKS.md,WORKS.md,DRIFT.md,PRD.md,TECHSTACK.md,BACKLOG.md); plugin internals kebab-case - Language: English for
CLAUDE.md,SPEC.md,references/,skills/**/SKILL.md,agents/*.md; zh-TW forREADME.mdand user-facing prompts; English for code comments
Lessons
When magi misbehaves in a real session and we have to re-correct Claude's shortcut, add a one-line entry to references/LESSONS.md under the relevant skill section. Empirical incidents only — no theoretical "what if" entries.
Adapter contract
→ SPEC.md §Adapter contract
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.

