一键导入
legion
Bridge Codex requests to the Legion workflows in this repository when the user references Legion or legacy /legion:* commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bridge Codex requests to the Legion workflows in this repository when the user references Legion or legacy /legion:* commands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
DEPRECATED compatibility shim; workflow-common-core is canonical for all conventions referenced here
Interprets --just-* and --skip-* command flags for /legion:build and /legion:review, validates flag combinations against rules, and resolves the matching team template from intent-teams.yaml. Use when the user passes intent flags to build or review commands, asks about flag combinations, or needs to filter agent teams by intent.
Dev-QA loop engine with structured feedback, fix routing, and user escalation for /legion:review
Executes wave-structured plans with personality-injected agents — parallel or sequential per CLI adapter
Maps all 48 Legion agents by division, capability, and task type for intelligent team assembly
Engine for /legion:map. Analyzes an existing codebase, generates CODEBASE.md for backward-compatible architecture context, and writes .planning/codebase/ index artifacts consumed by /legion:start, /plan, /build, /review, /status, and /quick.
| name | legion |
| description | Bridge Codex requests to the Legion workflows in this repository when the user references Legion or legacy /legion:* commands. |
| triggers | ["legion",{"/legion":null},"codex","plugin","bridge"] |
| token_cost | low |
| summary | Routes plain-language Legion requests and legacy /legion:* aliases to the matching command markdown in this repository. |
This repository can be loaded as a Codex plugin bundle. Use this bridge when the user asks Codex to use Legion directly from the repo instead of through the npm installer.
/legion:start -> commands/start.md/legion:plan -> commands/plan.md/legion:build -> commands/build.md/legion:review -> commands/review.md/legion:status -> commands/status.md/legion:quick -> commands/quick.md/legion:advise -> commands/advise.md/legion:portfolio -> commands/portfolio.md/legion:milestone -> commands/milestone.md/legion:agent -> commands/agent.md/legion:map -> commands/map.md/legion:explore -> commands/explore.md/legion:board -> commands/board.md/legion:retro -> commands/retro.md/legion:ship -> commands/ship.md/legion:learn -> commands/learn.md/legion:update -> commands/update.md/legion:validate -> commands/validate.mdcommands/./legion:* alias, follow the matching command file even when Codex does not expose repo-local slash commands natively.<execution_context> and <context>..planning/PROJECT.md, .planning/ROADMAP.md, and .planning/STATE.md when the workflow expects project state.adapters/codex-cli.md when Legion behavior depends on Codex runtime capabilities./project:legion-* or /prompts:legion-* prompt commands. Those prompt files are created only by npx @9thlevelsoftware/legion --codex.