Ui ux discuss first

From CongDon1207/AGENTS.md · View interactive version

Ui ux discuss first is an AI agent skill from the GitHub repository CongDon1207/AGENTS.md. Consultative UI/UX planning workflow that forces design discussion and explicit approval before implementation. Use when users ask to design, redesign, improve, or build UI and want to explore style directions, color systems, typography, and project-fit tradeoffs first. Run UI optioning with ui-ux-p

How to use this skill

Skill file

UI UX Discuss First

Overview

Enforce a discuss-first workflow for UI work. Extract project context, present multiple style directions with tradeoffs, iterate with the user, and block implementation until explicit approval.

Workflow

Step 1: Build Project Context Before Asking Style Questions

  1. Read README.md and docs/* if present.
  2. Inspect existing frontend code for:
  1. Summarize context in 5-8 bullets before proposing any visual direction.
  2. Use this summary to tailor questions; do not ask generic style questions without project grounding.

Use references/project-discovery-questions.md for question batches.

Step 2: Run Discovery Dialog in Rounds

  1. Ask concise batches (3-5 questions per round), not a single giant questionnaire.
  2. Focus on:
  1. Keep asking follow-up questions until enough detail exists to produce confident options.

Step 3: Generate Option Pack With UI Pro Max

  1. Generate one baseline design system:
python .codex/skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <style_keywords>" --design-system -p "<Project Name>"
  1. Generate supporting evidence:
python .codex/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain style
python .codex/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain color
python .codex/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain typography
python .codex/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain ux
  1. Present 2-4 concrete options using references/style-option-template.md.
  2. For each option, include:

Step 4: Discussion and Convergence (Mandatory)

  1. Ask user to choose:
  1. If hybrid, restate exact merged rules (colors, typography, motion, layout).
  2. Repeat until explicit approval exists.
  3. Do not implement code before approval.

Use references/approval-gate.md to verify readiness.

Step 5: Implement Only After Explicit Approval

  1. Freeze final brief in chat:
  1. Load frontend-design for visual execution quality.
  2. Load frontend-development for code architecture/pattern compliance.
  3. Implement strictly within approved scope.

Hard Rules

  1. Do not skip discussion and jump to coding.
  2. Do not provide only one option unless user explicitly asks for one.
  3. Do not lock colors/typography without user confirmation.
  4. Do not broaden scope beyond requested pages/components.
  5. Keep every recommendation tied to project context discovered in Step 1.

Quick Trigger Examples

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.