跳到正文
cccskills
免费在 GitHub 公开

ui

Builds UI components, landing page sections, hero sections, and contact forms. Use when creating front-end visual elements.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(5)

  • SKILL.md2.8 KB
  • references/component-generation.md649 B
  • references/feedback-forms.md623 B
  • references/frontend-design.md1.2 KB
  • references/ui-skills.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

UI Skills

A group of skills responsible for generating UI components and forms.

Constraint Priority and Application Conditions

  1. By default, apply constraints from ${CLAUDE_SKILL_DIR}/references/ui-skills.md with highest priority.
  2. Apply ${CLAUDE_SKILL_DIR}/references/frontend-design.md only when "edgy/unique/expressive/brand-enhancing" styles are explicitly requested.
  3. UI Skills MUST/NEVER rules are maintained by default. However, the following exceptions are permitted only when explicitly requested by the user:
    • Gradients, glows, heavy decorations
    • Animations (additions/enhancements)
    • Custom easing

Feature Details

FeatureDetails
Constraint setSee references/ui-skills.md / references/frontend-design.md
Component generationSee references/component-generation.md
Feedback formsSee references/feedback-forms.md

Execution Steps

  1. Apply constraint set (following priority order)
  2. Quality gate (Step 0)
  3. Classify the user's request
  4. Read the appropriate reference file from "Feature Details" above
  5. Generate according to its content

Step 0: Quality Gate (a11y Checklist)

Ensure accessibility when generating UI components:

♿ Accessibility Checklist

Generated UI should meet the following:

### Required Items
- [ ] Set alt attributes on images
- [ ] Associate labels with form elements
- [ ] Keyboard navigable (Tab for focus movement)
- [ ] Focus state is visually distinguishable

### Recommended Items
- [ ] Do not rely on color alone for conveying information
- [ ] Contrast ratio 4.5:1 or higher (text)
- [ ] Appropriate use of aria-label / aria-describedby
- [ ] Heading structure (h1 -> h2 -> h3) is logical

### Interactive Elements
- [ ] Appropriate labels on buttons ("View product details" instead of "Details")
- [ ] Focus trap for modals/dialogs
- [ ] Error messages are read by screen readers

For VibeCoders

♿ Making Designs Accessible to Everyone

1. **Add descriptions to images**
   - Instead of "product image", use "red sneakers, front view"

2. **Make clickable areas keyboard-navigable too**
   - Navigate with Tab key, confirm with Enter

3. **Don't rely on color alone for judgment**
   - Not just red=error, but also icon+text

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

allow1

免费

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

breezing

免费

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

中文简介正在准备中。当前显示原文说明。

tim-hub/powerball-harness352026年8月5日 更新

查看 tim-hub 的全部技能

报告此技能的问题