Web Artifacts Builder
LeastBit/Claude_skills_zh-CN
用于使用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)创建复杂的、多组件的 claude.ai HTML artifact 的工具套件。适用于需要状态管理、路由或 shadcn/ui 组件的复杂 artifact - 不适用于简单的单文件 HTML/JSX artifact。
Suite of tools for creating elaborate, multi-component claude.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui).
$ npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sammcj/agentic-coding web-artifacts-builder-v2 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills/web-artifacts-builder-v2 .claude/skills/web-artifacts-builder-v2 && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "web-artifacts-builder-v2" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2 into .claude/skills/web-artifacts-builder-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-artifacts-builder-v2", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sammcj/agentic-coding web-artifacts-builder-v2 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .agents/skills && cp -r skills-src/Skills/web-artifacts-builder-v2 .agents/skills/web-artifacts-builder-v2 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "web-artifacts-builder-v2" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2 into .agents/skills/web-artifacts-builder-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-artifacts-builder-v2", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sammcj/agentic-coding web-artifacts-builder-v2 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/Skills/web-artifacts-builder-v2 .cursor/skills/web-artifacts-builder-v2 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "web-artifacts-builder-v2" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2 into .cursor/skills/web-artifacts-builder-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-artifacts-builder-v2", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sammcj/agentic-coding.git --path Skills/web-artifacts-builder-v2--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sammcj/agentic-coding web-artifacts-builder-v2 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/Skills/web-artifacts-builder-v2 .gemini/skills/web-artifacts-builder-v2 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "web-artifacts-builder-v2" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2 into .gemini/skills/web-artifacts-builder-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-artifacts-builder-v2", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sammcj/agentic-coding web-artifacts-builder-v2Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .github/skills && cp -r skills-src/Skills/web-artifacts-builder-v2 .github/skills/web-artifacts-builder-v2 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "web-artifacts-builder-v2" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2 into .github/skills/web-artifacts-builder-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-artifacts-builder-v2", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sammcj/agentic-coding web-artifacts-builder-v2 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/Skills/web-artifacts-builder-v2 .opencode/skills/web-artifacts-builder-v2 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "web-artifacts-builder-v2" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills/web-artifacts-builder-v2 into .opencode/skills/web-artifacts-builder-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-artifacts-builder-v2", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
web-artifacts-builder-v2Suite of tools for creating elaborate, multi-component claude.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui).
Web Artifacts Builder V2 is an agent skill from sammcj/agentic-coding. Suite of tools for creating elaborate, multi-component claude.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui). Use for complex artefacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artefacts.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `scripts/bundle-artifact.sh` and `scripts/init-artifact.sh`).
It sits in Frontend & Design, covering HTML artifacts, React components and State management. It works with shadcn/ui, React and Tailwind CSS. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 62ba5a2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
bashpnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ui.shadcn.comtailwindcss.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Web Artifacts Builder V2 loads about 1.9k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 941 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from sammcj/agentic-coding at commit 62ba5a2, republished under its Apache-2.0 licence (© sammcj). 941 words, ~1,868 tokens.
.claude/skills/web-artifacts-builder-v2/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.To build a frontend claude.ai artefact, follow these steps:
scripts/init-artifact.shresources/themes.css and apply it (see "Themes" below)scripts/bundle-artifact.shStack: React 19 + TypeScript + Vite 8 + Tailwind CSS v4 + shadcn/ui (new-york style) + lucide-react. Bundling via vite-plugin-singlefile. Requires Node 20.19+ or 22.12+.
These principles are adapted from the html-design-examples skill. Load that skill alongside this one when you need patterns for specific artefact intents (status report, code review, PR write-up, design system page, editor, etc.); its rendered catalogue at resources/index.html indexes 20 single-file references.
18-editor-triage-board.html example in html-design-examples for the pattern.Use visual accents (coloured border stripes, tinted-background callout boxes, accent bars on cards) only when the colour or treatment encodes specific information - status, category, severity, or priority that I've explicitly defined. Don't apply visual accents decoratively, don't rotate through palette colours across sibling items for variety, and don't reach for the tinted-callout-with-coloured-bar pattern as a default way to mark asides. If you're about to add an accent, ask whether removing it would lose information; if not, remove it and rely on plain typographic hierarchy instead.
Other things to avoid because they read as AI-default output: excessive centred layouts, purple gradients, uniformly rounded corners on everything, glassmorphism, emoji bullets, and three-card-grid hero sections with identical icons. The same goes for status badges or pulsing dots whose state never changes ("Active", "Verified"), copy that echoes the prompt or stack ("Built with..."), fake-system naming (// separators, SCREAMING_SNAKE labels, version pills, spaced mono-caps eyebrows), and landing-page furniture on working screens (hype subtitles, vanity stat strips, one headline word in the accent colour). Check the alignment of SVGs, ASCII art and timeline markers by measuring the computed boxes.
resources/themes.css ships five named themes. Pick one before you start writing components - retrofitting a palette is much more work than choosing one up front.
| Theme | Mood | Good for |
|---|---|---|
| Editorial paper | Warm paper, ink, ochre accent | Longform writeups, plans, reports, post-mortems |
| Technical mono | Near-monochrome, single green accent | Code reviews, system diagrams, status pages, debugging |
| Warm desaturated | Sand, clay-brown, muted terracotta | Brand-adjacent artefacts, design pages, anything that wants warmth without volume |
| Cool muted | Quiet slate, low-chroma teal | Dashboards, status reports, technical docs |
| Nordic dark | Polar-night greys, frost-blue | Incident write-ups, debug dumps, dark-mode-first developer tooling |
To apply a theme:
resources/themes.css and copy the :root { ... } and .dark { ... } blocks for the chosen theme.:root and .dark blocks in your project's src/index.css. Leave the @theme inline and @layer base blocks alone - they wire the variables into Tailwind utilities.<link rel="stylesheet"> tag in index.html from Google Fonts, or by setting body { font-family: ... } in src/index.css.If the user has an existing brand or design system, defer to it rather than picking from the gallery.
bash scripts/init-artifact.sh <project-name>
cd <project-name>This creates a configured project with:
src/index.css, no tailwind.config.js)src/components/ui/radix-ui umbrella package and lucide-react@/ configured in both tsconfig.json and vite.config.tsApp.tsx placeholder ready for you to editSee "Themes" above.
Edit src/App.tsx and add components as needed. Components are imported from @/components/ui/<name>. The cn() helper lives at @/lib/utils.
To preview during development:
pnpm devbash scripts/bundle-artifact.shThis produces bundle.html - a single self-contained file with all JS, CSS, and assets inlined. The script:
vite-plugin-singlefile as a dev dependencyvite.config.bundle.ts that extends your config with the single-file plugin and inlining optionsvite build --config vite.config.bundle.tsdist/index.html to bundle.htmlThe artefact requires nothing at runtime - hand it to the user directly.
Pass bundle.html back to the user as the artefact.
Only test before sharing if the user has asked, or if the artefact has interactive logic that you don't want to ship broken. Use Playwright or open the file locally. Otherwise prefer shipping fast and iterating on feedback.
html-design-examples© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (scripts) in Skills/web-artifacts-builder-v2 of sammcj/agentic-coding.
Open the folder on GitHubat commit 62ba5a2
Web Artifacts Builder V2 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Web Artifacts Builder V2 this skillsammcj/agentic-coding | 162 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Web Artifacts BuilderLeastBit/Claude_skills_zh-CN | 588 | — | ~458 | Automated safety check: Pass | Apache-2.0 | |
| Artifacts Builderboshi-xixixi/TraeSkill | 275 | — | ~768 | Automated safety check: Pass | Apache-2.0 | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Creative Tim UI Blockscreativetimofficial/ui | 12k | — | ~2.1k | Automated safety check: Notes | MIT | |
| Animated React Component LibrariesHainrixz/editor-pro-max | 261 | 1 repos | ~5.7k | Automated safety check: Pass | Custom licence |
LeastBit/Claude_skills_zh-CN
用于使用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)创建复杂的、多组件的 claude.ai HTML artifact 的工具套件。适用于需要状态管理、路由或 shadcn/ui 组件的复杂 artifact - 不适用于简单的单文件 HTML/JSX artifact。
boshi-xixixi/TraeSkill
当用户需要创建复杂的多组件 HTML Artifacts(包含 React、Tailwind CSS、shadcn/ui)时使用。此 Skill 用于需要状态管理、路由或 shadcn/ui 组件的复杂 Artifacts,不适用于简单的单文件 HTML/JSX。
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
creativetimofficial/ui
Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.
Hainrixz/editor-pro-max
Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.
shadcn-labs/shadcn-cssinjs
Migrate TailwindCSS to StyleX. An agent skill from shadcn-labs/shadcn-cssinjs.
sammcj/agentic-coding
A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…
sammcj/agentic-coding
A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.
sammcj/agentic-coding
A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS
sammcj/agentic-coding
Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.
sammcj/agentic-coding
Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.
sammcj/agentic-coding
You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.
Works with
Categories
Suite of tools for creating elaborate, multi-component claude.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui). Web Artifacts Builder V2 is an agent skill from sammcj/agentic-coding.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui).
Web Artifacts Builder V2 fits situations like: complex artefacts requiring state management; shadcn/ui components - not for simple single-file HTML/JSX artefacts.
Run `npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a claude-code`. Or copy the skill folder (Skills/web-artifacts-builder-v2 in sammcj/agentic-coding) into .claude/skills/web-artifacts-builder-v2 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a codex`. Or copy the skill folder (Skills/web-artifacts-builder-v2 in sammcj/agentic-coding) into .agents/skills/web-artifacts-builder-v2 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill web-artifacts-builder-v2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-artifacts-builder-v2, .gemini/skills/web-artifacts-builder-v2, .github/skills/web-artifacts-builder-v2 and .opencode/skills/web-artifacts-builder-v2 in your project.
Going by SKILL.md and its folder, Web Artifacts Builder V2 needs a shell for the scripts in its folder and the command-line tools its instructions call (bash and pnpm). Our summary lists: A Bash shell.
SKILL.md names 2 domains. As links in the text: ui.shadcn.com and tailwindcss.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Web Artifacts Builder V2 is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Web Artifacts Builder V2: Web Artifacts Builder (LeastBit/Claude_skills_zh-CN, 588 stars), Artifacts Builder (boshi-xixixi/TraeSkill, 275 stars), Web Artifacts Builder (anthropics/skills, 180k stars) and Creative Tim UI Blocks (creativetimofficial/ui, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 7, 2026.
Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.