aic-ui-generate
Explore UI concepts with 21st AI or pull a selected result only within an approved implementation scope.
- License 许可
- MIT
- 所属仓库
- Jankyz/ai-config
- 最近更新
- 2026-09-16
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- aic-ui-generate
- description
- Explore UI concepts with 21st AI or pull a selected result only within an approved implementation scope.
02 资源文件 1
- 参考文档agents/openai.yaml245 B
03 SKILL.md 正文
UI concept generation
Adapted and modified from:
21st-dev/skill,skills/21st-ai, commit0d77001a77fe8540bb07ed68d09092ee08546ed3. Distributed under Apache-2.0; seethird_party/21st/LICENSE.
Purpose
Use the existing 21st CLI to create and refine external UI concepts while preserving ai-config planning, approval, and implementation boundaries.
Preconditions
- Read relevant project instructions,
DESIGN.mdwhen present, and the target framework. - Determine whether the request is exploration or approved implementation.
- Confirm that the
21stexecutable is already available. If it is not, return21ST_CLI_UNAVAILABLEand stop this capability.
Exploration
21st generate "<prompt>"
21st generation <projectId>
21st iterate <projectId> "<change>" --take <N>
21st take <projectId> --take <N>
21st take <projectId> --take <N> --code
generatecreates external concept variants and returns a project ID.generationlists the available variants for that project.iteraterefines one selected external variant.takereturns the normal copy-prompt. Prefer it as a design specification for implementation in the project's real stack.take --codereturns standalone HTML for inspection when useful or explicitly requested; never treat it as production-ready source or paste it blindly into the project.
Generate concepts, inspect variants, and refine selected external drafts without writing generated output into the local repository.
Approved implementation
- Confirm the selected result is within an approved plan and implementation scope.
- Use the selected result as implementation input in the project's real stack; do not create a competing 21st implementation loop.
- Inspect changed files and dependency changes.
- Run relevant project verification and report the outcome.
Stop conditions
- If authentication, credits, payment, or interactive user action is required, report the requirement and stop.
- Stop for unresolved material design decisions and return them to the existing planning workflow.
- 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 pull code during exploration.
- 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.