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.
Configure Sanity libraries with @sanity/tsdown-config, including its publishing defaults, React transforms, CSS extraction, TSDoc checks, and advanced tsdown composition.
$ npx skills add sanity-io/sanity --skill sanity-tsdown-config -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sanity-io/sanity sanity-tsdown-config --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/sanity-io/sanity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sanity-tsdown-config .claude/skills/sanity-tsdown-config && 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 "sanity-tsdown-config" agent skill from https://github.com/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-config into .claude/skills/sanity-tsdown-config/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sanity-tsdown-config", 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/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-configType 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 sanity-io/sanity --skill sanity-tsdown-config -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sanity-io/sanity sanity-tsdown-config --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/sanity.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/sanity-tsdown-config .agents/skills/sanity-tsdown-config && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sanity-tsdown-config" agent skill from https://github.com/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-config into .agents/skills/sanity-tsdown-config/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sanity-tsdown-config", 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 sanity-io/sanity --skill sanity-tsdown-config -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sanity-io/sanity sanity-tsdown-config --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/sanity.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/sanity-tsdown-config .cursor/skills/sanity-tsdown-config && 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 "sanity-tsdown-config" agent skill from https://github.com/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-config into .cursor/skills/sanity-tsdown-config/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sanity-tsdown-config", 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/sanity-io/sanity.git --path .agents/skills/sanity-tsdown-config--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 sanity-io/sanity --skill sanity-tsdown-config -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sanity-io/sanity sanity-tsdown-config --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/sanity.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/sanity-tsdown-config .gemini/skills/sanity-tsdown-config && 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 "sanity-tsdown-config" agent skill from https://github.com/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-config into .gemini/skills/sanity-tsdown-config/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sanity-tsdown-config", 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 sanity-io/sanity sanity-tsdown-configInstalls 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 sanity-io/sanity --skill sanity-tsdown-config -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sanity-io/sanity.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/sanity-tsdown-config .github/skills/sanity-tsdown-config && 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 "sanity-tsdown-config" agent skill from https://github.com/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-config into .github/skills/sanity-tsdown-config/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sanity-tsdown-config", 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 sanity-io/sanity --skill sanity-tsdown-config -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sanity-io/sanity sanity-tsdown-config --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/sanity.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/sanity-tsdown-config .opencode/skills/sanity-tsdown-config && 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 "sanity-tsdown-config" agent skill from https://github.com/sanity-io/sanity/tree/main/.agents/skills/sanity-tsdown-config into .opencode/skills/sanity-tsdown-config/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sanity-tsdown-config", 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.
sanity-tsdown-configConfigure Sanity libraries with @sanity/tsdown-config, including its publishing defaults, React transforms, CSS extraction, TSDoc checks, and advanced tsdown composition.
Sanity Tsdown Config is an agent skill from sanity-io/sanity, published by the product's own GitHub organization. Configure Sanity libraries with @sanity/tsdown-config, including its publishing defaults, React transforms, CSS extraction, TSDoc checks, and advanced tsdown composition. Use when creating or editing tsdown.config.ts for a Sanity package, or when deciding between PackageOptions and stock tsdown options.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design. It works with React. The repository describes itself as: Sanity Studio – Rapidly configure content workspaces powered by structured content. The licence is MIT.
Read from SKILL.md and the folder at commit efa15fb. 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:
pnpmnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm and npx, which can reach the network depending on how they are called.
From 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.
Sanity Tsdown Config loads about 2.3k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 808 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 sanity-io/sanity at commit efa15fb, republished under its MIT licence (© sanity-io). 808 words, ~2,327 tokens.
.claude/skills/sanity-tsdown-config/SKILL.md (or your agent's skills folder).@sanity/tsdown-configUse this skill for Sanity's opinionated wrapper around tsdown. Use the separately installable
tsdown skill for generic tsdown concepts and options:
npx skills add rolldown/tsdown --skill tsdownThis skill owns the wrapper's defaults and integration points. Do not replace the wrapper with a
raw tsdown config unless the package explicitly does not want Sanity's library conventions.
@sanity/tsdown-config 0.28.x requires Node.js ^22.18.0 || ^24.11.0 || >=26.0.0.
pnpm add -D @sanity/tsdown-config tsdownCreate tsdown.config.ts:
import {defineConfig} from '@sanity/tsdown-config'
export default defineConfig({tsconfig: 'tsconfig.dist.json'})Prefer a distribution tsconfig that includes only publishable source. Let package metadata drive
declaration generation: tsdown enables dts when package.json has a types field or a types
condition in exports.
Build and watch with tsdown:
pnpm tsdown
pnpm tsdown --watchDo not restate these unless intentionally overriding them:
| Behavior | @sanity/tsdown-config default |
|---|---|
| Platform | 'neutral'; also externalizes node: built-ins and restores module/main resolution for inlined dependencies without exports |
| Format | 'esm' |
| Source maps | true (stock tsdown defaults to false) |
| Package exports | Always generated; in pnpm projects, devExports: true points local exports at source and puts built exports in publishConfig |
| Package validation | publint: true |
| Dependency subpaths | deps.resolveDepSubpath: true |
| Circular dependencies | checks.circularDependency: true; declaration-only cycles are suppressed, runtime cycles still warn |
| Minification | Compression/dead-code elimination only; no mangling or whitespace codegen; function and class names are preserved |
| Report | {gzip: false} |
| Cleaning | Stock tsdown default: clean outDir (dist) |
| Output directory | Stock tsdown default: dist |
| Chunk names | Keep tsdown's hashed default |
The neutral platform is deliberate for isomorphic packages. Do not switch to 'node' merely
because some source imports Node APIs: 'node' can emit module-scope CommonJS interop that crashes
browser bundles. Set a specific platform only when the package is truly runtime-specific.
The exports feature rewrites package.json on every build, including when CI=true. Review the
resulting local exports and publishConfig.exports.
PackageOptions firstThe wrapper directly exposes common package options: tsconfig, entry, format, dts, define,
target, outDir, clean, platform, cwd, exports, sourcemap, deps, css,
vanillaExtract, reactCompiler, styledComponents, bundleAnalyzer, tsdoc, and
suppressWarnings.
Add only what the package needs:
import {defineConfig} from '@sanity/tsdown-config'
export default defineConfig({
tsconfig: 'tsconfig.dist.json',
deps: {neverBundle: [/^some-package(\/|$)/]},
tsdoc: true,
})Under the neutral platform, user deps.neverBundle entries are appended to the built-in
/^node:/ external rather than replacing it. Strings use tsdown matching semantics; use a regular
expression when a dependency's subpaths must also match.
The default implementation is Oxc and requires:
pnpm add -D oxc-transform-reactexport default defineConfig({
tsconfig: 'tsconfig.dist.json',
reactCompiler: true,
})Use reactCompiler: {target: '18'} for compiler options. Choose the Babel reference
implementation only for features the Oxc port does not support, such as a custom
jsxImportSource, a logger, or function-valued sources:
pnpm add -D @rolldown/plugin-babel @babel/core babel-plugin-react-compilerreactCompiler: {target: '19', transform: 'babel'}For an isomorphic component library, reactCompiler: {target: '19', reactServer: true} emits an
additional uncompiled react-server variant and adds that export condition. This is experimental,
creates two module instances across conditions, and is unnecessary for client-only packages that
ship 'use client'.
Set styledComponents: true to add display names and stable component IDs and to minify tagged
CSS. This uses Oxc's native transform; do not install babel-plugin-styled-components.
vanillaExtract: true extracts .css.ts files to dist/bundle.css.css: {...} enables plain CSS, CSS modules, preprocessors, and PostCSS through the optional
@tsdown/css peer. Install it with pnpm add -D @tsdown/css.true, use Sanity browser targets when the JS target has no
browsers, and publish a conditional CSS export with a no-op Node shim.bundle.css; css uses style.css.package.json#sideEffects, for example "sideEffects": ["*.css"].Install @vanilla-extract/css when authoring .css.ts files. It is separate from the tsdown
plugin bundled by this wrapper.
Keep analysis opt-in:
bundleAnalyzer: process.env.ENABLE_BUNDLE_ANALYZER === 'true'true emits the LLM-friendly dist/analyze-data.md. Exclude the report from package.json#files;
it is not a publishable artifact.
Set tsdoc: true to run API Extractor after the build for TSDoc syntax and release-tag checks.
This is off by default. It validates emitted entry declarations; it is not a replacement for
TypeScript type-checking.
mergeConfigPackageOptions is intentionally smaller than UserConfig. For a stock tsdown option it does not
expose, await the Sanity config and merge over it:
import {defineConfig} from '@sanity/tsdown-config'
import {mergeConfig} from 'tsdown'
export default mergeConfig(await defineConfig({tsconfig: 'tsconfig.dist.json'}), {
hash: false,
})Use this pattern for advanced tsdown or Rolldown behavior, including overriding
checks.circularDependency or the wrapper's compress-only minify. mergeConfig deep-merges
plain objects, appends plugins, and replaces scalars and non-plugin arrays.
With the @sanity/tsconfig/isolated-declarations preset, annotate the export to avoid a
non-portable inferred type:
import {defineConfig} from '@sanity/tsdown-config'
import type {UserConfig} from 'tsdown'
export default defineConfig() satisfies Promise<UserConfig>Use Promise<UserConfig[]> when reactCompiler.reactServer is enabled.
exe; this wrapper targets publishable libraries, not standalone executables.devtools; it is not part of the wrapper's package API or defaults.Use @sanity/pkg-utils and pkg build when a conventional Sanity package already describes its
entries and runtime conditions in package.json#exports. Use this wrapper directly when the build
needs arbitrary tsdown options, multiple configs, reactCompiler.reactServer, or behavior outside
pkg-utils' package.config.ts surface.
© sanity-io, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/sanity-tsdown-config of sanity-io/sanity.
Open the folder on GitHubat commit efa15fb
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in sanity-io/sanity, which our catalogue first saw on October 7, 2026.
Sanity Tsdown Config 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 |
|---|---|---|---|---|---|---|
| Sanity Tsdown Config this skillsanity-io/sanity | 6.4k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Web Artifacts Builderanthropics/skills | 180k | 40 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| React Doctormakeplane/plane | 61k | 12 repos | ~657 | Automated safety check: Pass | AGPL-3.0 | |
| React Router Developmentremix-run/react-router | 57k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| React UI State PatternsChrisWiles/claude-code-showcase | 6.1k | 8 repos | ~1.6k | Automated safety check: Pass | None | |
| GSAP Core Animationgreensock/gsap-skills | 16k | 3 repos | ~3.7k | 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.
makeplane/plane
Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.
remix-run/react-router
Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.
ChrisWiles/claude-code-showcase
Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.
greensock/gsap-skills
Covers the GSAP core API for tweens, easing, staggers, defaults and matchMedia, and when to choose GSAP over CSS animations or other JavaScript animation libraries.
lobehub/lobehub
Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.
sanity-io/sanity
Automates browser interactions for web testing, form filling, screenshots, and data extraction.
sanity-io/sanity
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities.
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
sanity-io/sanity
Add existing screenshots or screen recordings to a GitHub pull request as a before/after or preview block.
sanity-io/sanity
React DevTools CLI for AI agents. An agent skill from sanity-io/sanity.
sanity-io/sanity
Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.
Works with
Categories
Configure Sanity libraries with @sanity/tsdown-config, including its publishing defaults, React transforms, CSS extraction, TSDoc checks, and advanced tsdown composition. Sanity Tsdown Config is an agent skill from sanity-io/sanity, published by the product's own GitHub organization. Configure Sanity libraries with @sanity/tsdown-config, including its publishing defaults, React transforms, CSS extraction, TSDoc checks, and advanced tsdown composition.
Sanity Tsdown Config fits situations like: editing tsdown.config.ts for a Sanity package; deciding between PackageOptions and stock tsdown options.
Run `npx skills add sanity-io/sanity --skill sanity-tsdown-config -a claude-code`. Or copy the skill folder (.agents/skills/sanity-tsdown-config in sanity-io/sanity) into .claude/skills/sanity-tsdown-config in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sanity-io/sanity --skill sanity-tsdown-config -a codex`. Or copy the skill folder (.agents/skills/sanity-tsdown-config in sanity-io/sanity) into .agents/skills/sanity-tsdown-config 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 sanity-io/sanity --skill sanity-tsdown-config -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sanity-tsdown-config, .gemini/skills/sanity-tsdown-config, .github/skills/sanity-tsdown-config and .opencode/skills/sanity-tsdown-config in your project.
Going by SKILL.md and its folder, Sanity Tsdown Config needs the command-line tools its instructions call (pnpm and npx). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. 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.
Sanity Tsdown Config is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.3k 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 Sanity Tsdown Config: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), React Router Development (remix-run/react-router, 57k stars) and React UI State Patterns (ChrisWiles/claude-code-showcase, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sanity-io (a GitHub organization, an official publisher) maintains it in sanity-io/sanity, which has 6,352 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on October 9, 2026.
Source: sanity-io/sanity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.