一键导入
magic-rule
Workflow for manually adding or amending project conventions in RULES.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow for manually adding or amending project conventions in RULES.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Workflow for simulating and validating Magic SDD engine logic.
Project Sync & Hygiene — synchronizes versions, documentation, and engine metadata
Session resume briefing — current position, progress, blockers, and the one next command
Workflow for executing tasks from the project plan.
Workflow for orchestrating tasks and generating the implementation plan.
Initialize Magic Spec development environment with junctions and symlinks.
| name | magic-rule |
| description | Workflow for manually adding or amending project conventions in RULES.md. |
| handoffs | [{"label":"Create spec","workflow":"magic-spec","prompt":"Create a new specification document.","condition":null},{"label":"Update tasks","workflow":"magic-task","prompt":"Update the project plan and tasks after amending standing rules.","condition":null},{"label":"Audit specs","workflow":"magic-spec","prompt":"Audit specifications to ensure compliance with updated rules.","condition":null}] |
Triggers: "Add rule", "Add convention", "Amend rule", "Remove rule".
Scope: direct management of RULES.md §7 Project Conventions. Automatic rule capture during spec work is handled by magic-spec. Rule changes feed into magic-task (plan updates) and magic-run (execution).
Pipeline context: magic-rule governs conventions used across magic-spec → magic-task → magic-run.
node .magic/scripts/executor.js finalize --workflow=rule and display output verbatim. Never auto-commit. See .magic/rule.md §Finalization Protocol.Full implementation:
.magic/rule.md. Read it before proceeding. Executor:node .magic/scripts/executor.js <script>for all automation. Anti-Hallucination Guard: do not invent ad-hoc scripts (.js,.sh, etc.) for internal engine operations. Magic SDD steps are evaluated cognitively unless an executor script is explicitly provided.