Web Artifacts Builder
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.
为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。
$ npx skills add huanglvjing/spotpatch --skill spotpatch -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install huanglvjing/spotpatch spotpatch --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/huanglvjing/spotpatch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/spotpatch .claude/skills/spotpatch && 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 "spotpatch" agent skill from https://github.com/huanglvjing/spotpatch/tree/main/skills/spotpatch into .claude/skills/spotpatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spotpatch", 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/huanglvjing/spotpatch/tree/main/skills/spotpatchType 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 huanglvjing/spotpatch --skill spotpatch -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install huanglvjing/spotpatch spotpatch --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huanglvjing/spotpatch.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/spotpatch .agents/skills/spotpatch && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "spotpatch" agent skill from https://github.com/huanglvjing/spotpatch/tree/main/skills/spotpatch into .agents/skills/spotpatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spotpatch", 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 huanglvjing/spotpatch --skill spotpatch -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install huanglvjing/spotpatch spotpatch --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huanglvjing/spotpatch.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/spotpatch .cursor/skills/spotpatch && 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 "spotpatch" agent skill from https://github.com/huanglvjing/spotpatch/tree/main/skills/spotpatch into .cursor/skills/spotpatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spotpatch", 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/huanglvjing/spotpatch.git --path skills/spotpatch--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 huanglvjing/spotpatch --skill spotpatch -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install huanglvjing/spotpatch spotpatch --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huanglvjing/spotpatch.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/spotpatch .gemini/skills/spotpatch && 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 "spotpatch" agent skill from https://github.com/huanglvjing/spotpatch/tree/main/skills/spotpatch into .gemini/skills/spotpatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spotpatch", 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 huanglvjing/spotpatch spotpatchInstalls 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 huanglvjing/spotpatch --skill spotpatch -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/huanglvjing/spotpatch.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/spotpatch .github/skills/spotpatch && 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 "spotpatch" agent skill from https://github.com/huanglvjing/spotpatch/tree/main/skills/spotpatch into .github/skills/spotpatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spotpatch", 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 huanglvjing/spotpatch --skill spotpatch -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install huanglvjing/spotpatch spotpatch --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/huanglvjing/spotpatch.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/spotpatch .opencode/skills/spotpatch && 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 "spotpatch" agent skill from https://github.com/huanglvjing/spotpatch/tree/main/skills/spotpatch into .opencode/skills/spotpatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spotpatch", 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.
spotpatch为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。
Spotpatch is an agent skill from huanglvjing/spotpatch. 为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。
Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/product-reference.md`).
It sits in Frontend & Design, covering React components. It works with Vite, React, Next.js and npm. The repository describes itself as: Click any React UI element, jump to its exact JSX/TSX source, inspect proven API data flow, and prepare reviewable AI patches. Local-first and development-only. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6a43747. 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.
Shell commands in SKILL.md call:
pnpmnpxnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
npmjs.comspotpatch.devFrom 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.
Spotpatch loads about 998 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 42 tokens; SKILL.md has 295 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); files beside SKILL.md are not scanned.
The full file from huanglvjing/spotpatch at commit 6a43747, republished under its MIT licence (© huanglvjing). 295 words, ~998 tokens.
.claude/skills/spotpatch/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.把 React 页面中被点选的元素连接到精确源码和受边界约束的开发上下文。先判断用户需要的是了解产品、接入项目、使用工作流还是排查问题,再执行对应流程。
需要精确兼容范围、安全边界、命令和能力限制时,读取 references/product-reference.md。
读取 package.json、锁文件和 vite.config.*,确认:
>=20.19.0;>=5 <8;如果不满足正式支持范围,说明具体差异并停止宣称“正式支持”;只有用户明确接受实验性验证后才继续。
在项目根目录执行推荐初始化:
npx --yes @spotpatch/vite@latest setup检查生成结果。spotPatch(...) 必须位于 React 插件之前;有歧义的动态 Vite 配置应让初始化器安全失败,再人工审阅接入。
使用项目原有开发命令启动页面。点击右下角 Select element / 选择元素,或按 Mod+Shift+S。
展示依赖与配置 Diff,并运行可发现的类型检查或构建检查。不要替用户提交代码。
如果用户要求手动接入 npm 项目,可使用:
npm install --save-dev @spotpatch/vite@latest
npx spotpatch-vite init先明确告知:@spotpatch/next 是 0.x Public Preview,不在正式支持矩阵内;组件 Data Flow Beta 也不支持 Next.js。只有用户接受预览风险后继续。
检查 Node.js >=20.19.0,并把 Next.js >=15.3 <17、React 18/19 仅解释为候选 peer 范围。
优先遵循仓库当前的 Next.js 预览文档;pnpm 项目使用:
pnpm add --save-dev @spotpatch/next
pnpm exec spotpatch-next init
pnpm exec spotpatch-next check
pnpm dev确认开发脚本通过 spotpatch-next dev 启动,并检查 next.config.* 与 instrumentation-client.* 的生成结果。
遇到复杂 CommonJS 配置、混合 root/src Router、冲突 Loader 或 rewrite 时安全停止,说明需要人工接入。
按以下顺序检查,避免直接重装:
spotpatch-next dev 启动。spotpatch-root。src/**/*.jsx 或 src/**/*.tsx 范围,或被自定义 include/exclude 排除。editor: "cursor" 或 editor: "vscode"。报告问题时给出最小复现信息:框架与版本、React 与 Node 版本、包管理器、配置片段、启动命令、可复现步骤和完整错误文本;发送前移除密钥、Cookie、Token、响应体及业务隐私数据。
© huanglvjing, MIT. 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 2 other files (references) in skills/spotpatch of huanglvjing/spotpatch.
Open the folder on GitHubat commit 6a43747
Spotpatch 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 |
|---|---|---|---|---|---|---|
| Spotpatch this skillhuanglvjing/spotpatch | 134 | — | ~998 | Automated safety check: Pass | MIT | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Chakra UI v3 Builderchakra-ui/chakra-ui | 41k | — | ~3.1k | Automated safety check: Pass | MIT | |
| GSAP for Reactgreensock/gsap-skills | 16k | 4 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Creative Tim UI Blockscreativetimofficial/ui | 12k | — | ~2.1k | Automated safety check: Notes | MIT | |
| Fast Typescript Checkinternet-development/www-sacred | 1.6k | — | ~4.3k | Automated safety check: Pass | MIT |
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.
chakra-ui/chakra-ui
Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.
greensock/gsap-skills
Shows how to run GSAP animations in React and Next.js with the useGSAP hook, refs, scoped selectors and automatic cleanup on unmount.
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.
internet-development/www-sacred
Keep www-sacred's TypeScript fast to type-check and fast to run.
spokvulcan/poker-planning
Creates or adds Convex to an app. An agent skill from spokvulcan/poker-planning.
Categories
为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。. Spotpatch is an agent skill from huanglvjing/spotpatch.
Spotpatch fits situations like: tasks that involve React components.
Run `npx skills add huanglvjing/spotpatch --skill spotpatch -a claude-code`. Or copy the skill folder (skills/spotpatch in huanglvjing/spotpatch) into .claude/skills/spotpatch in your project. Claude Code loads it when a task matches its description.
Run `npx skills add huanglvjing/spotpatch --skill spotpatch -a codex`. Or copy the skill folder (skills/spotpatch in huanglvjing/spotpatch) into .agents/skills/spotpatch 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 huanglvjing/spotpatch --skill spotpatch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spotpatch, .gemini/skills/spotpatch, .github/skills/spotpatch and .opencode/skills/spotpatch in your project.
Going by SKILL.md and its folder, Spotpatch needs the command-line tools its instructions call (pnpm, npx and npm). Our summary lists: Node.js.
SKILL.md names 2 domains. As links in the text: npmjs.com and spotpatch.dev. 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. Review the folder before installing.
Spotpatch is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 998 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Spotpatch: Web Artifacts Builder (anthropics/skills, 180k stars), Chakra UI v3 Builder (chakra-ui/chakra-ui, 41k stars), GSAP for React (greensock/gsap-skills, 16k 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.
huanglvjing (a GitHub user) maintains it in huanglvjing/spotpatch, which has 134 GitHub stars. The repository was last updated on September 28, 2026.
Source: huanglvjing/spotpatch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.