前端开发

add-ui

aladicf/better-web-ui

Generate 5 distinct, production-grade UI variations for a requested new or existing section, component, page, flow, or shell, then help the user preview and apply one. Use when the user asks to add or redesign UI like a hero, pricing, navbar, auth flow, dashboard shell, ecommerce surface, or data component.

  • 655 次安装
  • 46 星标
  • 收录于

安装命令

npx skills add https://github.com/aladicf/better-web-ui --skill add-ui

SKILL.md

MANDATORY PREPARATION

Users start this workflow with /add-ui. add-ui is the canonical skill name in this repository. Some hosts may expose a friendly /add alias, but docs, wrappers, and source files should continue to refer to the skill as add-ui.

Once this skill is active, load $frontend-design — it contains the design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding. If no design context exists yet, you MUST load $setup first.

When the request is for a brand-new landing page, marketing page, or several distinct directions and the aesthetic is still open, use the approved style-selection rules in frontend-design's design directions. Choose directions that fit the product idea and brand context instead of inventing vague vibe labels.

When working inside an existing project with an established visual system, preserve that system first and make the options feel distinct without quietly rebranding the product.

Also gather the smallest set of implementation details needed to generate usable code:

  • framework / runtime (React, Next.js, Vue, plain HTML, etc.)
  • styling system (Tailwind, CSS modules, styled-components, vanilla CSS, etc.)
  • target insertion point (new route, existing page, shared component folder, design system area)
  • whether this is a brand-new artifact or a redesign of an existing one
  • whether the user wants a section, page, flow, shell, or standalone component
  • quality bar (quick draft, production-ready, flagship)