[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVHTREYYK28K9H6BDSSK01":3,"skill-same:01M7EVHTREYYK28K9H6BDSSK01":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7EVHTREYYK28K9H6BDSSK01","ams-prompt-to-ui-workflows",null,"TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-prompt-to-ui-workflows\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prompt-to-ui-workflows\ndescription: Take AI-generated UI into production: code review, hardening, accessibility, performance, and design-system integration. Use after generating UI with AI tools.\ncategory: web-development\n---\n\n# Prompt-to-UI Workflows\n\nA vendor-neutral production pipeline for AI-generated UI: the review checklist, hardening steps, accessibility remediation, and design-system integration that turn generated drafts into shippable interfaces — with any AI tool.\n\n## Overview\n\nAI generates UI fast; production requires **trust**. This skill is the bridge: a systematic workflow applied to any AI-generated interface before it ships. Think of generated code as a junior developer's first draft — promising, needing review, never merged blind. The pipeline: **review → integrate → harden → verify.**\n\n## When to use\n\n- After any AI tool generates screens, components, or layouts.\n- Setting team standards for AI-assisted frontend work.\n- Auditing a codebase with significant AI-generated UI.\n- Deciding what \"done\" means for generated interfaces.\n\n## Core concepts\n\n- **Generated code is untrusted input.** Review it like a PR from someone you don't know: verify behavior, check for secrets, question dependencies.\n- **The 80\u002F20 split.** Generation covers structure and boilerplate (80%); humans own the last 20%: edge cases, a11y, performance, polish.\n- **Design-system conformance.** Generated code must use your tokens and components — or explicitly justify exceptions. Visual consistency is a feature.\n- **Progressive hardening.** Review → integrate → states → a11y → perf → security, in that order. Each gate has a checklist.\n\n## Practical workflow\n\n**1. Code review gate.** Read every line of generated code (it's usually \u003C500 lines per screen — readable).\n- [ ] No secrets, API keys, or hardcoded credentials.\n- [ ] No unexpected dependencies (check imports; question each new package).\n- [ ] No `dangerouslySetInnerHTML` \u002F `innerHTML` with unescaped data.\n- [ ] Follows project conventions (file layout, naming, component patterns).\n- [ ] TypeScript types are real, not `any` soup.\n\n**2. Integration gate.**\n- [ ] Uses design-system components\u002Ftokens (Button, colors, spacing) — replace invented one-offs.\n- [ ] Repeated blocks extracted into shared components.\n- [ ] Routing, data fetching wired to real sources (replace mocks deliberately, not accidentally).\n- [ ] Removed placeholder content, lorem ipsum, fake data.\n\n**3. States gate.**\n- [ ] Loading skeletons\u002Fspinners on every async path.\n- [ ] Empty states with helpful copy + action.\n- [ ] Error states with retry; errors logged to tracking.\n- [ ] Disabled states during submission; no double-submit.\n\n**4. Accessibility gate.**\n- [ ] Semantic HTML (headings hierarchy, lists, buttons vs divs).\n- [ ] Labels on all inputs; error messages linked via `aria-describedby`.\n- [ ] Keyboard navigable; visible focus states; logical tab order.\n- [ ] Color contrast meets AA; no information by color alone.\n- [ ] Screen-reader check on dynamic content (live regions where needed).\n\n**5. Performance gate.**\n- [ ] Images optimized (modern formats, sizes, lazy loading).\n- [ ] No render loops; lists virtualized\u002Fkeyed properly.\n- [ ] Bundle impact checked (new deps justified).\n- [ ] Lighthouse \u002F Core Web Vitals within targets.\n\n**6. Verify.** Run the full test suite + manual pass on mobile and desktop; check the production build (`npm run build` clean).\n\n## Common pitfalls\n\n- **Merging blind.** The #1 failure: generated code committed without reading. Always review.\n- **Mock data shipped.** Placeholder data that \"looked fine in the demo\" reaching production. Grep for TODO\u002Florem\u002Fsample before release.\n- **Invented design system.** Generated components duplicating your existing ones with slightly different styles. Enforce reuse.\n- **A11y deferred forever.** \"We'll fix accessibility later\" = never. Gate on it now; remediation later costs 10x.\n- **Secret leakage.** AI-generated examples with API keys, or real keys pasted into prompts ending up in code. Scan before merge.\n- **Dependency surprises.** AI-added packages with vulnerabilities, huge size, or abandoned maintenance. Audit each addition.\n- **No owner.** \"The AI wrote it\" → nobody understands it → nobody maintains it. Assign a human owner to every generated module.\n- **Skipping the build check.** Generated code that works in dev but breaks the production build (SSR issues, bad imports). Build + preview before merging.\n","# Prompt-to-UI Workflows\n\nA vendor-neutral production pipeline for AI-generated UI: the review checklist, hardening steps, accessibility remediation, and design-system integration that turn generated drafts into shippable interfaces — with any AI tool.\n\n## Overview\n\nAI generates UI fast; production requires **trust**. This skill is the bridge: a systematic workflow applied to any AI-generated interface before it ships. Think of generated code as a junior developer's first draft — promising, needing review, never merged blind. The pipeline: **review → integrate → harden → verify.**\n\n## When to use\n\n- After any AI tool generates screens, components, or layouts.\n- Setting team standards for AI-assisted frontend work.\n- Auditing a codebase with significant AI-generated UI.\n- Deciding what \"done\" means for generated interfaces.\n\n## Core concepts\n\n- **Generated code is untrusted input.** Review it like a PR from someone you don't know: verify behavior, check for secrets, question dependencies.\n- **The 80\u002F20 split.** Generation covers structure and boilerplate (80%); humans own the last 20%: edge cases, a11y, performance, polish.\n- **Design-system conformance.** Generated code must use your tokens and components — or explicitly justify exceptions. Visual consistency is a feature.\n- **Progressive hardening.** Review → integrate → states → a11y → perf → security, in that order. Each gate has a checklist.\n\n## Practical workflow\n\n**1. Code review gate.** Read every line of generated code (it's usually \u003C500 lines per screen — readable).\n- [ ] No secrets, API keys, or hardcoded credentials.\n- [ ] No unexpected dependencies (check imports; question each new package).\n- [ ] No `dangerouslySetInnerHTML` \u002F `innerHTML` with unescaped data.\n- [ ] Follows project conventions (file layout, naming, component patterns).\n- [ ] TypeScript types are real, not `any` soup.\n\n**2. Integration gate.**\n- [ ] Uses design-system components\u002Ftokens (Button, colors, spacing) — replace invented one-offs.\n- [ ] Repeated blocks extracted into shared components.\n- [ ] Routing, data fetching wired to real sources (replace mocks deliberately, not accidentally).\n- [ ] Removed placeholder content, lorem ipsum, fake data.\n\n**3. States gate.**\n- [ ] Loading skeletons\u002Fspinners on every async path.\n- [ ] Empty states with helpful copy + action.\n- [ ] Error states with retry; errors logged to tracking.\n- [ ] Disabled states during submission; no double-submit.\n\n**4. Accessibility gate.**\n- [ ] Semantic HTML (headings hierarchy, lists, buttons vs divs).\n- [ ] Labels on all inputs; error messages linked via `aria-describedby`.\n- [ ] Keyboard navigable; visible focus states; logical tab order.\n- [ ] Color contrast meets AA; no information by color alone.\n- [ ] Screen-reader check on dynamic content (live regions where needed).\n\n**5. Performance gate.**\n- [ ] Images optimized (modern formats, sizes, lazy loading).\n- [ ] No render loops; lists virtualized\u002Fkeyed properly.\n- [ ] Bundle impact checked (new deps justified).\n- [ ] Lighthouse \u002F Core Web Vitals within targets.\n\n**6. Verify.** Run the full test suite + manual pass on mobile and desktop; check the production build (`npm run build` clean).\n\n## Common pitfalls\n\n- **Merging blind.** The #1 failure: generated code committed without reading. Always review.\n- **Mock data shipped.** Placeholder data that \"looked fine in the demo\" reaching production. Grep for TODO\u002Florem\u002Fsample before release.\n- **Invented design system.** Generated components duplicating your existing ones with slightly different styles. Enforce reuse.\n- **A11y deferred forever.** \"We'll fix accessibility later\" = never. Gate on it now; remediation later costs 10x.\n- **Secret leakage.** AI-generated examples with API keys, or real keys pasted into prompts ending up in code. Scan before merge.\n- **Dependency surprises.** AI-added packages with vulnerabilities, huge size, or abandoned maintenance. Audit each addition.\n- **No owner.** \"The AI wrote it\" → nobody understands it → nobody maintains it. Assign a human owner to every generated module.\n- **Skipping the build check.** Generated code that works in dev but breaks the production build (SSR issues, bad imports). Build + preview before merging.\n",{},"main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-prompt-to-ui-workflows",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill ams-prompt-to-ui-workflows",{"tool":37,"command":38},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill ams-prompt-to-ui-workflows",{"tool":40,"command":41},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill ams-prompt-to-ui-workflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-prompt-to-ui-workflows\u002FSKILL.md",true,[],[46,53,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":57,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]