[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKQD9J65EPJ58XZR4SCE3T":3,"skill-same:01M7EKQD9J65EPJ58XZR4SCE3T":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":13,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7EKQD9J65EPJ58XZR4SCE3T","wireframe",null,"Progressive UX generation — Phase 1 generates 5 B&W wireframe options instantly (1 safe + 4 exploratory), then Phase 2 renders Clean + Polished color variants via 5 parallel Task agents (one per option). Supports wireframes-only or wireframes+visuals. Extracts optimization intent from arguments when present. Maintains persistent design context. Use when user says \"wireframe\", \"prototype\", \"UX options\", or \"layout exploration\".","mhyahya854\u002FAI-Second-Brain_Universal-Rules","mhyahya854","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F194078115?v=4","01M7EGSP2M9T858SDHJMXQ257Y","01M7EGSP3N6HN6879SVDPMD4DZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: wireframe\ndescription: Progressive UX generation — Phase 1 generates 5 B&W wireframe options instantly (1 safe + 4 exploratory), then Phase 2 renders Clean + Polished color variants via 5 parallel Task agents (one per option). Supports wireframes-only or wireframes+visuals. Extracts optimization intent from arguments when present. Maintains persistent design context. Use when user says \"wireframe\", \"prototype\", \"UX options\", or \"layout exploration\".\nargument-hint: \"[feature-description]\"\n---\n\n# UX Wireframe Generator\n\nYou operate as two personas across two phases.\n\n**Persona 1 — UX Architect (Phase 1, foreground):** Generates 5 B&W wireframe options exploring information architecture, user flows, and interaction design. Writes `index.html` + `styles.css` with shared HTML structure and sub-tab progress UX, opens in browser immediately.\n\n**Persona 2 — Visual Designer (Phase 2, 5 parallel foreground Task agents):** Launched as 5 parallel foreground Task agents immediately after Phase 1 — one per option, each named \"[Option Name]: Visual Designer\". Each agent reads `index.html`, its own `styles-optN.css`, `design-taste.md`, and `design-context.md`, then writes CSS-only color overrides for Clean and Polished variants. The HTML is shared across all 3 sub-tabs — only the class on the wrapper changes. The layout is locked; only the visual treatment changes.\n\nTogether, these two phases produce self-contained HTML files. Each file presents 5 distinct UX approaches — Option 1 (safe) extends the existing design system, plus Options 2–5 explore different interaction philosophies. Each option gets a short 1-3 word name, and the wireframe recommends the best fit. The user sees B&W wireframes in ~40-60s, then gets progress updates as each option's color variants complete in parallel.\n\n## Step 1: Setup & Initialization\n\nEvery time this skill runs, do the following:\n\n1. Check if `wireframe\u002F` directory exists at project root. If not, create `wireframe\u002F` and `wireframe\u002Fbrain\u002F`.\n2. Check if `wireframe\u002Fbrain\u002Fdesign-taste.md` exists. If not, create it from the bundled template in this skill's repo at `wireframe\u002Fbrain\u002Fdesign-taste.md`. This file contains craft principles, style tokens, quality checks, and anti-patterns used by the colorful UI variants.\n3. Check if `wireframe\u002Fbrain\u002Fdesign-context.md` exists.\n   - If it exists: read it (and `design-taste.md`) to load persistent design context. Skip to **Step 3**.\n   - If it does NOT exist: proceed to **Step 2** (first-run flow).\n\n## Step 2: First-Run Flow (only when `design-context.md` doesn't exist)\n\n### 2a. Codebase Research\n\nUse the Explore agent to scan client-facing code: CSS\u002FSCSS\u002FLess\u002FCSS-in-JS, JS\u002FTS\u002FJSX\u002FTSX, templates (HTML\u002FPHP\u002FERB\u002FEJS\u002FHBS\u002FVue\u002FSvelte), and key entry-point pages. Extract: navigation structure, layout patterns (grid\u002Fsidebar\u002Ffull-width\u002Fcard), content hierarchy, interactive elements (forms\u002Fmodals\u002Ftabs\u002Faccordions), responsive breakpoints, and existing UX conventions.\n\n### 2b. Request Screenshots\n\nAsk the user for 2-3 screenshots of the current app's key pages. Use AskUserQuestion:\n\n> \"To build accurate wireframes, I need to see the current app. Please provide 2-3 screenshots of key pages (e.g., homepage, article detail, summary page). You can drag & drop images or provide file paths.\"\n\nWhen the user provides screenshots:\n- Read each screenshot image file to study the visual layout\n- Note: page structure, content zones, navigation placement, whitespace usage, interactive affordances\n- Save screenshots to `wireframe\u002Fbrain\u002F` with descriptive names\n\nIf the codebase research and screenshots don't make the target platform obvious (mobile app vs desktop\u002Fweb vs responsive), ask the user using AskUserQuestion:\n\n> \"What's the target platform for this product?\"\n\nOptions:\n- **Mobile** — designing primarily for mobile screens\n- **Desktop \u002F Web** — designing primarily for desktop or web browsers\n- **Both (responsive)** — designing for both with responsive layouts\n\nSave the answer and use it in **Step 2c** under `## Target Platform`.\n\n### 2c. Write Design Context\n\nCreate `wireframe\u002Fbrain\u002Fdesign-context.md` with this structure:\n\n```markdown\n# Design Context — [Project Name]\n\nGenerated: [date]\n\n## App Overview\n[Brief description of what the app does based on codebase research]\n\n## Target Platform\n[Mobile \u002F Desktop \u002F Web \u002F Both (responsive) — based on codebase research, screenshots, or user input]\n\n## Layout Patterns\n- [Primary layout structure]\n- [Grid\u002Fflexbox usage]\n- [Responsive approach]\n\n## Navigation\n- [Primary nav structure]\n- [Secondary nav]\n- [Mobile nav pattern]\n\n## Page Types\n### [Page Type 1]\n- Structure: [layout description]\n- Key elements: [list]\n\n### [Page Type 2]\n- Structure: [layout description]\n- Key elements: [list]\n\n## Interaction Patterns\n- [Forms, modals, dropdowns, etc.]\n- [Client-side behavior]\n\n## Content Hierarchy\n- [Heading levels, sections, content blocks]\n- [Card patterns, list patterns]\n\n## Screenshot Observations\n### [Screenshot 1]\n- [Key observations about layout, spacing, content zones]\n\n### [Screenshot 2]\n- [Key observations]\n\n## UX Conventions\n- [Patterns to maintain consistency with]\n```\n\nAfter writing the design context, confirm to the user that the context has been established, then proceed to Step 3 if `$ARGUMENTS` was provided, or ask what feature to wireframe.\n\n## Step 3: Generate Wireframes\n\n### 3a. Parse the Feature\n\nThe feature to wireframe comes from `$ARGUMENTS`. If `$ARGUMENTS` is empty or unclear, ask the user what feature they'd like to wireframe.\n\n### 3b. Optimization Goal (optional)\n\nBefore asking, check if `$ARGUMENTS` already contains an optimization intent — phrases like \"make it more [adjective]\", \"improve [aspect]\", \"redesign for [goal]\", \"more compact\", \"more consistent\", \"reduce clutter\", \"simplify\", \"modernize\", etc. If the user's feature description includes a clear intent or directional goal, extract it and use it as the optimization lens. Skip the AskUserQuestion entirely.\n\nOnly ask the optimization goal question if the feature description is neutral (e.g., \"article page\", \"settings dashboard\") with no directional intent:\n\n> \"What are you optimizing for with this feature? This helps me focus the UX options. Feel free to skip if you're exploring broadly.\"\n\nOptions:\n- **More conversions** — prioritize clear CTAs, reduced friction, and persuasive layout\n- **Less drop-offs** — prioritize simplicity, progress indicators, and error prevention\n- **More time on page** — prioritize content depth, engagement hooks, and exploration paths\n- **Better discoverability** — prioritize navigation, search, and information scent\n\nIf the user provides a goal (or one was extracted from `$ARGUMENTS`), use it to:\n- Weight the UX philosophy selection toward approaches that serve that goal\n- Frame the pros\u002Fcons of each option in terms of how well it achieves the goal\n- Highlight which option best serves the stated goal in the report\n\nIf the user skips, proceed normally without a specific optimization lens.\n\n### 3b-ii. Scope: Wireframes only or wireframes + visuals?\n\nIf `$ARGUMENTS` explicitly requests both wireframes and visuals (e.g., \"wireframe and visuals for...\", \"create wireframes and visuals\", \"wireframe and color variants\"), set scope to **wireframes+visuals** and skip this question.\n\nIf `$ARGUMENTS` only says \"wireframe\" or doesn't mention visuals, ask using AskUserQuestion:\n\n> \"Would you like wireframes only, or wireframes with color variants (Clean + Polished)?\"\n\nOptions:\n- **Wireframes + visuals (Recommended)** — generates B&W wireframes, then Clean + Polished color variants\n- **Wireframes only** — generates B&W wireframes only, skips color phase\n\nStore the answer. Use it in Step 3f to decide whether to launch Phase 2.\n\n### 3c. Clarify (if needed)\n\nAsk at most 1-2 clarifying questions about the feature using AskUserQuestion. Only ask if there's genuine ambiguity. Examples of good clarifying questions:\n- \"Should this page be accessible to logged-in users only, or public?\"\n- \"Does this feature replace the current X, or is it a new addition?\"\n\nDo NOT ask clarifying questions about visual styling — this is a UX wireframe, not a design comp.\n\n### 3d. Generate Wireframes (Phase 1 — UX Architect)\n\nCreate an output folder at `wireframe\u002FDDMM-\u003Cfeature-name>\u002F` where `DDMM` is today's date formatted as day then month, zero-padded (e.g., Feb 22 → `2202`, Mar 5 → `0503`), and `\u003Cfeature-name>` is a kebab-case slug derived from the feature description.\n\n**Template-based workflow** — copy from `wireframe\u002Ftemplates\u002F`, then edit:\n\n1. **Copy** this skill's bundled `wireframe\u002Ftemplates\u002Fbase.css` → output folder (use Bash `cp`)\n2. **Copy** this skill's bundled `wireframe\u002Ftemplates\u002Ftemplate.html` → output folder as `index.html` (use Bash `cp`)\n3. **Create** 5 empty `styles-optN.css` files (use Write tool, empty content)\n4. **Edit** `index.html` with targeted replacements (use Edit tool with `replace_all` where a placeholder appears more than once):\n   - `FEATURE_NAME` → actual feature name (appears in `\u003Ctitle>` and title bar)\n   - `PROJECT_NAME` → project name from `design-context.md`\n   - `N` in `\u003Cspan id=\"rec-number\">N\u003C\u002Fspan>` → recommended option number\n   - `OPTION_1_NAME` through `OPTION_5_NAME` → short option names (each appears in tab button + header, use `replace_all`)\n   - `OPTION_1_PHILOSOPHY` through `OPTION_5_PHILOSOPHY` → one-sentence descriptions\n   - `FEATURE_SLUG` → URL slug (e.g., `settings`, `checkout`) — use `replace_all` for all 5 browser URLs\n   - `\u003C!-- OPTION_1_CONTENT -->` through `\u003C!-- OPTION_5_CONTENT -->` → wireframe HTML content\n   - `\u003C!-- OPTION_1_ANNOTATIONS -->` through `\u003C!-- OPTION_5_ANNOTATIONS -->` → annotation lists\n   - `\u003C!-- SUMMARY_CONTENT -->` → summary table + recommendation\n5. **Write** `styles.css` with wireframe-content-specific CSS only (~200-300 lines). Framework CSS (layout, tabs, browser frame, annotations, banner, footer) is already in `base.css` — do NOT duplicate it. Only write rules for wireframe content elements (cards, forms, grids, etc.).\n\nGenerate **5 B&W wireframe options** (Option 1: Safe + Options 2–5: exploratory). Phase 1 renders each option's content once inside a `\u003Cdiv class=\"browser-frame wireframe\" id=\"frame-optN\">`. Sub-tab JS toggles the wrapper class between `wireframe`, `clean`, and `polished` — no separate content panels. Annotations (`.wf-annotations`) are hidden via CSS when class is `clean` or `polished`.\n\nThe output MUST follow these rules:\n\n#### Structure\n- Wireframe-specific CSS in `styles.css`, framework CSS in `base.css` (copied from template). No `\u003Cstyle>` tags. Any `@import` statements MUST appear at the very top of `styles.css`, before all other rules.\n- All JS is already in the template's inline `\u003Cscript>` — do NOT modify it.\n- No external dependencies — no CDN links, no fonts, no icon libraries. System fonts only: `-apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif`\n- No dotted or dashed borders — use solid lines (`1px solid`) or whitespace for separation.\n- Use `href='#'` on all `\u003Ca>` tags.\n- **CSS architecture**: One HTML block per option shared across all 3 sub-tabs. The `browser-frame` wrapper gets a class toggled by JS: `.wireframe` (default), `.clean`, or `.polished`. Variant overrides in `styles-optN.css` using `.clean .selector` and `.polished .selector`. Browser chrome dots styled per variant via CSS. Do NOT create separate sub-panel divs for each variant — there is one panel per option. Variant-specific classes only override: `color`, `background`, `border-color`, `box-shadow`, `font-family`, `font-weight`, `transition`, `animation`. Do NOT duplicate layout rules in variant CSS. Budget: wireframe content CSS in `styles.css` ≤ 300 lines.\n\n#### Color Palette\n\n**Wireframe sub-tab (STRICT — no other colors allowed):**\n`#000` (text\u002Fborders), `#333` (secondary), `#666` (tertiary\u002Flabels), `#999` (placeholder\u002Fdisabled), `#ccc` (borders\u002Fdividers), `#eee` (subtle backgrounds\u002Fhover), `#fff` (background). No colors. No brand colors. Pure B&W with structural grays.\n\n#### Page Layout\n\nNo introductory text above wireframes. HTML starts directly with the title bar and tab navigation.\n\n```\n┌─────────────────────────────────────────────────┐\n│  [Feature Name] — [Project Name]  ★ Rec: Opt N │\n│  ┌──────┬──────┬──────┬──────┬──────┬─────────┐  │\n│  │1:Safe│2:Name│3:Name│4:Name│5:Name│ Summary │  │\n│  └──────┴──────┴──────┴──────┴──────┴─────────┘  │\n│  Option 1: Safe Option                           │\n│  [One short sentence]                            │\n│     ⬡        🖌       ◇                          │\n│  Wireframe  Clean  Polished                      │\n│  ┌──────────────────────────────────────────┐    │\n│  │  ● ● ●              yourapp.com  ─ □ ✕  │    │\n│  │  ┌────────────────────────────────────┐  │    │\n│  │  │                                    │  │    │\n│  │  │  [Content for selected sub-tab]    │  │    │\n│  │  │                                    │  │    │\n│  │  └────────────────────────────────────┘  │    │\n│  └──────────────────────────────────────────┘    │\n└─────────────────────────────────────────────────┘\n```\n\nEach main tab shows its own option panel with sub-tabs. Summary tab shows scoring table + recommendation. Only one panel visible at a time.\n\n**Attribution footer** and **browser frame** styling are pre-built in `base.css` (copied from template). The template includes the footer HTML, browser chrome with dots\u002FURL\u002Fcontrols, and mobile frame variant. Do NOT regenerate these — they are already in `index.html` from the template copy.\n\n**Browser frame rules** (enforced by `base.css`):\n- **Max width**: `max-width: 900px; margin: 0 auto;`\n- **Content area**: `overflow: hidden` — no content may escape the frame.\n- **Mobile frame**: If `design-context.md` target platform is **Mobile**, add class `mobile-frame` to each `.browser-frame` element via Edit.\n- **Chrome bar**: Gray dots in wireframe; Phase 2 colors them red\u002Fyellow\u002Fgreen via variant CSS.\n\n#### Required Sections in Each Option\n1. **Title**: \"Option [N]: [Short Name]\" — 1-3 word name (e.g., \"Card Stack\", \"Step Flow\")\n2. **Philosophy description**: One brief sentence\n3. **The wireframe itself**: Full interactive mockup with realistic placeholder content\n\n**Option 1: Safe Option** — uses layout structures, navigation patterns, and component styles from `design-context.md`. Natural extension of the existing app — no new paradigms. Low-risk baseline.\n\n#### Summary Tab\nFinal tab with: a compact scoring table (option name, 1-line description, 1–5 star score against optimization goal or \"Overall UX\"), and 1–2 sentence recommendation rationale.\n\n#### Interactivity\nInclude functional interactive elements: clickable tabs\u002Faccordions, typeable form inputs, hover states (grays only), toggleable states, responsive behavior.\n\n#### UX Approaches\n\n**Option 1**: Safe Option — replicate existing patterns from `design-context.md`.\n\n**Options 2–5** — pick 4 from: Progressive Disclosure, Dashboard-First, Wizard\u002FStep-by-Step, Hub-and-Spoke, Inline Editing, Split View, Card-Based, Conversational, Kanban\u002FColumn, Timeline, Search-First, Contextual Actions, Feed-Based, Spatial\u002FMap-Centric, Gesture-Driven, Command Palette, Notification-Driven, Floating Action, Comparison Table, Drag-and-Drop, Accordion\u002FCollapsible, Gamified Progress — or create your own.\n\n#### Content Guidelines\n- Realistic placeholder content (not lorem ipsum), realistic data quantities\n- Show empty\u002Floading\u002Ferror states where relevant\n- Label interactive elements clearly\n\n#### Annotation System\nSmall numbered markers (①②③) on wireframe elements, corresponding to UX notes below. Visible but not dominant — small circles with light border. **Wireframe sub-tab only** — not on color variants.\n\n#### Sub-tab Behavior\n\n**Sub-tabs** — iOS-style icon tab bar (3 items: Wireframe, Clean, Polished):\n\n| Tab | Icon | No content yet | Ready | Hover (ready) | Active (selected) |\n|---|---|---|---|---|---|\n| Wireframe | `sketch` | — | — | — | `#000` + 2px bottom border |\n| Clean | `paint` | `#999` (gray) | `#64B5F6` (light blue) | `#1E88E5` (medium blue) | `#1565C0` (dark blue) + 2px bottom border |\n| Polished | `diamond-one` | `#999` (gray) | `#81C784` (light green) | `#43A047` (medium green) | `#2E7D32` (dark green) + 2px bottom border |\n\nWireframe icon: always `#000` when active, `#666` otherwise. No progress states needed.\n\n- 24×24 SVG icon above 12px label (system font), 2px colored underline when active\n- Sub-tab bar visually lighter than main tabs — compact spacing for clear hierarchy.\n- Clean and Polished sub-tabs start gray (`#999`) and transition to their active colors when CSS loads.\n\n**Badges, sub-tab icons, completion banner, footer, and all JS** are pre-built in the template. Do NOT regenerate any of these — they are already in `index.html` from the template copy.\n\n**CSS self-reveal mechanism** — the template links 5 empty `styles-optN.css` files. When Phase 2 writes variant CSS, self-reveal rules at the end hide badges and color sub-tabs. When the page is re-opened after all agents complete, the inline JS load check sees no visible badges → shows the completion banner. No polling needed — pure CSS cascade + one-time load check.\n\n### 3e. Launch Parallel Color Agents (Phase 2)\n\nImmediately after writing `index.html` and `styles.css`, launch **5 parallel foreground Task agents** in a single tool-call message — one per option. Each agent writes its CSS to a **separate file** (`styles-opt1.css`, `styles-opt2.css`, `styles-opt3.css`, `styles-opt4.css`, `styles-opt5.css`). The Phase 1 HTML must include `\u003Clink rel=\"stylesheet\" href=\"styles-optN.css\">` tags for all 5 variant CSS files in `\u003Chead>` (empty files created during Phase 1).\n\n```\nLaunch all 5 Task agents in ONE tool-call message (parallel):\n\nAgent 1: description: \"[Option 1 Name]: Visual Designer\"\nAgent 2: description: \"[Option 2 Name]: Visual Designer\"\nAgent 3: description: \"[Option 3 Name]: Visual Designer\"\nAgent 4: description: \"[Option 4 Name]: Visual Designer\"\nAgent 5: description: \"[Option 5 Name]: Visual Designer\"\n\nAll with:\n  subagent_type: \"general-purpose\"\n  run_in_background: false\n```\n\nEach agent's prompt MUST include:\n1. **File paths**: Full absolute paths to `index.html`, the agent's own `styles-optN.css`, `design-taste.md`, `design-context.md`, and this skill's bundled `wireframe\u002Ftemplates\u002Fself-reveal.css`\n2. **Visual Designer persona**: The instructions below\n3. **Scope**: \"Write all CSS to `styles-optN.css`. Do NOT modify `index.html`.\"\n4. **CSS budget**: ≤ 200 lines in `styles-optN.css`\n\n**Visual Designer persona for each agent prompt:**\n\n> You are the Visual Designer for Option N: [Option Name]. The UX Architect's B&W wireframe layout is locked. Your job: bring this option's wireframe to life with color, typography, and motion. Do NOT change layout, information architecture, or content hierarchy — only visual treatment changes.\n>\n> **Your task:**\n> 1. Read `index.html`, `styles-optN.css`, `design-taste.md`, and `design-context.md`\n> 2. Study the wireframe HTML structure for Option N (inside `#frame-optN`)\n> 3. Write CSS to `styles-optN.css` with:\n>    a. `.clean .selector` rules for the Clean variant\n>    b. `.polished .selector` rules for the Polished variant\n>    c. Browser chrome coloring: `.clean .browser-dots span:nth-child(1) { background: #ff5f57; }` etc.\n>    d. Use `::before` \u002F `::after` pseudo-elements for decorative accents in Polished (badges, overlays, accent borders)\n> 4. Do NOT modify `index.html` — CSS is your only output\n> 5. Google Fonts allowed via `@import` at top of `styles-optN.css`\n> 6. Budget: ≤ 200 lines\n> 7. At the END of your CSS file, copy the self-reveal rules from this skill's bundled `wireframe\u002Ftemplates\u002Fself-reveal.css` and replace `N` with your option number.\n>\n> Do NOT duplicate layout rules — only override: `color`, `background`, `border-color`, `box-shadow`, `font-family`, `font-weight`, `transition`, `animation`.\n>\n> **CSS Anti-Patterns — MUST avoid:**\n>\n> 1. **Decorative borders overlapping content**: Never add `border-top`, `border-left`, or decorative lines to a container without ensuring adequate `padding` or `margin` on the same side. If you add `border-top: 3px solid`, add at least `padding-top: 16px` so content doesn't overlap the line. Test: would any child element touch or overlap the border?\n> 2. **Full-width sections clipped by parent containers**: If the wireframe has a `max-width` container but a section (hero, masthead, banner, nav bar) should be full-width, use `width: 100vw; margin-left: calc(-50vw + 50%);` or break out of the container. Never leave a full-width section visually cut off at the sides. Test: does any section appear to \"float\" with gaps on the left\u002Fright edges?\n> 3. **Flat backgrounds where gradients are specified**: When the Polished spec calls for gradients, use high-contrast gradient stops (e.g., `linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%)`) — not near-identical colors that appear flat. The gradient must be perceptible at a glance. Test: screenshot it — can you see the gradient without squinting?\n> 4. **Content escaping browser frame**: All variant content must stay within the browser frame wrapper. Use `overflow: hidden` on the frame content area. No negative margins, absolute positioning, or transforms that push content outside the frame boundaries.\n> 5. **Dark mode in Polished**: NEVER use dark backgrounds (`#0a-#2f` range) for Polished. Polished must keep the same light base as Clean. Dark backgrounds make it look like a different theme, not a polished version.\n>\n> **Clean (Style A)**: Simple, clean colors from `design-context.md` palette (or Warmth\u002FPrecision tokens from `design-taste.md`). System fonts only (`-apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif`). Solid fills, clean typography, proper spacing. No gradients, no shadows, no effects — just color applied to the layout.\n>\n> **Polished (Style B)**: Builds on Clean's color scheme — same backgrounds, same palette, same light feel. The difference is **craft and finish**, not a different color scheme. Specifically:\n> - **Typography**: Use a Google Font pairing (display + body) that complements Clean's system fonts. Slightly more refined sizing\u002Fspacing.\n> - **Gradients**: Replace flat solid backgrounds on heroes\u002Fbanners\u002Fcard headers with **subtle gradients** using lighter\u002Fdarker shades of the same Clean colors (e.g., `#f0faf5` → `#e2f5ec`, not dark backgrounds).\n> - **Depth & shadows**: Elevated cards with soft multi-layer shadows, subtle background glow effects. All on light backgrounds.\n> - **Animation**: Staggered entrance reveals, hover scale\u002Flift on cards and buttons, micro-interactions on form inputs (focus glow), smooth transitions. Respect `prefers-reduced-motion`.\n> - **Decorative accents**: `::before`\u002F`::after` pseudo-elements for colored top borders on cards, pill badges, accent lines, subtle background patterns.\n> - **Hover effects**: Interactive lift, color shift, underline animations on links and buttons.\n>\n> **CRITICAL: Polished must NOT use dark backgrounds.** Keep the same light\u002Fwhite base as Clean. If Clean has a white hero, Polished has a white-to-light-tint gradient hero — NOT a dark one. The goal is \"Clean but with more craft\" — not a different theme.\n>\n> Polished MUST use the color palette from `design-context.md` as its foundation — do not invent new brand colors. Elevate through gradients, depth, and animation applied to the existing palette. If Clean is \"color applied to wireframe\", Polished is \"Clean but with more craft and finish\".\n>\n> **Rules:**\n> - EXACT same layout\u002Fstructure as B&W wireframe — only visual treatment changes\n> - Each variant must have a distinct, intentional aesthetic\n> - Apply quality checks from `design-taste.md` (swap, squint, signature, token tests)\n> - Consumer features → Warmth & Approachability tokens; admin\u002Fdashboard → Precision & Density tokens\n> - Avoid anti-patterns from `design-taste.md`\n> - Both Clean and Polished MUST use colors from `design-context.md` palette — no invented brand colors\n> - No annotation markers on color variants — annotations are hidden via CSS class toggle\n\nAs each parallel agent returns, the main agent reports to the user:\n> \"✔ [Option Name] — Clean + Polished ready.\"\n\nAfter all 5 return, confirm everything is done.\n\n### 3f. Report to User (two phases)\n\n**3f-i. After wireframes written (before launching color agents):**\n\nOpen the generated HTML file: `open wireframe\u002FDDMM-\u003Cfeature-name>\u002Findex.html`\n\nThen tell the user:\n- How many options were generated (1 safe + 4 exploratory)\n- Which option is recommended and why (1 sentence)\n- Brief summary of each option's UX approach\n- If an optimization goal was provided, highlight which option(s) best serve that goal\n- Print the folder path `wireframe\u002FDDMM-\u003Cfeature-name>\u002F`\n\n**Then decide whether to launch Phase 2 (using the scope stored in Step 3b-ii):**\n\n- If scope is **wireframes+visuals**: add the note **\"Color variants (Clean + Polished) are generating now — I'll update you as each option completes.\"** and proceed directly to Step 3e.\n- If scope is **wireframes-only**: skip Phase 2 entirely — wireframes are the final output.\n\n**3f-ii. As each parallel agent returns:**\n\nReport progress as each of the 5 agents completes:\n> \"✔ [Option Name] — Clean + Polished ready.\"\n\n**3f-iii. After all 5 agents return:**\n\nRe-open the HTML file so the user sees the final result:\n\n```\nopen wireframe\u002FDDMM-\u003Cfeature-name>\u002Findex.html\n```\n\nTell the user: **\"All 5 options now have color variants (Clean + Polished). The page has been re-opened with the final result.\"**\n\nNote: Do not include \"Refresh your browser\" language — the CSS self-reveal mechanism and completion banner handle notification automatically when the page is re-opened.\n\n## Step 4: Update Design Context\n\nAfter generating wireframes, check if the feature reveals new patterns or page types not yet documented in `wireframe\u002Fbrain\u002Fdesign-context.md`. If so, append the new information to the appropriate section.\n\n## Rules\n\n- **Persona 1 (UX Architect)** owns wireframe structure: layout, content hierarchy, navigation, interactive behavior.\n- **Persona 2 (Visual Designer)** owns color variants: color, typography, spacing refinement, motion. Layout is locked.\n- Option 1 must use existing patterns from `design-context.md`. Options 2–5 must each represent a genuinely different UX philosophy.\n- Wireframes must be functional HTML. B&W constraint strict for Wireframe sub-tab.\n- Read both `design-context.md` and `design-taste.md` every time.\n- When wireframing a component (not a full page), render it as a standalone element filling the available width.\n","# UX Wireframe Generator\n\nYou operate as two personas across two phases.\n\n**Persona 1 — UX Architect (Phase 1, foreground):** Generates 5 B&W wireframe options exploring information architecture, user flows, and interaction design. Writes `index.html` + `styles.css` with shared HTML structure and sub-tab progress UX, opens in browser immediately.\n\n**Persona 2 — Visual Designer (Phase 2, 5 parallel foreground Task agents):** Launched as 5 parallel foreground Task agents immediately after Phase 1 — one per option, each named \"[Option Name]: Visual Designer\". Each agent reads `index.html`, its own `styles-optN.css`, `design-taste.md`, and `design-context.md`, then writes CSS-only color overrides for Clean and Polished variants. The HTML is shared across all 3 sub-tabs — only the class on the wrapper changes. The layout is locked; only the visual treatment changes.\n\nTogether, these two phases produce self-contained HTML files. Each file presents 5 distinct UX approaches — Option 1 (safe) extends the existing design system, plus Options 2–5 explore different interaction philosophies. Each option gets a short 1-3 word name, and the wireframe recommends the best fit. The user sees B&W wireframes in ~40-60s, then gets progress updates as each option's color variants complete in parallel.\n\n## Step 1: Setup & Initialization\n\nEvery time this skill runs, do the following:\n\n1. Check if `wireframe\u002F` directory exists at project root. If not, create `wireframe\u002F` and `wireframe\u002Fbrain\u002F`.\n2. Check if `wireframe\u002Fbrain\u002Fdesign-taste.md` exists. If not, create it from the bundled template in this skill's repo at `wireframe\u002Fbrain\u002Fdesign-taste.md`. This file contains craft principles, style tokens, quality checks, and anti-patterns used by the colorful UI variants.\n3. Check if `wireframe\u002Fbrain\u002Fdesign-context.md` exists.\n   - If it exists: read it (and `design-taste.md`) to load persistent design context. Skip to **Step 3**.\n   - If it does NOT exist: proceed to **Step 2** (first-run flow).\n\n## Step 2: First-Run Flow (only when `design-context.md` doesn't exist)\n\n### 2a. Codebase Research\n\nUse the Explore agent to scan client-facing code: CSS\u002FSCSS\u002FLess\u002FCSS-in-JS, JS\u002FTS\u002FJSX\u002FTSX, templates (HTML\u002FPHP\u002FERB\u002FEJS\u002FHBS\u002FVue\u002FSvelte), and key entry-point pages. Extract: navigation structure, layout patterns (grid\u002Fsidebar\u002Ffull-width\u002Fcard), content hierarchy, interactive elements (forms\u002Fmodals\u002Ftabs\u002Faccordions), responsive breakpoints, and existing UX conventions.\n\n### 2b. Request Screenshots\n\nAsk the user for 2-3 screenshots of the current app's key pages. Use AskUserQuestion:\n\n> \"To build accurate wireframes, I need to see the current app. Please provide 2-3 screenshots of key pages (e.g., homepage, article detail, summary page). You can drag & drop images or provide file paths.\"\n\nWhen the user provides screenshots:\n- Read each screenshot image file to study the visual layout\n- Note: page structure, content zones, navigation placement, whitespace usage, interactive affordances\n- Save screenshots to `wireframe\u002Fbrain\u002F` with descriptive names\n\nIf the codebase research and screenshots don't make the target platform obvious (mobile app vs desktop\u002Fweb vs responsive), ask the user using AskUserQuestion:\n\n> \"What's the target platform for this product?\"\n\nOptions:\n- **Mobile** — designing primarily for mobile screens\n- **Desktop \u002F Web** — designing primarily for desktop or web browsers\n- **Both (responsive)** — designing for both with responsive layouts\n\nSave the answer and use it in **Step 2c** under `## Target Platform`.\n\n### 2c. Write Design Context\n\nCreate `wireframe\u002Fbrain\u002Fdesign-context.md` with this structure:\n\n```markdown\n# Design Context — [Project Name]\n\nGenerated: [date]\n\n## App Overview\n[Brief description of what the app does based on codebase research]\n\n## Target Platform\n[Mobile \u002F Desktop \u002F Web \u002F Both (responsive) — based on codebase research, screenshots, or user input]\n\n## Layout Patterns\n- [Primary layout structure]\n- [Grid\u002Fflexbox usage]\n- [Responsive approach]\n\n## Navigation\n- [Primary nav structure]\n- [Secondary nav]\n- [Mobile nav pattern]\n\n## Page Types\n### [Page Type 1]\n- Structure: [layout description]\n- Key elements: [list]\n\n### [Page Type 2]\n- Structure: [layout description]\n- Key elements: [list]\n\n## Interaction Patterns\n- [Forms, modals, dropdowns, etc.]\n- [Client-side behavior]\n\n## Content Hierarchy\n- [Heading levels, sections, content blocks]\n- [Card patterns, list patterns]\n\n## Screenshot Observations\n### [Screenshot 1]\n- [Key observations about layout, spacing, content zones]\n\n### [Screenshot 2]\n- [Key observations]\n\n## UX Conventions\n- [Patterns to maintain consistency with]\n```\n\nAfter writing the design context, confirm to the user that the context has been established, then proceed to Step 3 if `$ARGUMENTS` was provided, or ask what feature to wireframe.\n\n## Step 3: Generate Wireframes\n\n### 3a. Parse the Feature\n\nThe feature to wireframe comes from `$ARGUMENTS`. If `$ARGUMENTS` is empty or unclear, ask the user what feature they'd like to wireframe.\n\n### 3b. Optimization Goal (optional)\n\nBefore asking, check if `$ARGUMENTS` already contains an optimization intent — phrases like \"make it more [adjective]\", \"improve [aspect]\", \"redesign for [goal]\", \"more compact\", \"more consistent\", \"reduce clutter\", \"simplify\", \"modernize\", etc. If the user's feature description includes a clear intent or directional goal, extract it and use it as the optimization lens. Skip the AskUserQuestion entirely.\n\nOnly ask the optimization goal question if the feature description is neutral (e.g., \"article page\", \"settings dashboard\") with no directional intent:\n\n> \"What are you optimizing for with this feature? This helps me focus the UX options. Feel free to skip if you're exploring broadly.\"\n\nOptions:\n- **More conversions** — prioritize clear CTAs, reduced friction, and persuasive layout\n- **Less drop-offs** — prioritize simplicity, progress indicators, and error prevention\n- **More time on page** — prioritize content depth, engagement hooks, and exploration paths\n- **Better discoverability** — prioritize navigation, search, and information scent\n\nIf the user provides a goal (or one was extracted from `$ARGUMENTS`), use it to:\n- Weight the UX philosophy selection toward approaches that serve that goal\n- Frame the pros\u002Fcons of each option in terms of how well it achieves the goal\n- Highlight which option best serves the stated goal in the report\n\nIf the user skips, proceed normally without a specific optimization lens.\n\n### 3b-ii. Scope: Wireframes only or wireframes + visuals?\n\nIf `$ARGUMENTS` explicitly requests both wireframes and visuals (e.g., \"wireframe and visuals for...\", \"create wireframes and visuals\", \"wireframe and color variants\"), set scope to **wireframes+visuals** and skip this question.\n\nIf `$ARGUMENTS` only says \"wireframe\" or doesn't mention visuals, ask using AskUserQuestion:\n\n> \"Would you like wireframes only, or wireframes with color variants (Clean + Polished)?\"\n\nOptions:\n- **Wireframes + visuals (Recommended)** — generates B&W wireframes, then Clean + Polished color variants\n- **Wireframes only** — generates B&W wireframes only, skips color phase\n\nStore the answer. Use it in Step 3f to decide whether to launch Phase 2.\n\n### 3c. Clarify (if needed)\n\nAsk at most 1-2 clarifying questions about the feature using AskUserQuestion. Only ask if there's genuine ambiguity. Examples of good clarifying questions:\n- \"Should this page be accessible to logged-in users only, or public?\"\n- \"Does this feature replace the current X, or is it a new addition?\"\n\nDo NOT ask clarifying questions about visual styling — this is a UX wireframe, not a design comp.\n\n### 3d. Generate Wireframes (Phase 1 — UX Architect)\n\nCreate an output folder at `wireframe\u002FDDMM-\u003Cfeature-name>\u002F` where `DDMM` is today's date formatted as day then month, zero-padded (e.g., Feb 22 → `2202`, Mar 5 → `0503`), and `\u003Cfeature-name>` is a kebab-case slug derived from the feature description.\n\n**Template-based workflow** — copy from `wireframe\u002Ftemplates\u002F`, then edit:\n\n1. **Copy** this skill's bundled `wireframe\u002Ftemplates\u002Fbase.css` → output folder (use Bash `cp`)\n2. **Copy** this skill's bundled `wireframe\u002Ftemplates\u002Ftemplate.html` → output folder as `index.html` (use Bash `cp`)\n3. **Create** 5 empty `styles-optN.css` files (use Write tool, empty content)\n4. **Edit** `index.html` with targeted replacements (use Edit tool with `replace_all` where a placeholder appears more than once):\n   - `FEATURE_NAME` → actual feature name (appears in `\u003Ctitle>` and title bar)\n   - `PROJECT_NAME` → project name from `design-context.md`\n   - `N` in `\u003Cspan id=\"rec-number\">N\u003C\u002Fspan>` → recommended option number\n   - `OPTION_1_NAME` through `OPTION_5_NAME` → short option names (each appears in tab button + header, use `replace_all`)\n   - `OPTION_1_PHILOSOPHY` through `OPTION_5_PHILOSOPHY` → one-sentence descriptions\n   - `FEATURE_SLUG` → URL slug (e.g., `settings`, `checkout`) — use `replace_all` for all 5 browser URLs\n   - `\u003C!-- OPTION_1_CONTENT -->` through `\u003C!-- OPTION_5_CONTENT -->` → wireframe HTML content\n   - `\u003C!-- OPTION_1_ANNOTATIONS -->` through `\u003C!-- OPTION_5_ANNOTATIONS -->` → annotation lists\n   - `\u003C!-- SUMMARY_CONTENT -->` → summary table + recommendation\n5. **Write** `styles.css` with wireframe-content-specific CSS only (~200-300 lines). Framework CSS (layout, tabs, browser frame, annotations, banner, footer) is already in `base.css` — do NOT duplicate it. Only write rules for wireframe content elements (cards, forms, grids, etc.).\n\nGenerate **5 B&W wireframe options** (Option 1: Safe + Options 2–5: exploratory). Phase 1 renders each option's content once inside a `\u003Cdiv class=\"browser-frame wireframe\" id=\"frame-optN\">`. Sub-tab JS toggles the wrapper class between `wireframe`, `clean`, and `polished` — no separate content panels. Annotations (`.wf-annotations`) are hidden via CSS when class is `clean` or `polished`.\n\nThe output MUST follow these rules:\n\n#### Structure\n- Wireframe-specific CSS in `styles.css`, framework CSS in `base.css` (copied from template). No `\u003Cstyle>` tags. Any `@import` statements MUST appear at the very top of `styles.css`, before all other rules.\n- All JS is already in the template's inline `\u003Cscript>` — do NOT modify it.\n- No external dependencies — no CDN links, no fonts, no icon libraries. System fonts only: `-apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif`\n- No dotted or dashed borders — use solid lines (`1px solid`) or whitespace for separation.\n- Use `href='#'` on all `\u003Ca>` tags.\n- **CSS architecture**: One HTML block per option shared across all 3 sub-tabs. The `browser-frame` wrapper gets a class toggled by JS: `.wireframe` (default), `.clean`, or `.polished`. Variant overrides in `styles-optN.css` using `.clean .selector` and `.polished .selector`. Browser chrome dots styled per variant via CSS. Do NOT create separate sub-panel divs for each variant — there is one panel per option. Variant-specific classes only override: `color`, `background`, `border-color`, `box-shadow`, `font-family`, `font-weight`, `transition`, `animation`. Do NOT duplicate layout rules in variant CSS. Budget: wireframe content CSS in `styles.css` ≤ 300 lines.\n\n#### Color Palette\n\n**Wireframe sub-tab (STRICT — no other colors allowed):**\n`#000` (text\u002Fborders), `#333` (secondary), `#666` (tertiary\u002Flabels), `#999` (placeholder\u002Fdisabled), `#ccc` (borders\u002Fdividers), `#eee` (subtle backgrounds\u002Fhover), `#fff` (background). No colors. No brand colors. Pure B&W with structural grays.\n\n#### Page Layout\n\nNo introductory text above wireframes. HTML starts directly with the title bar and tab navigation.\n\n```\n┌─────────────────────────────────────────────────┐\n│  [Feature Name] — [Project Name]  ★ Rec: Opt N │\n│  ┌──────┬──────┬──────┬──────┬──────┬─────────┐  │\n│  │1:Safe│2:Name│3:Name│4:Name│5:Name│ Summary │  │\n│  └──────┴──────┴──────┴──────┴──────┴─────────┘  │\n│  Option 1: Safe Option                           │\n│  [One short sentence]                            │\n│     ⬡        🖌       ◇                          │\n│  Wireframe  Clean  Polished                      │\n│  ┌──────────────────────────────────────────┐    │\n│  │  ● ● ●              yourapp.com  ─ □ ✕  │    │\n│  │  ┌────────────────────────────────────┐  │    │\n│  │  │                                    │  │    │\n│  │  │  [Content for selected sub-tab]    │  │    │\n│  │  │                                    │  │    │\n│  │  └────────────────────────────────────┘  │    │\n│  └──────────────────────────────────────────┘    │\n└─────────────────────────────────────────────────┘\n```\n\nEach main tab shows its own option panel with sub-tabs. Summary tab shows scoring table + recommendation. Only one panel visible at a time.\n\n**Attribution footer** and **browser frame** styling are pre-built in `base.css` (copied from template). The template includes the footer HTML, browser chrome with dots\u002FURL\u002Fcontrols, and mobile frame variant. Do NOT regenerate these — they are already in `index.html` from the template copy.\n\n**Browser frame rules** (enforced by `base.css`):\n- **Max width**: `max-width: 900px; margin: 0 auto;`\n- **Content area**: `overflow: hidden` — no content may escape the frame.\n- **Mobile frame**: If `design-context.md` target platform is **Mobile**, add class `mobile-frame` to each `.browser-frame` element via Edit.\n- **Chrome bar**: Gray dots in wireframe; Phase 2 colors them red\u002Fyellow\u002Fgreen via variant CSS.\n\n#### Required Sections in Each Option\n1. **Title**: \"Option [N]: [Short Name]\" — 1-3 word name (e.g., \"Card Stack\", \"Step Flow\")\n2. **Philosophy description**: One brief sentence\n3. **The wireframe itself**: Full interactive mockup with realistic placeholder content\n\n**Option 1: Safe Option** — uses layout structures, navigation patterns, and component styles from `design-context.md`. Natural extension of the existing app — no new paradigms. Low-risk baseline.\n\n#### Summary Tab\nFinal tab with: a compact scoring table (option name, 1-line description, 1–5 star score against optimization goal or \"Overall UX\"), and 1–2 sentence recommendation rationale.\n\n#### Interactivity\nInclude functional interactive elements: clickable tabs\u002Faccordions, typeable form inputs, hover states (grays only), toggleable states, responsive behavior.\n\n#### UX Approaches\n\n**Option 1**: Safe Option — replicate existing patterns from `design-context.md`.\n\n**Options 2–5** — pick 4 from: Progressive Disclosure, Dashboard-First, Wizard\u002FStep-by-Step, Hub-and-Spoke, Inline Editing, Split View, Card-Based, Conversational, Kanban\u002FColumn, Timeline, Search-First, Contextual Actions, Feed-Based, Spatial\u002FMap-Centric, Gesture-Driven, Command Palette, Notification-Driven, Floating Action, Comparison Table, Drag-and-Drop, Accordion\u002FCollapsible, Gamified Progress — or create your own.\n\n#### Content Guidelines\n- Realistic placeholder content (not lorem ipsum), realistic data quantities\n- Show empty\u002Floading\u002Ferror states where relevant\n- Label interactive elements clearly\n\n#### Annotation System\nSmall numbered markers (①②③) on wireframe elements, corresponding to UX notes below. Visible but not dominant — small circles with light border. **Wireframe sub-tab only** — not on color variants.\n\n#### Sub-tab Behavior\n\n**Sub-tabs** — iOS-style icon tab bar (3 items: Wireframe, Clean, Polished):\n\n| Tab | Icon | No content yet | Ready | Hover (ready) | Active (selected) |\n|---|---|---|---|---|---|\n| Wireframe | `sketch` | — | — | — | `#000` + 2px bottom border |\n| Clean | `paint` | `#999` (gray) | `#64B5F6` (light blue) | `#1E88E5` (medium blue) | `#1565C0` (dark blue) + 2px bottom border |\n| Polished | `diamond-one` | `#999` (gray) | `#81C784` (light green) | `#43A047` (medium green) | `#2E7D32` (dark green) + 2px bottom border |\n\nWireframe icon: always `#000` when active, `#666` otherwise. No progress states needed.\n\n- 24×24 SVG icon above 12px label (system font), 2px colored underline when active\n- Sub-tab bar visually lighter than main tabs — compact spacing for clear hierarchy.\n- Clean and Polished sub-tabs start gray (`#999`) and transition to their active colors when CSS loads.\n\n**Badges, sub-tab icons, completion banner, footer, and all JS** are pre-built in the template. Do NOT regenerate any of these — they are already in `index.html` from the template copy.\n\n**CSS self-reveal mechanism** — the template links 5 empty `styles-optN.css` files. When Phase 2 writes variant CSS, self-reveal rules at the end hide badges and color sub-tabs. When the page is re-opened after all agents complete, the inline JS load check sees no visible badges → shows the completion banner. No polling needed — pure CSS cascade + one-time load check.\n\n### 3e. Launch Parallel Color Agents (Phase 2)\n\nImmediately after writing `index.html` and `styles.css`, launch **5 parallel foreground Task agents** in a single tool-call message — one per option. Each agent writes its CSS to a **separate file** (`styles-opt1.css`, `styles-opt2.css`, `styles-opt3.css`, `styles-opt4.css`, `styles-opt5.css`). The Phase 1 HTML must include `\u003Clink rel=\"stylesheet\" href=\"styles-optN.css\">` tags for all 5 variant CSS files in `\u003Chead>` (empty files created during Phase 1).\n\n```\nLaunch all 5 Task agents in ONE tool-call message (parallel):\n\nAgent 1: description: \"[Option 1 Name]: Visual Designer\"\nAgent 2: description: \"[Option 2 Name]: Visual Designer\"\nAgent 3: description: \"[Option 3 Name]: Visual Designer\"\nAgent 4: description: \"[Option 4 Name]: Visual Designer\"\nAgent 5: description: \"[Option 5 Name]: Visual Designer\"\n\nAll with:\n  subagent_type: \"general-purpose\"\n  run_in_background: false\n```\n\nEach agent's prompt MUST include:\n1. **File paths**: Full absolute paths to `index.html`, the agent's own `styles-optN.css`, `design-taste.md`, `design-context.md`, and this skill's bundled `wireframe\u002Ftemplates\u002Fself-reveal.css`\n2. **Visual Designer persona**: The instructions below\n3. **Scope**: \"Write all CSS to `styles-optN.css`. Do NOT modify `index.html`.\"\n4. **CSS budget**: ≤ 200 lines in `styles-optN.css`\n\n**Visual Designer persona for each agent prompt:**\n\n> You are the Visual Designer for Option N: [Option Name]. The UX Architect's B&W wireframe layout is locked. Your job: bring this option's wireframe to life with color, typography, and motion. Do NOT change layout, information architecture, or content hierarchy — only visual treatment changes.\n>\n> **Your task:**\n> 1. Read `index.html`, `styles-optN.css`, `design-taste.md`, and `design-context.md`\n> 2. Study the wireframe HTML structure for Option N (inside `#frame-optN`)\n> 3. Write CSS to `styles-optN.css` with:\n>    a. `.clean .selector` rules for the Clean variant\n>    b. `.polished .selector` rules for the Polished variant\n>    c. Browser chrome coloring: `.clean .browser-dots span:nth-child(1) { background: #ff5f57; }` etc.\n>    d. Use `::before` \u002F `::after` pseudo-elements for decorative accents in Polished (badges, overlays, accent borders)\n> 4. Do NOT modify `index.html` — CSS is your only output\n> 5. Google Fonts allowed via `@import` at top of `styles-optN.css`\n> 6. Budget: ≤ 200 lines\n> 7. At the END of your CSS file, copy the self-reveal rules from this skill's bundled `wireframe\u002Ftemplates\u002Fself-reveal.css` and replace `N` with your option number.\n>\n> Do NOT duplicate layout rules — only override: `color`, `background`, `border-color`, `box-shadow`, `font-family`, `font-weight`, `transition`, `animation`.\n>\n> **CSS Anti-Patterns — MUST avoid:**\n>\n> 1. **Decorative borders overlapping content**: Never add `border-top`, `border-left`, or decorative lines to a container without ensuring adequate `padding` or `margin` on the same side. If you add `border-top: 3px solid`, add at least `padding-top: 16px` so content doesn't overlap the line. Test: would any child element touch or overlap the border?\n> 2. **Full-width sections clipped by parent containers**: If the wireframe has a `max-width` container but a section (hero, masthead, banner, nav bar) should be full-width, use `width: 100vw; margin-left: calc(-50vw + 50%);` or break out of the container. Never leave a full-width section visually cut off at the sides. Test: does any section appear to \"float\" with gaps on the left\u002Fright edges?\n> 3. **Flat backgrounds where gradients are specified**: When the Polished spec calls for gradients, use high-contrast gradient stops (e.g., `linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%)`) — not near-identical colors that appear flat. The gradient must be perceptible at a glance. Test: screenshot it — can you see the gradient without squinting?\n> 4. **Content escaping browser frame**: All variant content must stay within the browser frame wrapper. Use `overflow: hidden` on the frame content area. No negative margins, absolute positioning, or transforms that push content outside the frame boundaries.\n> 5. **Dark mode in Polished**: NEVER use dark backgrounds (`#0a-#2f` range) for Polished. Polished must keep the same light base as Clean. Dark backgrounds make it look like a different theme, not a polished version.\n>\n> **Clean (Style A)**: Simple, clean colors from `design-context.md` palette (or Warmth\u002FPrecision tokens from `design-taste.md`). System fonts only (`-apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif`). Solid fills, clean typography, proper spacing. No gradients, no shadows, no effects — just color applied to the layout.\n>\n> **Polished (Style B)**: Builds on Clean's color scheme — same backgrounds, same palette, same light feel. The difference is **craft and finish**, not a different color scheme. Specifically:\n> - **Typography**: Use a Google Font pairing (display + body) that complements Clean's system fonts. Slightly more refined sizing\u002Fspacing.\n> - **Gradients**: Replace flat solid backgrounds on heroes\u002Fbanners\u002Fcard headers with **subtle gradients** using lighter\u002Fdarker shades of the same Clean colors (e.g., `#f0faf5` → `#e2f5ec`, not dark backgrounds).\n> - **Depth & shadows**: Elevated cards with soft multi-layer shadows, subtle background glow effects. All on light backgrounds.\n> - **Animation**: Staggered entrance reveals, hover scale\u002Flift on cards and buttons, micro-interactions on form inputs (focus glow), smooth transitions. Respect `prefers-reduced-motion`.\n> - **Decorative accents**: `::before`\u002F`::after` pseudo-elements for colored top borders on cards, pill badges, accent lines, subtle background patterns.\n> - **Hover effects**: Interactive lift, color shift, underline animations on links and buttons.\n>\n> **CRITICAL: Polished must NOT use dark backgrounds.** Keep the same light\u002Fwhite base as Clean. If Clean has a white hero, Polished has a white-to-light-tint gradient hero — NOT a dark one. The goal is \"Clean but with more craft\" — not a different theme.\n>\n> Polished MUST use the color palette from `design-context.md` as its foundation — do not invent new brand colors. Elevate through gradients, depth, and animation applied to the existing palette. If Clean is \"color applied to wireframe\", Polished is \"Clean but with more craft and finish\".\n>\n> **Rules:**\n> - EXACT same layout\u002Fstructure as B&W wireframe — only visual treatment changes\n> - Each variant must have a distinct, intentional aesthetic\n> - Apply quality checks from `design-taste.md` (swap, squint, signature, token tests)\n> - Consumer features → Warmth & Approachability tokens; admin\u002Fdashboard → Precision & Density tokens\n> - Avoid anti-patterns from `design-taste.md`\n> - Both Clean and Polished MUST use colors from `design-context.md` palette — no invented brand colors\n> - No annotation markers on color variants — annotations are hidden via CSS class toggle\n\nAs each parallel agent returns, the main agent reports to the user:\n> \"✔ [Option Name] — Clean + Polished ready.\"\n\nAfter all 5 return, confirm everything is done.\n\n### 3f. Report to User (two phases)\n\n**3f-i. After wireframes written (before launching color agents):**\n\nOpen the generated HTML file: `open wireframe\u002FDDMM-\u003Cfeature-name>\u002Findex.html`\n\nThen tell the user:\n- How many options were generated (1 safe + 4 exploratory)\n- Which option is recommended and why (1 sentence)\n- Brief summary of each option's UX approach\n- If an optimization goal was provided, highlight which option(s) best serve that goal\n- Print the folder path `wireframe\u002FDDMM-\u003Cfeature-name>\u002F`\n\n**Then decide whether to launch Phase 2 (using the scope stored in Step 3b-ii):**\n\n- If scope is **wireframes+visuals**: add the note **\"Color variants (Clean + Polished) are generating now — I'll update you as each option completes.\"** and proceed directly to Step 3e.\n- If scope is **wireframes-only**: skip Phase 2 entirely — wireframes are the final output.\n\n**3f-ii. As each parallel agent returns:**\n\nReport progress as each of the 5 agents completes:\n> \"✔ [Option Name] — Clean + Polished ready.\"\n\n**3f-iii. After all 5 agents return:**\n\nRe-open the HTML file so the user sees the final result:\n\n```\nopen wireframe\u002FDDMM-\u003Cfeature-name>\u002Findex.html\n```\n\nTell the user: **\"All 5 options now have color variants (Clean + Polished). The page has been re-opened with the final result.\"**\n\nNote: Do not include \"Refresh your browser\" language — the CSS self-reveal mechanism and completion banner handle notification automatically when the page is re-opened.\n\n## Step 4: Update Design Context\n\nAfter generating wireframes, check if the feature reveals new patterns or page types not yet documented in `wireframe\u002Fbrain\u002Fdesign-context.md`. If so, append the new information to the appropriate section.\n\n## Rules\n\n- **Persona 1 (UX Architect)** owns wireframe structure: layout, content hierarchy, navigation, interactive behavior.\n- **Persona 2 (Visual Designer)** owns color variants: color, typography, spacing refinement, motion. Layout is locked.\n- Option 1 must use existing patterns from `design-context.md`. Options 2–5 must each represent a genuinely different UX philosophy.\n- Wireframes must be functional HTML. B&W constraint strict for Wireframe sub-tab.\n- Read both `design-context.md` and `design-taste.md` every time.\n- When wireframing a component (not a full page), render it as a standalone element filling the available width.\n",{"name":5,"description":7,"argument-hint":24},"[feature-description]","main","4c174e06a831864e98c30f630a7aa6c04738b094","skills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules","https:\u002F\u002Fgithub.com\u002Fmhyahya854","2026-11-06 02:03:37",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill wireframe",{"tool":37,"command":38},"bunx","bunx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill wireframe",{"tool":40,"command":41},"pnpm","pnpm dlx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill wireframe","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002FSKILL.md",true,[45,51,55,59,63,69,73,79,83],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"examples\u002Fwireframe-annotations.png","ASSET","资产文件",163959,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fexamples\u002Fwireframe-annotations.png",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"examples\u002Fwireframe-option-detail.png",154065,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fexamples\u002Fwireframe-option-detail.png",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"examples\u002Fwireframe-tabs.png",200150,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fexamples\u002Fwireframe-tabs.png",{"path":60,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":15},"LICENSE","许可证",1064,{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"README.md","REFERENCE","参考文档",4335,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002FREADME.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"wireframe\u002Fbrain\u002Fdesign-taste.md",6611,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fwireframe\u002Fbrain\u002Fdesign-taste.md",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"wireframe\u002Ftemplates\u002Fbase.css","OTHER","其他",5597,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fwireframe\u002Ftemplates\u002Fbase.css",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"wireframe\u002Ftemplates\u002Fself-reveal.css",699,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fwireframe\u002Ftemplates\u002Fself-reveal.css",{"path":84,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":85,"sourceHtmlUrl":86},"wireframe\u002Ftemplates\u002Ftemplate.html",17250,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FMagdoub\u002Fclaude-wireframe-skill\u002Fclaude-wireframe-skill\u002Fwireframe\u002Ftemplates\u002Ftemplate.html",[88,96,104,111,118,125],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7EX4T721AAH60R0239P8WBZ","frontend-slides","Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT\u002FPPTX to web, or create slides for a talk\u002Fpitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7EX495RSHTTCEJVX7C83FA3","design-dna","Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure\u002Fschema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on \"design DNA\", \"extract design style\", \"analyze design\", \"design tokens from reference\", \"generate design from JSON\", \"design system from screenshot\", \"design profile\", \"style guide JSON\", \"visual effects analysis\", \"design with effects\", \"3d design analysis\".","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FSKILL.md",[],[],{"skillNo":105,"name":5,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7EX45RF2XZKRC3KDJDTT1PH","Generate JSON wireframe with HTML preview","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7EWZEM3MHD48AYSYFR2C9JP","social-publishing","Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, Pinterest) via the SocialClaw API. Use when the user wants to publish, schedule, or manage social media content programmatically. Requires SOCIALCLAW_API_KEY.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fsocial-publishing\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7EWKDEK9840C728VXT78EQ9","hermes-tweet","Install and operate Hermes Tweet, a Hermes Agent plugin for X\u002FTwitter research, timeline reading, tweet analysis, and approval-gated private or state-changing operations. Use this skill when installing Hermes Tweet, researching X\u002FTwitter accounts, monitoring launch signals, investigating mentions, auditing giveaways, or preparing gated X operations. Use proactively when a Hermes Agent workflow needs current X\u002FTwitter context. Requires XQUIK_API_KEY for read and action tools.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fhermes-tweet\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":19},"01M7EWASXP3NZWW95CJPT2CRWN","refactoring-ui","Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions \"my UI looks off\" (or amateur\u002Funprofessional), \"fix the design\", \"Tailwind styling\", \"color palette\", \"visual hierarchy\", \"design system\", \"spacing scale\", or \"component styling\". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwondelai\u002Fskills\u002Frefactoring-ui\u002FSKILL.md",[],[]]