aic-ui-components
Search and evaluate 21st UI components or add a selected component only within an approved implementation scope.
- License 许可
- MIT
- 所属仓库
- Jankyz/ai-config
- 最近更新
- 2026-09-16
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- aic-ui-components
- description
- Search and evaluate 21st UI components or add a selected component only within an approved implementation scope.
02 资源文件 1
- 参考文档agents/openai.yaml259 B
03 SKILL.md 正文
UI component discovery
Adapted and modified from:
21st-dev/skill,skills/21st-cli-use, commit0d77001a77fe8540bb07ed68d09092ee08546ed3. Distributed under Apache-2.0; seethird_party/21st/LICENSE.
Purpose
Use the existing 21st CLI to discover and inspect relevant components or themes before designing a new interface from scratch.
Preconditions
- Read relevant project instructions,
DESIGN.mdwhen present, the framework, and existing components. - Determine whether the request is read-only discovery or an approved implementation.
- Confirm that the
21stexecutable is already available. If it is not, return21ST_CLI_UNAVAILABLEand stop this capability.
Discovery — read-only
21st search "<query>" --limit <N> [--type <component|theme|template>] [--json]
21st search button --type component
21st search dark --type theme
21st get <id> [--json]
21st theme <id> [--json]
searchreturns catalog candidates. Use--typeand a bounded--limitto narrow the result; use--jsonwhen structured inspection is useful.getreturns a selected component's code and demo information. Use it after search to evaluate a candidate.themereturns a selected theme's CSS. Use it only when evaluating a theme candidate.
Compare candidates with the project's visual language, framework, accessibility needs, and stated scope. Report candidates and trade-offs without changing project files.
Approved implementation
-
Confirm the selected component is inside an approved plan and implementation scope.
-
Preview the intended operation when supported:
21st add <component> --print. -
Add only the selected component:
21st add <user>/<slug> 21st add @<team>/<slug>21st addmay write component files and install dependencies through the project's package manager. -
Inspect changed project files and package/dependency changes.
-
Run relevant project verification and report the outcome.
Metering
Some retrieval and installation operations may be metered. Do not silently consume paid credits or cross a paywall. If an operation requires paid credits or payment that has not been explicitly authorized for the current task, return:
BLOCKED — 21st paid operation requires owner authorization
Boundaries
- Do not install, configure, or authenticate the 21st CLI or its integrations.
- Do not expose, persist, or request credentials.
- Do not publish or remove remote resources.
- Do not invoke
npx,bunx,npm exec, login/logout, setup, installer, publishing, editing, or deletion commands. - Do not add components during discovery.
- Do not create plans, bypass approval, commit, push, or release.
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
grilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
grill-me
A relentless interview to sharpen a plan or design.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
grill-with-docs
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
codebase-design
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.