Spotpatch
huanglvjing/spotpatch
为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。
Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM).
$ npx skills add vana-com/personal-server --skill npm-library-setup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vana-com/personal-server npm-library-setup --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/vana-com/personal-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/npm-library-setup .claude/skills/npm-library-setup && 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 "npm-library-setup" agent skill from https://github.com/vana-com/personal-server/tree/main/.agents/skills/npm-library-setup into .claude/skills/npm-library-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "npm-library-setup", 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/vana-com/personal-server/tree/main/.agents/skills/npm-library-setupType 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 vana-com/personal-server --skill npm-library-setup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vana-com/personal-server npm-library-setup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vana-com/personal-server.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/npm-library-setup .agents/skills/npm-library-setup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "npm-library-setup" agent skill from https://github.com/vana-com/personal-server/tree/main/.agents/skills/npm-library-setup into .agents/skills/npm-library-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "npm-library-setup", 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 vana-com/personal-server --skill npm-library-setup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vana-com/personal-server npm-library-setup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vana-com/personal-server.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/npm-library-setup .cursor/skills/npm-library-setup && 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 "npm-library-setup" agent skill from https://github.com/vana-com/personal-server/tree/main/.agents/skills/npm-library-setup into .cursor/skills/npm-library-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "npm-library-setup", 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/vana-com/personal-server.git --path .agents/skills/npm-library-setup--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 vana-com/personal-server --skill npm-library-setup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vana-com/personal-server npm-library-setup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vana-com/personal-server.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/npm-library-setup .gemini/skills/npm-library-setup && 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 "npm-library-setup" agent skill from https://github.com/vana-com/personal-server/tree/main/.agents/skills/npm-library-setup into .gemini/skills/npm-library-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "npm-library-setup", 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 vana-com/personal-server npm-library-setupInstalls 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 vana-com/personal-server --skill npm-library-setup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vana-com/personal-server.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/npm-library-setup .github/skills/npm-library-setup && 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 "npm-library-setup" agent skill from https://github.com/vana-com/personal-server/tree/main/.agents/skills/npm-library-setup into .github/skills/npm-library-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "npm-library-setup", 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 vana-com/personal-server --skill npm-library-setup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vana-com/personal-server npm-library-setup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vana-com/personal-server.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/npm-library-setup .opencode/skills/npm-library-setup && 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 "npm-library-setup" agent skill from https://github.com/vana-com/personal-server/tree/main/.agents/skills/npm-library-setup into .opencode/skills/npm-library-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "npm-library-setup", 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.
npm-library-setupComprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM).
npm Library Setup is an agent skill from vana-com/personal-server. Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM). Use when setting up npm packages, configuring ESM, TypeScript packages, or React component libraries.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 23 other files, including reference files (for example `examples/example-package/package.json`, `examples/example-package/src/helpers.js` and `examples/example-package/src/index.js`).
It sits in Frontend & Design, covering React components. It works with npm and TypeScript. The repository describes itself as: TypeScript implementation of the Vana Data Portability Protocol's Personal Server. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0b67a90. 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 script files (TypeScript and JavaScript, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comvitest.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.
npm Library Setup loads about 1.1k tokens when it runs, and up to ~9.3k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 360 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 vana-com/personal-server at commit 0b67a90, republished under its MIT licence (© vana-com). 360 words, ~1,084 tokens.
.claude/skills/npm-library-setup/SKILL.md (or your agent's skills folder). This skill also uses 16 other files; get the full folder from GitHub.This skill provides comprehensive guidance on setting up an npm library with package.json, with a preference for ES Modules (ESM).
This skill helps you create npm packages that:
"type": "module"exports field (no deprecated module field)Use when:
Categories covered:
Initialize your package:
npm init -yConfigure for ESM by adding "type": "module" to package.json
Install build and test tools:
npm install -D bunchee vitestCreate your source files in src/ and run npm run build
{
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "bunchee",
"test": "vitest",
"test:run": "vitest run"
},
"engines": {
"node": ">=20"
}
}Note: Use the oldest currently-maintained LTS version (check Node.js Release Schedule).
"type": "module" for pure ESM packagesexports field instead of deprecated module field.js extensions in imports (even in TypeScript)Install TypeScript and configure:
npm install -D typescript @types/nodeCreate tsconfig.json:
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "NodeNext",
"declaration": true,
"strict": true
}
}Bunchee automatically compiles TypeScript and generates .d.ts files.
Install React as dev dependency:
npm install -D react @types/reactConfigure peerDependencies:
{
"peerDependencies": {
"react": "*"
}
}exports field (no deprecated module field).js)// Named exports
export function greet(name) {
return "Hello, " + name + "!";
}
// Default export
export default class MyLibrary {}
// Import
import { greet } from "./module.js";
import MyLibrary from "./MyLibrary.js";Important: Always use .js extension in imports, even in TypeScript files.
my-package/
├── package.json
├── src/
│ ├── index.js # or index.ts
│ └── helpers.js
├── dist/ # Build output
└── README.mdSee references/ directory for detailed guides:
See examples/ directory for complete working examples:
© vana-com, 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 16 other files (references) in .agents/skills/npm-library-setup of vana-com/personal-server.
Open the folder on GitHubat commit 0b67a90
npm Library Setup 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 |
|---|---|---|---|---|---|---|
| npm Library Setup this skillvana-com/personal-server | 116 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Spotpatchhuanglvjing/spotpatch | 134 | — | ~998 | Automated safety check: Pass | MIT | |
| Frontendstreamband/hydra-srt | 146 | — | ~582 | Automated safety check: Pass | Apache-2.0 | |
| Typescriptccusage/ccusage | 19k | — | ~696 | Automated safety check: Pass | Custom licence | |
| Create Custom Widgetmendixlabs/mxcli | 128 | — | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| React Emailviclafouch/meme-studio | 110 | 2 repos | ~3.6k | Automated safety check: Pass | MIT |
huanglvjing/spotpatch
为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。
streamband/hydra-srt
A skill your agent uses for frontend work in webapp (React/TypeScript, UI implementation, tests, and refactors).
ccusage/ccusage
Guides ccusage TypeScript and JavaScript work. An agent skill from ccusage/ccusage.
mendixlabs/mxcli
Build a Mendix pluggable widget from scratch with React and TypeScript and package it as an .mpk.
viclafouch/meme-studio
A skill your agent uses when creating HTML email templates with React components - welcome emails, password resets, notifications, order confirmations, newsletters, or transactional emails.
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.
vana-com/personal-server
This skill should be used when the user asks to "optimize TypeScript performance", "speed up tsc compilation", "configure tsconfig.json", "fix type errors", "improve async patterns", or encounters…
vana-com/personal-server
Efficiently develop Hono applications using Hono CLI. An agent skill from vana-com/personal-server.
Works with
Categories
Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM). npm Library Setup is an agent skill from vana-com/personal-server.json, with a preference for ES Modules (ESM).
npm Library Setup fits situations like: setting up npm packages; configuring ESM; typeScript packages; React component libraries.
Run `npx skills add vana-com/personal-server --skill npm-library-setup -a claude-code`. Or copy the skill folder (.agents/skills/npm-library-setup in vana-com/personal-server) into .claude/skills/npm-library-setup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vana-com/personal-server --skill npm-library-setup -a codex`. Or copy the skill folder (.agents/skills/npm-library-setup in vana-com/personal-server) into .agents/skills/npm-library-setup 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 vana-com/personal-server --skill npm-library-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/npm-library-setup, .gemini/skills/npm-library-setup, .github/skills/npm-library-setup and .opencode/skills/npm-library-setup in your project.
Going by SKILL.md and its folder, npm Library Setup needs TypeScript and JavaScript for the scripts in its folder and the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md names 2 domains. As links in the text: github.com and vitest.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.
npm Library Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k 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 8.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with npm Library Setup: Spotpatch (huanglvjing/spotpatch, 134 stars), Frontend (streamband/hydra-srt, 146 stars), Typescript (ccusage/ccusage, 19k stars) and Create Custom Widget (mendixlabs/mxcli, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vana-com (a GitHub organization) maintains it in vana-com/personal-server, which has 116 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 7, 2026.
Source: vana-com/personal-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.