Execute a single atomic development unit (section, component, or config). Follows preview-first workflow. Use after /plan has been approved. Can be invoked sequentially to complete all planned tasks.
Execute a single atomic content unit using Preview-First Development.
| Unit Type | Scope | Max Size | Example |
|---|---|---|---|
| Section | One logical part of a page | ~50 lines | "Education" section in about.qmd |
| Component | Single UI element | ~30 lines | Hero banner, navbar item |
| Visualization | Single chart/plot | 1 output | Matplotlib figure in notebook |
| Asset | Single file | 1 file | profile-headshot.jpg |
| Config | Single setting group | ~10 lines | navbar configuration |
| Cell | Single notebook cell | ~20 lines | Code cell with explanation |
Golden Rule: If you can't describe the unit in one sentence, it's too big.
A full page is NOT atomic. Break it down:
Example: about.qmd (CV page)
❌ BAD: "Create about.qmd" (too big)
✓ GOOD: Break into atomic tasks:
1. Create about.qmd with YAML front matter + intro
2. Add Education section
3. Add Professional Experience section
4. Add Technical Skills section
5. Add Research Interests section
Example: index.qmd (Landing page)
❌ BAD: "Create landing page" (too big)
✓ GOOD: Break into atomic tasks:
1. Create index.qmd with hero headline + tagline
2. Add brief bio paragraph
3. Add skills highlights grid
4. Add featured projects links
5. Add call-to-action (contact/CV download)
Read brain/plan.md
└── Find task matching description
├── Found → Continue
└── Not Found → STOP
⚠️ TASK NOT IN PLAN
Options:
[A] Run /plan to add this task (requires approval)
[B] Modify task to match existing plan
[C] Abort
Task must be describable in ONE sentence:
If task needs multiple sentences → STOP → suggest /plan to decompose.
# Start Quarto preview if not running
quarto preview
Create/edit the atomic unit following brain/development_standard.md:
Check the live preview:
/update-brain — Sync codebase_index.md/commit — Create atomic commit═══════════════════════════════════════════════════════
TASK COMPLETE
═══════════════════════════════════════════════════════
Task: Add Education section to about.qmd
Unit: Section (~25 lines)
File: about.qmd
Preview: ✓ Renders correctly
Progress: [N/M] tasks complete
After completing a task, check brain/plan.md:
Pending tasks remaining?
├── YES → Automatically proceed to next task
└── NO → All tasks complete
Output: "Session tasks complete. Run /session-end to finalize."
Stop conditions:
/session-endIf while implementing you realize you need to:
→ STOP and ask human if scope should expand or task should split.
# Preview
quarto preview # Start live preview
quarto preview page.qmd # Preview specific page
# Render
quarto render page.qmd # Render specific page
# Clean (if issues)
rm -rf _site/ .quarto/ *_files/