forge-town/skills

forge_ui-components-best-practice

Must follow when 创建或审查 UI 组件代码,确保在标准场景下使用项目组件库组件(如 shadcn/ui),禁止直接使用原生 HTML ?

Installation

$ npx skills add forge-town/skills --skill forge_ui-components-best-practice

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from forge-town/skills · top by installs.

npx skills add forge-town/skills

Browse all from forge-town/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 7
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 646 B
  • docs SUMMARY.md 204 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

UI 组件最佳实践

使用说明

  1. 阅读 [组件库规范指南](references/standard.md),了解何时必须使用组件库组件
  2. 对照 [检查清单](references/checklist.md) 逐项验证代码
  3. 参考 [最佳实践示例](best-practice-examples/) 了解标准写法

重要: 遇到标准 UI 场景时,必须使用组件库组件,禁止直接使用原生 HTML 元素