360 Secure SkillHub
360 安全技能中心

Frontend Design

该 Skill 面向前端 UI 组件生成:需求模糊时会先追问响应式、深色模式或设计系统等细节,然后默认用 React、TypeScript 和 Tailwind CSS 输出包含属性接口、完整实现、使用示例与无障碍说明的组件代码,并强调键盘导航、ARIA 与 WCAG 2.1 AA。

asimons81
asimons81
热度 42.14
最近更新 2026-05-11 17:42:16
分类:开发依赖:内部调用大模型应用场景:代码生成 / UI 原型

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agentic-atlas-frontend-design
Metadata
name
frontend-design
description
Generates production-ready UI components from natural language. Use when the user asks to design a component, create a button, build a form, prototype a layout, or generate React/Tailwind CSS code. NOT for: backend logic, API design, database schema, or non-UI tasks.
version
1.0.0
author
asimons81
source
https://github.com/asimons81/Agentic-Atlas
tags
["frontend","ui","react","tailwind","css","component"]
agency_score
7

Frontend Design Skill

Generates production-ready UI components from natural language descriptions.

Instructions

When the user requests a UI component, layout, or frontend feature:

  1. Ask clarifying questions if the request is ambiguous (responsive? dark mode? existing design system?)
  2. Generate the component using React + Tailwind CSS by default
  3. Output the complete component code with all props, state management, and accessibility attributes
  4. Include ARIA labels, keyboard navigation, and semantic HTML
  5. Verify the component compiles without errors before presenting

Features

  • React component generation with TypeScript
  • Tailwind CSS output (default) with custom config support
  • Responsive design (mobile-first)
  • Dark mode support
  • Animation and transition presets
  • Accessibility audit integration (ARIA, keyboard nav, WCAG 2.1 AA)
  • Component variants (primary, secondary, disabled states)

Output Format

Return the complete component code in a single code block with:

  • Component name
  • Props interface (TypeScript)
  • Full implementation
  • Usage example
  • Accessibility notes

Example

User: "Create a user profile card with avatar, name, role, and a follow button"

→ Generate: React component with Avatar, typography hierarchy, FollowButton with hover state

Dependencies

Requires: Node.js, React, Tailwind CSS (installed in the project)