genart.dev

critique-and-iterate

MCP prompt for capturing, critiquing, and iteratively improving a sketch

critique-and-iterate

Structured prompt template that guides an AI agent through a full critique-and-improvement cycle on a sketch.

Arguments

ArgumentTypeRequiredDescription
sketchIdstringyesThe sketch to critique and improve
aspectsstring[]noAspects to focus on: composition, color, rhythm, unity, expression
iterationsnumbernoNumber of improvement iterations (default: 1)

Behavior

When invoked, the prompt provides the AI agent with a structured improvement workflow:

  1. Capture — Take a screenshot of the current sketch state
  2. Critique — Use critique_sketch to get a structured self-critique framework across the specified aspects. Evaluate composition, color, rhythm, unity, and expression
  3. Identify improvements — Based on the critique, list specific actionable changes
  4. Fork and apply — Fork the sketch, then apply the identified improvements to the algorithm, parameters, or design layers
  5. Compare — Use compare_sketches to evaluate the original against the improved version side-by-side
  6. Document — Record what was changed and why in the sketch philosophy

If multiple iterations are requested, repeat steps 2-5 on the improved version.

Example usage

Use the critique-and-iterate prompt with:
  sketchId: "flow-field-01"
  aspects: ["composition", "color"]
  iterations: 2

Output

The prompt guides the agent to use MCP tools in sequence:

  1. capture_screenshot — capture the current state
  2. critique_sketch — get structured critique
  3. fork_sketch — create a working copy
  4. update_algorithm / set_parameters / set_colors — apply improvements
  5. compare_sketches — evaluate before/after
  6. update_sketch — document changes in philosophy