with one click
magic-rule
// Workflow for manually adding or amending project conventions in RULES.md.
// Workflow for manually adding or amending project conventions in RULES.md.
[HINT] Download the complete skill directory including SKILL.md and all related files
| 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.mdRead that file before proceeding. Do not execute any steps until it is read. Executor: Usenode .magic/scripts/executor.js <script>for all automation. Anti-Hallucination Guard: Do not invent or execute any ad-hoc physical scripts (e.g., custom.js,.shtest runners) for internal engine operations. Magic SDD workflow steps are intended to be evaluated cognitively by the LLM unless an executor script is explicitly provided.