Commands
/magic:decide
Record a decision in the analysis journal.
Steps:
- Read
logs/analysis_journal.mdto understand current state - If arguments provided, record the decision directly
- If no arguments, ask the user what decision to record:
- What was the context? (e.g., "Cleaning plan for column X")
- What options were considered?
- What was decided and why?
- Format and append the entry to
## User Decisionsinlogs/analysis_journal.md:
### Decision: [Brief title]
- **Timestamp:** 2026-04-10T15:30:00+08:00
- **Context:** Sentinel values found in 3,270 rows of `definitions_yue`
- **Options considered:** A. Fill via LLM synthesis, B. Drop rows, C. Flag and skip
- **Chosen:** A — Fill via LLM synthesis
- **Rationale:** Definitions are recoverable from context columns
- **Follow-up:** Route to magic-data-synthesis with fill-sentinels mode- If the decision triggers further processing, route to the appropriate skill:
- Cleaning decisions →
magic-data-cleaning - Synthesis/fill decisions →
magic-data-synthesis - Transform decisions →
magic-data-transformation
- Cleaning decisions →
- Confirm: "Decision recorded. [Next action if applicable]."
Prefixes: [auto] for autonomous mode, [fast-forward] for fast-forwarded decisions.
See also: /magic:findings to review options, /magic:propose to generate a plan, /magic:review to see decision history.
Was this page helpful?
Edit on GitHub
Last updated on