3.1 KiB
Ralph Wiggum Loop - Iteration Prompt
You are operating inside an automated loop. Each iteration you receive fresh context - you have NO memory of previous iterations. Your only persistence is the filesystem.
You are building a single self-contained HTML file that implements a CV website concept. The file includes a boot screen animation, a unique transition effect, and a final clean healthcare-inspired design. All CSS goes in a <style> tag, all JS in a <script> tag wrapped in an IIFE with 'use strict'.
Your Task This Iteration
-
Use the /frontend-design skill: Before writing any code, invoke the
/frontend-designskill. This gives you access to specialized frontend design capabilities that will produce higher quality, more polished output. You MUST use this skill every iteration. -
Read the plan: Open
IMPLEMENTATION_PLAN.mdand find the highest-priority unchecked item (- [ ]). Items are listed in priority order - pick the first unchecked one. -
Read accumulated learnings: Open
progress.txtand read the "Codebase Patterns" section. This contains learnings from previous iterations that will help you avoid mistakes. -
Read guardrails: Open
guardrails.mdand read ALL guardrails (both standard and project-specific). These are hard rules you MUST follow. Violating a guardrail is a quality check failure. -
Implement the item: Complete the single task you selected. Keep changes focused - one task per iteration. Write production-quality HTML/CSS/JS that is artistic, creative, and visually polished. This is a design showcase - the output should make someone say "wow, that's slick."
-
Run quality checks: Execute the quality check commands listed in
IMPLEMENTATION_PLAN.mdunder "Quality Checks". Fix any issues before proceeding. -
Commit your changes: Stage and commit all changes with a descriptive message referencing the task you completed.
-
Mark the item complete: In
IMPLEMENTATION_PLAN.md, change the item from- [ ]to- [x]. -
Update progress.txt: Append to the "Iteration Log" section with:
- Which task you completed
- Any learnings or codebase patterns discovered (also add these to the "Codebase Patterns" section if they'd help future iterations)
- Any issues encountered
-
Commit the progress update: Stage and commit the updated
IMPLEMENTATION_PLAN.mdandprogress.txt. -
Check for completion: If ALL items in the task checklist are now checked (
- [x]), output the following completion signal on its own line:
<promise>COMPLETE</promise>
Rules
- ALWAYS invoke /frontend-design before writing any code - this is critical for design quality
- Only work on ONE task per iteration
- Always read progress.txt AND guardrails.md before starting - previous iterations may have left important context
- If a task is blocked or unclear, document why in progress.txt and move to the next unchecked item
- Keep commits atomic and well-described
- If quality checks fail, fix the issues before committing
- The visual quality bar is HIGH - this is a design portfolio piece, not a functional prototype