help
Skill3 starsChanged 7 months agoMITView on GitHub
Quick reference for magi-workflow. Bare invocation prints the full command roster, the standard workflow diagram, subagent roles, and common override flags, plus a state-aware "next step" hint when run inside a magi project. Pass a command name (e.g., /magi:help plan) to print details for one command extracted from its SKILL.md. Always allowed regardless of project state — this is the entry point users reach for when they don't remember which command to run.
56 other projects use a version of this.
Adopted by
Most recently taken up by
- onetapstudiogames/1f3d9-citylifetheir own version, first seen Oct 7, 2026
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- Memolok/Claude-plugintheir own version, first seen Oct 1, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Sep 29, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- andrueandersoncs/skillstheir own version, first seen Sep 21, 2026
Used with
Projects with it also use create-stories, dev-story and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cenconq25Skillcreate-stories
Decomposes a single epic into implementable story files. Each story embeds its TR-ID, governing ADR, acceptance criteria, story type, and test-evidence path. Run after /create-epics for each epic, in dependency order. Stories are what developers pick up — epics are what architects define.
Also in 5 projects that use this
cenconq25Skilldev-story
Read a story file and implement it end-to-end. Loads PRD requirement, governing ADR, control manifest, and routes to the right framework specialist (RN/Flutter/iOS/Android). Use when a story has passed /story-readiness and is ready to be built.
Also in 5 projects that use this
adolfoaranaes12Skillcreate-architecture
Generate comprehensive system architecture documents from requirements, supporting Frontend, Backend, and Fullstack projects with scale-adaptive depth and Architecture Decision Records. Use when translating requirements (PRD/epic) into technical architecture for new projects or major features.
Also in 5 projects that use this
- +9 more from cenconq25
Other versions56 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 56
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- indranilbanerjee/digital-marketing-pro★ 850same name
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- andrew-shwetzer/career-ops-plugin-do-not-fork-currently-updating-v2-★ 500same name
- microsoft/healthcareai-examples★ 204same name
- kv0906/pm-kit★ 138same name
- buildomator/buildomator★ 90same name
- striderZA/OpenCodeGameStudios★ 90same name
46 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- references/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- commitSkill
- goSkill
- 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 skill into the rules it gives an agent
10 rules. 0 are common, 0 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 41 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Verify $PLUGIN_ROOT/skills is a directory.
- Very specific: line 26
Read output_language from $USER_CONFIG if it exists.
- Very specific: line 54
If STATE_JSON is empty (not in a git repo, or detect-state errored), skip the next-step hint section and emit the static overview only.
- Very specific: line 117
Keep descriptions to one line each.
- Very specific: line 177
Only render this section when STATE_JSON is non-empty.
- Very specific: line 230
After resolving <name> to magi.<resolved>:
- Very specific: line 252
If allowed → 目前可執行 + state name
- Very specific: line 253
If disallowed → print reason and suggest from the state JSON
- Very specific: line 286
Never re-paraphrase here — drift between /magi:help and SKILL.md is the one thing this skill must avoid.
- Very specific: line 294
Fail-soft: if detect-state.sh errors, if config is missing, or if invoked outside a magi project, still produce useful output.
“Common” is measured: kept by at least 6 in 10 of the 41 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/magi:help — quick reference & next-step hint
You are the coordinator. This skill is a read-only reference printer. Do not modify any files, do not call subagents, do not invoke external CLIs. Output goes to the user as plain markdown.
0. Resolve paths
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-}"
[[ -z "$PLUGIN_ROOT" ]] && PLUGIN_ROOT="$(cd "$(dirname "$BASH_SOURCE[0]")/../.." 2>/dev/null && pwd)"
USER_CONFIG="$HOME/.config/magi-workflow/config.json"Verify $PLUGIN_ROOT/skills is a directory. If not, the plugin is installed
incorrectly — print a one-line error pointing to the install instructions
and stop.
0.1. Output language
Read output_language from $USER_CONFIG if it exists; default zh-TW.
Missing config is not an error — /magi:help must work before
/magi:setup has ever been run, since "I don't know what to do" is exactly
when users reach for help.
LANG_PREF="zh-TW"
if [[ -f "$USER_CONFIG" ]]; then
LANG_PREF=$(jq -r '.output_language // "zh-TW"' "$USER_CONFIG" 2>/dev/null || echo "zh-TW")
fiSection headers and ASCII flow diagrams stay English (matching README
conventions); descriptive prose follows LANG_PREF.
0.2. State preflight (fail-soft)
Try to read project state; never refuse. Help is unconditionally allowed, but the reading lets the overview append a "current state → suggested next" hint at the end.
STATE_JSON=""
if STATE_RAW=$(bash "$PLUGIN_ROOT/scripts/shared/detect-state.sh" 2>/dev/null); then
STATE_JSON="$STATE_RAW"
fiIf STATE_JSON is empty (not in a git repo, or detect-state errored), skip
the next-step hint section and emit the static overview only.
1. Argument parsing
/magi:help → overview mode
/magi:help <name> → detail mode for skills/<resolved>/SKILL.md
/magi:help --list → bare command list, no flow diagram or hintResolve <name>:
- Accept
plan,plan, or/magi:plan - Strip leading
/andmagi.prefix; the remainder must match a directory under$PLUGIN_ROOT/skills/magi.<remainder>/ - Unknown name → print
unknown command: <name>and the bare command list, then exit
2. Overview mode (/magi:help with no argument)
Output five sections in order. Do not hard-code descriptions for each
command — pull them live from skills/magi.<name>/SKILL.md frontmatter so
this skill never drifts from the source of truth.
Section A — Command roster
Build the list dynamically:
for dir in "$PLUGIN_ROOT"/skills/magi.*/; do
name=$(basename "$dir")
desc=$(awk '/^description:/{sub(/^description: */,""); print; exit}' "$dir/SKILL.md")
printf '%-32s %s\n' "/$name" "$desc"
done | sortRender as a markdown table with three columns:
| Command | Purpose | When |
/magi:help | (description from this SKILL.md) | any time |
/magi:setup | (description from setup) | once per machine |
| ... | ... | ... |
The "When" column is a short hand-curated label. Use this fixed mapping (it is the only place help duplicates info from CLAUDE.md — see "Conventions" below for why):
help→ any timestatus→ any timesetup→ once per machineinit→ once per projectplan→ start of every changetasks→ after plan, for major workreview-plan→ optional, after plango→ per work sessionreview-code→ before commit (mandatory in sprint flow)commit→ end of every changeyolo→ walk-away modeweb-frontend-spec/.backend.spec/.infra.plan/.ci.spec→ between plan and tasks (web work)
Keep descriptions to one line each. If a description: field spans
multiple lines (it shouldn't, but defensively), truncate at the first
period or 200 chars.
Section B — Standard workflow
Print this ASCII diagram verbatim (English, language-independent):
First-time setup:
/magi:setup → /magi:init
Per change:
/magi:plan → [/magi:review-plan?] → /magi:tasks → /magi:go
→ /magi:review-code → /magi:commit
Walk-away:
/magi:yolo "<desc>" # fresh
/magi:yolo --resume # continue latest sprint
Web add-ons (between plan and tasks):
/magi:web-frontend-spec /magi:web-backend-spec
/magi:web-infra-plan /magi:web-ci-spec
Note: /magi:plan creates plan documents (PLAN.md / SPEC.md / TICKET.md /
HOTFIX.md). For interactive read-only exploration, use Claude's
built-in /plan first, then /magi:plan to formalize.Section C — Subagents
Two-line summary (translated per LANG_PREF):
magi-developer(Sonnet) — TDD-first implementation worker dispatched by/magi:go. ReportsDONE/BLOCKED. Does not commit.magi-reviewer(Opus) — Read-only defensive reviewer. Used by/magi:review-code --singleand as fallback when MAGI degrades to one.
Section D — Common override flags
Compact list (English flag names, prose per LANG_PREF):
--model <name>— override model for the active reviewer / worker--reviewers <list>— override reviewer roster (/magi:review-plan,/magi:review-code)--magi <mode>—majority/supermajority/unanimous/threshold:N--single—/magi:review-codeusesmagi-revieweronly--parallel/--sequential— force/magi:goparallelism mode--resume—/magi:yolocontinues the latest sprint--push—/magi:yolopushes after commit (refused on default branch)--reset/--recheck—/magi:setupwipe vs re-validate--all/--only <list>/--dry-run—/magi:initscope control--skip-review/--no-root-sync—/magi:commitopt-outs
For the full list see SPEC.md § "Override flags".
Section E — State-aware next step
<!-- KEEP IN SYNC: skills/status/SKILL.md § Section 1 mapping table -->Only render this section when STATE_JSON is non-empty. If the user
only wants this hint without the rest of the overview, point them to
/magi:status — same mapping, 3–6 lines of output.
state=$(jq -r .state <<<"$STATE_JSON")
has_diff=$(jq -r .has_diff <<<"$STATE_JSON")
hotfix=$(jq -r .hotfix_mode <<<"$STATE_JSON")
sprint_dir=$(jq -r '.sprint_dir // ""' <<<"$STATE_JSON")Mapping (state → suggested next command):
| State | Suggestion |
BOOTSTRAP | /magi:init(/magi:setup first if no ~/.config/magi-workflow/config.json exists) |
INITIALIZED | /magi:plan "<description>" 或 bare /magi:plan 從 magi/BACKLOG.md 選取 |
PLANNING | /magi:tasks(hotfix → /magi:go;可選 /magi:review-plan 先 review) |
PLAN_REVIEWED | /magi:tasks |
TASKS_READY | /magi:go |
IN_PROGRESS | 繼續 /magi:go;若 has_diff 為 true 也可 /magi:review-code |
WORK_DONE | /magi:review-code |
CODE_REVIEWED | /magi:commit |
Surface any warnings[] from STATE_JSON after the suggestion (one line
each, prefixed with the warning's suggest).
Exception — other_in_progress_sprint: render as
⚠ Also in progress: <file> (IN_PROGRESS) — <suggest> where <file> is
the warning's file field. Same special case as /magi:status § 1.
Format:
目前狀態:<state>
建議下一步:<command>
(如果有 warnings)
⚠ <warning.reason> → <warning.suggest>
(other_in_progress_sprint)
⚠ Also in progress: <file> (IN_PROGRESS) — <suggest>Footer
Print one line:
完整文件:README.md(流程介紹)、CLAUDE.md(AI agent 指引)、SPEC.md(架構與 state model)
詳細指令說明:/magi:help <name>,例如 /magi:help plan3. Detail mode (/magi:help <name>)
After resolving <name> to magi.<resolved>:
- Print the heading:
# /magi.<resolved> - Print the
description:field from frontmatter (one line) - Print the next paragraph from the SKILL.md (the role definition that
immediately follows the
# /magi.<name> — ...heading) - Extract and print Conventions / Flags / Sections relevant to usage:
# Print everything from the H1 line down to (but not including) the first
# `## 0.` section — this captures the role intro.
awk '
/^---$/ { fence++; next }
fence < 2 { next }
/^## 0\./ { exit }
{ print }
' "$PLUGIN_ROOT/skills/magi.$resolved/SKILL.md"- Append a "When to run / preconditions" hint based on the
disallowed_skills["<name>"]field of the liveSTATE_JSON(if available — fail-soft):- If allowed →
目前可執行+ state name - If disallowed → print
reasonandsuggestfrom the state JSON
- If allowed →
- Footer:
完整 SKILL.md:skills/magi.<resolved>/SKILL.md
Detail mode does not dump the full SKILL.md body — it is meant as a quick reminder, not a replacement for reading the file.
4. --list mode
Bare list, one line per command, sorted alphabetically. No diagram, no section headers, no state hint. Useful as input for shell completion or when piping into another tool.
/magi:commit
/magi:go
/magi:help
/magi:init
/magi:plan
/magi:review-code
/magi:review-plan
/magi:setup
/magi:tasks
/magi:web-backend-spec
/magi:web-ci-spec
/magi:web-frontend-spec
/magi:web-infra-plan
/magi:yoloConventions
- Source of truth: descriptions come from each skill's frontmatter.
Never re-paraphrase here — drift between
/magi:helpandSKILL.mdis the one thing this skill must avoid. - Exception — the "When" column in Section A is hand-curated because
the SKILL.md
descriptionfield is too long for a roster cell. Keep it in sync with CLAUDE.md's "Mandatory?" / "Pauses for user?" columns when that file changes. - No writes: this skill is purely a reader. It does not modify config, state, sprint folders, or any project file.
- Fail-soft: if
detect-state.sherrors, if config is missing, or if invoked outside a magi project, still produce useful output. The static command roster works without any project context. - Output language: section headers and ASCII flow stay English; prose
follows
LANG_PREFfrom config (zh-TWdefault).
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.

