Systematically refine web components through iterative cycles of screenshot capture, analysis, implementation, and visual verification.
Systematically refines web components through iterative cycles of screenshot capture, visual analysis, and targeted implementation. Use for polishing UI components with progressive improvements to structure, typography, and visual hierarchy.
/plugin marketplace add KreativReason/merged-end-to-end-ai-dpp---e2e-cli/plugin install kreativreason-e2e-pipeline@kreativreason-marketplaceSystematically refine web components through iterative cycles of screenshot capture, analysis, implementation, and visual verification.
For N iterations:
1. Screenshot the target element (NOT full page)
2. Analyze: identify 3-5 improvements
3. Implement those changes
4. Document what changed
5. Repeat
Critical: Always capture only the specific component or section being refined.
// Good: Focused screenshot
const element = await page.$('.pricing-card');
await element.screenshot({ path: 'pricing-card.png' });
// Bad: Full page noise
await page.screenshot({ path: 'page.png', fullPage: true });
Before iterations, resize viewport to match work:
| Component Type | Viewport Size |
|---|---|
| Small component | 800x600 |
| Section | 1200x800 |
| Full page | 1440x900 |
// Get element reference
await browser_snapshot();
// Screenshot specific element
await browser_take_screenshot({ element: 'ref_123' });
// Or by selector
await page.locator('.hero-section').screenshot();
Focus on:
Focus on:
Focus on:
leading-*)tracking-*){
"artifact_type": "design_iteration",
"status": "complete",
"data": {
"component": ".pricing-card",
"total_iterations": 5,
"iterations": [
{
"number": 1,
"screenshot_before": "iter-1-before.png",
"screenshot_after": "iter-1-after.png",
"focus": "structure",
"changes": [
"Increased padding from p-4 to p-6",
"Added rounded-xl for softer corners",
"Established clear header/body/footer zones"
],
"improvements": ["Better visual hierarchy", "More spacious feel"]
},
{
"number": 2,
"screenshot_before": "iter-2-before.png",
"screenshot_after": "iter-2-after.png",
"focus": "typography",
"changes": [
"Price: text-3xl font-bold",
"Description: text-gray-600 leading-relaxed",
"CTA: font-semibold uppercase tracking-wide"
],
"improvements": ["Clearer information hierarchy"]
}
],
"final_screenshot": "final.png",
"summary": {
"visual_score_before": 6,
"visual_score_after": 9,
"key_improvements": [
"Professional typography hierarchy",
"Balanced whitespace",
"Modern shadow treatment",
"Clear call-to-action"
]
}
}
}
Create distinctive design through:
Works with:
/kreativreason:work - UI implementation tasksfigma-design-sync - When Figma spec existsfrontend-design skill - Design system knowledgeYou are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.