[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M758RFRRK167PX8AGJMYNMTY":3,"skill-same:01M758RFRRK167PX8AGJMYNMTY":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M758RFRRK167PX8AGJMYNMTY","design-first-ui-prompting",null,"Design-first, spec-driven prompting for UI generation. Covers prompt structure, constraints, typography\u002Fspacing rules, iteration workflow, and negative prompts for consistent UI outputs with AI image\u002Fmodels. Trigger: When generating UI with AI image models, writing prompts for UI generation, or when you need consistent design outputs across multiple iterations.","davidcoachdev\u002Fdcfiles","davidcoachdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69812733?v=4","01M758C4BR16TAV1N47W319E9V","David H. Caycedo Blum.","01M758C4CCZA2ZYGA0BGMXCDRH",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fdesign-first-ui-prompting\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: design-first-ui-prompting\ndescription: >\n  Design-first, spec-driven prompting for UI generation.\n  Covers prompt structure, constraints, typography\u002Fspacing rules, iteration\n  workflow, and negative prompts for consistent UI outputs with AI image\u002Fmodels.\n  Trigger: When generating UI with AI image models, writing prompts for UI\n  generation, or when you need consistent design outputs across multiple iterations.\nlicense: Apache-2.0\nmetadata:\n  author: gentleman-programming (inspired by MengTo\u002FSkills)\n  version: \"1.0\"\n---\n\n## When to Use\n\n- Generating UI components or pages with AI image generation (Midjourney, DALL-E, etc.)\n- Writing prompts for UI that need consistency across multiple outputs\n- User wants \"variants\" not \"rerolls\" — systematic iteration\n- Need to communicate design intent precisely to an AI\n\n## Core Principle\n\n**Prompt like a design system, not a wish.**\n\nDon't describe what you want vaguely. Give a spec that constrains the output so consistently that \"variants\" become meaningful.\n\n## Prompt Template (copy\u002Fpaste and fill)\n\n```text\nGOAL\n- What are we making? (landing page hero \u002F onboarding \u002F dashboard \u002F carousel slide)\n- Who is it for? (persona)\n- What's the success criteria? (clarity, conversion, vibe)\n\nFORMAT\n- Size\u002Faspect: (1080x1350, 1920x1080, etc.)\n- Safe margins: (90px)\n\nLAYOUT (wireframe in words)\n- Grid: (Swiss 6-col, 12-col, custom)\n- Placement: (type-left \u002F image-right, centered, asymmetric)\n- Hierarchy: H1 → subhead → body → CTA\n\nTYPE SYSTEM\n- Font vibe: (Söhne, Neue Haas, SF Pro, Canela, etc.)\n- Weights: (H1 700, body 400)\n- Leading: (tight for H1, readable for body)\n- Tracking: (micro labels wider)\n\nCOLOR + MATERIAL\n- Background: (hex or description)\n- Text: (white\u002Fivory\u002Fcharcoal)\n- One accent only: (cyan\u002Flime\u002Fpurple)\n- Texture: (subtle grain, no plastic HDR)\n\nIMAGERY \u002F UI STYLE\n- UI style: (minimal \u002F glass \u002F editorial \u002F playful 3D)\n- If photo: lighting + crop + texture rules\n- If 3D: materials + lighting + softness\n\nCOPY (render EXACTLY — line by line)\n- Line 1:\n- Line 2:\n- ...\n\nCONSTRAINTS (change 1–2 things only per iteration)\n- FONT: ___\n- STYLE: ___\n- MODE: ___\n\nNEGATIVE PROMPT\n- No logos, no watermarks\n- No extra text beyond provided lines\n- No gibberish typography\n- No generic stock photos\n- No floating UI elements not specified\n```\n\n## Iteration Rules\n\n### 1. Lock One \"System\", Then Iterate with Variants\n- **First output**: nail layout + hierarchy + copy\n- **Variants**: change ONE variable at a time:\n  - angle \u002F crop\n  - accent color\n  - card arrangement\n  - background tone\n\n### 2. Treat Typography as Fragile\nIf the model keeps misspelling or making up text:\n- **2-pass workflow**: \n  1. Generate the visual WITHOUT text (reserve a clean text-safe area)\n  2. Typeset in Figma (or add text manually in code)\n\n### 3. Use \"Constraints Cards\"\nWhen you want the model to obey a style:\n- Add a small \"Constraints\" block with explicit values\n- It anchors the output like a mini style guide\n\n```text\nConstraints\nFONT   CANELA\nSTYLE  MINIMAL\nMODE   DARK\n```\n\n### 4. Keep a Local Reference Pack\nDon't ask the model to \"remember\" taste from previous outputs.\n- Save references into a local folder\n- Point prompts to the reference style explicitly\n\n## Fast Iteration Checklist (what to tweak)\n- ✓ Spacing: margins, leading, baseline rhythm\n- ✓ Contrast: background vs text\n- ✓ Hierarchy: one hero line, one support line\n- ✓ One accent only (don't rainbow)\n- ✓ Texture: add grain, remove smoothing\n\n## Questions to Ask (when user is vague)\n- What's the single message of this screen?\n- What's the hierarchy (H1 \u002F sub \u002F CTA)?\n- Which style lane: minimal editorial vs playful 3D vs glass UI?\n- Any must-keep constraints (font vibe, color, spacing, grid)?\n\n## Common Pitfalls\n- Changing everything at once between iterations (can't isolate what worked)\n- No negative prompts (model invents unwanted elements)\n- Vague typography instructions (model makes up text)\n- Too many accent colors (rainbow effect)\n- No constraints on imagery style (mismatched photo styles)\n","## When to Use\n\n- Generating UI components or pages with AI image generation (Midjourney, DALL-E, etc.)\n- Writing prompts for UI that need consistency across multiple outputs\n- User wants \"variants\" not \"rerolls\" — systematic iteration\n- Need to communicate design intent precisely to an AI\n\n## Core Principle\n\n**Prompt like a design system, not a wish.**\n\nDon't describe what you want vaguely. Give a spec that constrains the output so consistently that \"variants\" become meaningful.\n\n## Prompt Template (copy\u002Fpaste and fill)\n\n```text\nGOAL\n- What are we making? (landing page hero \u002F onboarding \u002F dashboard \u002F carousel slide)\n- Who is it for? (persona)\n- What's the success criteria? (clarity, conversion, vibe)\n\nFORMAT\n- Size\u002Faspect: (1080x1350, 1920x1080, etc.)\n- Safe margins: (90px)\n\nLAYOUT (wireframe in words)\n- Grid: (Swiss 6-col, 12-col, custom)\n- Placement: (type-left \u002F image-right, centered, asymmetric)\n- Hierarchy: H1 → subhead → body → CTA\n\nTYPE SYSTEM\n- Font vibe: (Söhne, Neue Haas, SF Pro, Canela, etc.)\n- Weights: (H1 700, body 400)\n- Leading: (tight for H1, readable for body)\n- Tracking: (micro labels wider)\n\nCOLOR + MATERIAL\n- Background: (hex or description)\n- Text: (white\u002Fivory\u002Fcharcoal)\n- One accent only: (cyan\u002Flime\u002Fpurple)\n- Texture: (subtle grain, no plastic HDR)\n\nIMAGERY \u002F UI STYLE\n- UI style: (minimal \u002F glass \u002F editorial \u002F playful 3D)\n- If photo: lighting + crop + texture rules\n- If 3D: materials + lighting + softness\n\nCOPY (render EXACTLY — line by line)\n- Line 1:\n- Line 2:\n- ...\n\nCONSTRAINTS (change 1–2 things only per iteration)\n- FONT: ___\n- STYLE: ___\n- MODE: ___\n\nNEGATIVE PROMPT\n- No logos, no watermarks\n- No extra text beyond provided lines\n- No gibberish typography\n- No generic stock photos\n- No floating UI elements not specified\n```\n\n## Iteration Rules\n\n### 1. Lock One \"System\", Then Iterate with Variants\n- **First output**: nail layout + hierarchy + copy\n- **Variants**: change ONE variable at a time:\n  - angle \u002F crop\n  - accent color\n  - card arrangement\n  - background tone\n\n### 2. Treat Typography as Fragile\nIf the model keeps misspelling or making up text:\n- **2-pass workflow**: \n  1. Generate the visual WITHOUT text (reserve a clean text-safe area)\n  2. Typeset in Figma (or add text manually in code)\n\n### 3. Use \"Constraints Cards\"\nWhen you want the model to obey a style:\n- Add a small \"Constraints\" block with explicit values\n- It anchors the output like a mini style guide\n\n```text\nConstraints\nFONT   CANELA\nSTYLE  MINIMAL\nMODE   DARK\n```\n\n### 4. Keep a Local Reference Pack\nDon't ask the model to \"remember\" taste from previous outputs.\n- Save references into a local folder\n- Point prompts to the reference style explicitly\n\n## Fast Iteration Checklist (what to tweak)\n- ✓ Spacing: margins, leading, baseline rhythm\n- ✓ Contrast: background vs text\n- ✓ Hierarchy: one hero line, one support line\n- ✓ One accent only (don't rainbow)\n- ✓ Texture: add grain, remove smoothing\n\n## Questions to Ask (when user is vague)\n- What's the single message of this screen?\n- What's the hierarchy (H1 \u002F sub \u002F CTA)?\n- Which style lane: minimal editorial vs playful 3D vs glass UI?\n- Any must-keep constraints (font vibe, color, spacing, grid)?\n\n## Common Pitfalls\n- Changing everything at once between iterations (can't isolate what worked)\n- No negative prompts (model invents unwanted elements)\n- Vague typography instructions (model makes up text)\n- Too many accent colors (rainbow effect)\n- No constraints on imagery style (mismatched photo styles)\n",{"name":5,"license":15,"metadata":24,"description":27},{"author":25,"version":26},"gentleman-programming (inspired by MengTo\u002FSkills)","1.0","Design-first, spec-driven prompting for UI generation. Covers prompt structure, constraints, typography\u002Fspacing rules, iteration workflow, and negative prompts for consistent UI outputs with AI image\u002Fmodels. Trigger: When generating UI with AI image models, writing prompts for UI generation, or when you need consistent design outputs across multiple iterations.\n","main","5dc86f90a5cbe45db3acd917825461b3ed6937fb","config\u002F.config\u002Fopencode\u002Fskills\u002Fdesign-first-ui-prompting",0,"https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev","🌐 Apasionado por crear soluciones web escalables y eficientes. \r\n🧑‍🏫 Coach Dev.\r\n💻 Frontend Dev. \r\n🎚️Backend Dev.\r\n📊 Agile\u002FScrum.\r\n🚀100% remoto.","2026-08-26 07:28:05",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add davidcoachdev\u002Fdcfiles --skill design-first-ui-prompting",{"tool":42,"command":43},"bunx","bunx skills add davidcoachdev\u002Fdcfiles --skill design-first-ui-prompting",{"tool":45,"command":46},"pnpm","pnpm dlx skills add davidcoachdev\u002Fdcfiles --skill design-first-ui-prompting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fdesign-first-ui-prompting\u002FSKILL.md",true,[],[51,58,65,72,80,87],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7740FETMZY1VTYAEFY1TWY7","zustand-5","Zustand 5 state management patterns. Trigger: When managing React state with Zustand.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fzustand-5\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M773ZZM9V68SA1AKP4WF4J29","zod-4","Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fzod-4\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M773ZJFR90CQAY0N9QR40QVP","x-bookmark-quote-posts","Workflow para revisar bookmarks de X\u002FTwitter y convertirlos en drafts de quote posts. Accede a la sección de bookmarks vía browser headless, extrae posts recientes, y genera drafts con voz personal del usuario. No publica ni muta X — solo genera contenido para revisión. Trigger: X bookmarks, Twitter bookmarks, quote posts, bookmark automation, crear quote posts, revisar bookmarks, growth content X.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fx-bookmark-quote-posts\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M773Z2RGV3786FV310SDB0YD","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","MIT","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M773YJH3KDSW467CSS63CSRJ","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M773Y3S3H2CPRK5S8YFHWB5C","work-unit-commits","Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.","https:\u002F\u002Fgithub.com\u002Fdavidcoachdev\u002Fdcfiles\u002Fblob\u002Fmain\u002Fconfig\u002F.config\u002Fopencode\u002Fskills\u002Fwork-unit-commits\u002FSKILL.md",[],[]]