artifacts-builder — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited artifacts-builder (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
要构建强大的前端 claude.ai artifacts,请按以下步骤操作:
scripts/init-artifact.sh 初始化前端仓库scripts/bundle-artifact.sh 将所有代码打包成单个 HTML 文件技术栈:React 18 + TypeScript + Vite + Parcel(打包)+ Tailwind CSS + shadcn/ui
非常重要:为避免所谓的 "AI slop",避免使用过多的居中布局、紫色渐变、统一的圆角和 Inter 字体。
运行初始化脚本创建新的 React 项目:
bash scripts/init-artifact.sh <project-name>
cd <project-name>这将创建一个完全配置好的项目,包含:
@/)已配置要构建 artifact,编辑生成的文件。参见下方常见开发任务获取指导。
要将 React 应用打包成单个 HTML artifact:
bash scripts/bundle-artifact.sh这将创建 bundle.html - 一个包含所有 JavaScript、CSS 和依赖项的独立 artifact。此文件可直接在 Claude 对话中作为 artifact 分享。
要求:你的项目根目录必须有 index.html。
脚本执行内容:
.parcelrc 配置最后,在对话中与用户分享打包后的 HTML 文件,以便他们将其作为 artifact 查看。
注意:这是完全可选的步骤。仅在必要时或被请求时执行。
要测试/可视化 artifact,使用可用工具(包括其他 Skills 或内置工具如 Playwright 或 Puppeteer)。通常,避免预先测试 artifact,因为这会增加从请求到展示完成 artifact 之间的延迟。如果被请求或出现问题,在展示 artifact 后再进行测试。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.