← 返回 Skills 市场
shadcn
作者
Jonny Looma
· GitHub ↗
· v0.1.1
· MIT-0
161
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install shadcn-ui-skills
功能描述
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage...
安全使用建议
This skill is a documentation/instruction pack for using the shadcn CLI and appears coherent. Before installing or using it, consider:
- The SKILL instructs the agent to run `npx shadcn@latest` (or equivalent). That will download and execute the shadcn npm package at runtime — treat that like running any third‑party CLI. If you need defense in depth, pin a specific package version instead of using @latest.
- The CLI reads project files (components.json, globals.css, etc.) and may resolve `${VAR}` placeholders from your environment. Do not run these commands in a shell that has sensitive credentials exported if you are unsure of the registry configuration.
- If you enable the MCP server functionality, it can read editor config and registry settings and may be configured to use auth headers; only enable it in trusted environments and verify registry URLs and headers.
- When adding/updating components, prefer `--dry-run` / `--diff` / `--view` first so you can inspect exactly what files will change before writing to disk.
- Verify the provenance of the shadcn CLI / repo you use (check the npm package or the GitHub source) before allowing it to run in production repositories.
功能分析
Type: OpenClaw Skill
Name: shadcn-ui-skills
Version: 0.1.1
The shadcn-ui-skills bundle is a legitimate set of instructions and documentation designed to help an AI agent follow best practices when using the shadcn/ui framework. It uses standard CLI commands (e.g., `npx shadcn@latest info` in `SKILL.md`) to gather project context and provides detailed coding rules in the `rules/` directory to ensure high-quality UI code generation. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
能力评估
Purpose & Capability
The name/description (manage shadcn components/projects) matches the contents: rules, CLI guidance, examples, and workflows for using the shadcn CLI. There are no unrelated required env vars, binaries, or install actions that would be inconsistent with a CLI/documentation skill.
Instruction Scope
Runtime instructions tell the agent to run the shadcn CLI (e.g., `npx shadcn@latest info --json`) and to read project files like components.json. This is expected for a CLI helper. Be aware that those commands will fetch and run the shadcn package transiently and will read project files in the working directory; the SKILL.md also documents registry headers and `${VAR}` interpolation which could cause the CLI to read environment variables when resolving registries. The instructions do not direct the agent to collect unrelated system secrets or post data to unexpected endpoints.
Install Mechanism
No install spec and no code files that install arbitrary packages are present. The skill is documentation-only; the only runtime installation behavior it recommends is running the official shadcn CLI via the project's package runner (npx/pnpm dlx/bunx), which is appropriate given the stated purpose.
Credentials
The skill does not declare any required environment variables. However, documentation (mcp.md and registry examples) explains that registries may include header templates like `Authorization: Bearer ${MY_TOKEN}` and that `${VAR}` placeholders are resolved from environment variables. That means the shadcn CLI (not the skill itself) may read env vars when interacting with private registries. This is proportional to the task, but users should be aware that using private registries or enabling the MCP server can require tokens.
Persistence & Privilege
The skill does not request persistent presence (always is false) and does not modify other skills or agent system settings. It only supplies guidance to run the shadcn CLI and to operate on project files; no elevated agent privileges are requested by the skill itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install shadcn-ui-skills - 安装完成后,直接呼叫该 Skill 的名称或使用
/shadcn-ui-skills触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
1
元数据
常见问题
shadcn 是什么?
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 161 次。
如何安装 shadcn?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install shadcn-ui-skills」即可一键安装,无需额外配置。
shadcn 是免费的吗?
是的,shadcn 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
shadcn 支持哪些平台?
shadcn 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 shadcn?
由 Jonny Looma(@lumacoder)开发并维护,当前版本 v0.1.1。
推荐 Skills