Skip to content

Product & Design Blueprint

Safety checked

AI-Assisted UX Discovery with a Coding Agent — The Rejection Loop Method

3Meydjer LuzzoliSr. Manager, Software EngineeringG2.comMay 2026

Cut design rework cycles by grounding UX concepts in actual product data and metrics before engineering touches them—using an AI coding agent to enforce testability from discovery.

1 File Included

  • ai-assisted-ux-discovery-blueprint.md

    15 KB

What problem does this solve?

Most "AI in design" advice optimizes the wrong thing. It celebrates generation — faster mockups, more variants — when the real bottleneck in UX discovery is rarely generation. It is grounding (does this idea survive contact with the product's data?) and rigor (is this idea even testable?). Without those, a discovery sprint produces opinionated comps that get rebuilt three times by engineering and ship with placeholder data, or worse, never ship at all because no one named a metric.

How does it work?

A 7-step loop, run with an AI coding agent as the workshop partner: (1) frame from a quantitative scorecard plus business and SEO non-negotiables, (2) force every opportunity into a structured hypothesis-card with a primary metric, (3) ground each design region in the actual product schema, (4) generate mid- to high-fidelity annotated concepts conditioned on a real design system, (5) run a cross-model critique pass that returns "top 5 to change, ranked by impact," (6) capture as a shareable summary plus image, (7) exit with testable next steps and named owners.

What's the biggest win?

Designs that survive contact with the real data model — in minutes, not days. The agent reads your GraphQL or REST schema and maps every region of every concept to a real field. Fantasy designs get killed before they reach Figma. The second win is the cross-model critique loop: a vision-capable model grades the image-gen model's output against the hypothesis and surfaces structural problems the human would otherwise have to catch alone. The human stays focused on rejection and direction, which is the work that actually moves the discovery forward.

What's required to run this?

The worked example used Pi as the coding agent and gpt-image-2 as the visual generator. The critique pass should be run with a different model family — Claude Sonnet or Gemini Pro Vision both work — to avoid in-family bias. The method is tool-agnostic: any coding agent with file-read, schema-read, and image-generation tool access can run it. Three prerequisites are load-bearing: a quantitative scorecard, a design-system reference (tokens plus 5–10 component screenshots), and read access to the product's data model.

What are the constraints?

This is not a substitute for user testing — quantitative usability validation still requires real users. It will not do brand or visual-identity work; image generation does not reach that fidelity. If the agent cannot access the product's schema, the schema-grounding step degrades to a written exercise and the method loses much of its rigor. Image generation without a design-system reference lands in uncanny valley and gets rejected on aesthetics before the structural ideas can be evaluated. And solo mode requires unusual discipline — the Rejection Loop only works if the human exercises rejection.

About This Blueprint

Industry
Computer Software
Sales

ICP-Filtered Outreach Lists from G2 Buyer Intent

Stop wasting rep time on weak intent signals and mismatched accounts. The workflow ranks ICP-fit buyers by readiness, finds the right contact, and supplies tailored outreach angles for the strongest opportunities.

ClaudeClaudeG2 Buyer Intent (G2 MCP Server)ZoomInfo (MCP)+3 more

Ishani D.

Account Manager at G2

1 Skill
Customer Experience

Answer pre-purchase questions to convert hesitant shoppers with AI

Shoppers get accurate answers about fit, compatibility, ingredients, and delivery even when your team is offline, so fewer leave before checkout. Conversation insights also reveal which product-page details could prevent the next unanswered question.

Yuma AIYuma AIClaudeClaudeShopify

Urska B.

GTM Lead at Yuma AI (YC W23)

1 Skill
Customer Experience

Find the root cause behind repeat support tickets with AI

Catch a few unusual tickets before a product or fulfillment issue turns into hundreds of refunds, chargebacks, and bad reviews. Cluster transcript evidence by SKU, order date, location, and carrier so operations can trace the cause and support can reach affected customers early.

Yuma AIYuma AIClaudeClaudeShopify

Urska B.

GTM Lead at Yuma AI (YC W23)