{"_id":"@catcuts-skills/hello-world","_rev":"8-173e22d24d876652447074c37f089f11","name":"@catcuts-skills/hello-world","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.3":{"name":"@catcuts-skills/hello-world","version":"1.0.3","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.3","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"449be6e49034dce9b24b8749ac27f0bd28339365","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.3.tgz","fileCount":7,"integrity":"sha512-EgCzWpCEY2OOncQd/+icXSqHYudLUgBBFv/2Dgdu707GKfRe31Rw0ulddhvLLP1IePi3zFWIUNDdRH53ox/7GA==","signatures":[{"sig":"MEYCIQD4hRyU93dWaKFmn3h2tWJHzxymzqmiUQMzCX4wVWD/6AIhAPDmhDwFX3m/Tr5a/fFFnae3e0+g9k+/ooiUAdD4aPFF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17031},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"c686a89382925fb5ad665df8e950fc21f756b269","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.3_1769481442710_0.6190995496802609","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@catcuts-skills/hello-world","version":"1.0.4","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.4","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"309b08e55512d148bde9662f55dca6a31c1985ef","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.4.tgz","fileCount":7,"integrity":"sha512-WKjtw1pWGAZQ4eT6KIYfWktin7CBFoUN7er/5BQuZLwNeMrYud0pOlgiiJ5TSo9D06gSWESKL8DeXMRnbtsx0g==","signatures":[{"sig":"MEUCIQDtiLn1IUXcdGZcRGHq2rEbD7lCuV6yEYvUXtbik9mQhwIgG3DzNB0fWYsbZq//3/lfUEa5rNZENN9oNeZ5uMC+7XY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20626},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"1b131e0f5dfe5a96f0436f48e3c904d639ea7ba4","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.4_1769510942972_0.3656676251306692","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@catcuts-skills/hello-world","version":"1.0.5","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.5","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"fb5eef85e577f88d8c808cc03168503607b3cabd","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.5.tgz","fileCount":7,"integrity":"sha512-ndodwjY9b6qsM0jWG5/1rxB34MWr11FQq0nzU2Q70IUooV3YBnVaJUwvGp+/y93JlWNr3UfO8vuhQtYEytNLsg==","signatures":[{"sig":"MEUCIQCmJYx8a18WLh8robSWvQVPZaie+DI3vBok/hbLxW/HdQIgGKTBaU1KhhGn0WjIBgIUiVdTeA9gMjT28aGvC80rx9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22729},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"1b131e0f5dfe5a96f0436f48e3c904d639ea7ba4","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.5_1769526015907_0.22531390334119084","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@catcuts-skills/hello-world","version":"1.0.6","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.6","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"6890c53727cd0349a0fa51d282d37e4d3e33e915","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.6.tgz","fileCount":7,"integrity":"sha512-69PVC/wxOiB/xGP7tqhIbOO4kkOxohvXAn2xdjXALlfd3+gsn2YmWZPCs0vH9pDEXzt7HCmSwx7C82hOVztgOw==","signatures":[{"sig":"MEQCIA9dMwpspGv8EIl+H+3HCnb/hANgSCwoSy3XGOakCPklAiAdW639TacZDi2kPHHD20OX1FXqTtLblQGcbXnxuBYn9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23003},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"1b131e0f5dfe5a96f0436f48e3c904d639ea7ba4","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global","uninstall:local":"node scripts/uninstall-skill.js --local","uninstall:global":"node scripts/uninstall-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.6_1769527177172_0.4625781185493598","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@catcuts-skills/hello-world","version":"1.0.7","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.7","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"24847acb64611db9851fd4d4beabb1418129105a","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.7.tgz","fileCount":7,"integrity":"sha512-xLzOMvLV+CIZqsecTmg3e7w8qGrrIjSVuxBFJZtpWa6AmAEslzfhJ5eDcn7PX+xB9hxzbcMAHYxO0AzrPXOuLQ==","signatures":[{"sig":"MEUCICQRYUBLbufbt8Bs1l+AXvo2YuhItiSTGmNEbDWbgXJeAiEAjSw17E6KCAqk3U7sW9n56rXIiEXtFZB6UZWWRop4fHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24004},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"fd3b60f992911cb457525c7e2f7a19f2383032f3","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js || exit 0","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global","uninstall:local":"node scripts/uninstall-skill.js --local","uninstall:global":"node scripts/uninstall-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.7_1769528656168_0.11296332498743666","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@catcuts-skills/hello-world","version":"1.0.8","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.8","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"02c50488bb6f099ce76cf4f97a186a33083daf6e","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.8.tgz","fileCount":7,"integrity":"sha512-fxz5QA0p0eaWw7xtci8ejCeuC0COvjuHI5mTYAts97jknZCeOM3G8ba7rlFwSUjKpr7t0vOkyYGvfUzilqo25g==","signatures":[{"sig":"MEYCIQDuj1V26U1zSN4QWSUBW875Xx6f9JUpyIaH7I2O24QZiAIhALPL8GHjmCiAleBPWmvYgpcFGzlCsO0/b8BgBjQiYBEK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24010},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"639628483997006a60a91e269c67e6dd36526415","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js || exit 0","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global","uninstall:local":"node scripts/uninstall-skill.js --local","uninstall:global":"node scripts/uninstall-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.8_1769566550302_0.17713134623593496","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@catcuts-skills/hello-world","version":"1.0.9","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","_id":"@catcuts-skills/hello-world@1.0.9","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"dist":{"shasum":"d49f5fe9239fe79d863b6c4fca50be4d91271dba","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.9.tgz","fileCount":7,"integrity":"sha512-cBnNqzfuN7XzSJn+c3XxrDb5wnaBhNpqBFghlf8rqIPAQ+GfyEezCGlrP3QwJod3Fdm8aKKXlm56vuRj6ktnog==","signatures":[{"sig":"MEUCIDJpXqQW5SaeAY0YDrIJgyYjnuSn4PdHrwiYJyIHFA7/AiEAm3vAUjePsxY9NgtSJ7ynIvqIgnPVb7P8FEuo8pnZFII=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23998},"main":"index.js","engines":{"node":">=18.0.0"},"gitHead":"cd4a5f70e409005397df87bcc90393bf31f2d2f5","scripts":{"lint":"echo 'Add your linting commands here'","test":"node scripts/install-skill.js --dry-run","postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js || exit 0","install:local":"node scripts/install-skill.js --local","install:global":"node scripts/install-skill.js --global","uninstall:local":"node scripts/uninstall-skill.js --local","uninstall:global":"node scripts/uninstall-skill.js --global"},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"repository":{"url":"git+https://github.com/catcuts/agent-skills.git","type":"git","directory":"skills/hello-world"},"_npmVersion":"10.9.3","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"optionalDependencies":{"skills":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hello-world_1.0.9_1769584391843_0.31249960572424573","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@catcuts-skills/hello-world","version":"1.0.10","description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","main":"index.js","scripts":{"postinstall":"node scripts/install-skill.js","preuninstall":"node scripts/uninstall-skill.js || exit 0","test":"node scripts/install-skill.js --dry-run","install:global":"node scripts/install-skill.js --global","install:local":"node scripts/install-skill.js --local","uninstall:global":"node scripts/uninstall-skill.js --global","uninstall:local":"node scripts/uninstall-skill.js --local","lint":"echo 'Add your linting commands here'"},"keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"author":{"name":"catcuts"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/catcuts/agent-skills.git","directory":"skills/hello-world"},"bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","engines":{"node":">=18.0.0"},"_id":"@catcuts-skills/hello-world@1.0.10","gitHead":"4604bdedb0c2f9d563d4870eeb55e94f17d706ec","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-8y3ZJngdQGzuJAojWhC8J4yMrx8RJp0703qiY5a9nwi0swTUf/fjv52XfE/N/CaDwK1G5ywei+HSB0xqg3UIOw==","shasum":"0b6de0046643255af6918ee856fe0b3188f68cb5","tarball":"https://registry.npmjs.org/@catcuts-skills/hello-world/-/hello-world-1.0.10.tgz","fileCount":7,"unpackedSize":24006,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB4mZ5UcIdh2Z4+EVQ6Leck1TQ5aVsqofTmsCUma+gGHAiA2UDamND9k1ujFBKN44zvLHERO7ozrn1gBhFJ31k2wpw=="}]},"_npmUser":{"name":"catcuts","email":"354151733@qq.com"},"directories":{},"maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hello-world_1.0.10_1769594144760_0.1342050013666194"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-27T02:37:22.648Z","modified":"2026-01-28T09:55:45.153Z","1.0.3":"2026-01-27T02:37:22.857Z","1.0.4":"2026-01-27T10:49:03.117Z","1.0.5":"2026-01-27T15:00:16.045Z","1.0.6":"2026-01-27T15:19:37.326Z","1.0.7":"2026-01-27T15:44:16.311Z","1.0.8":"2026-01-28T02:15:50.512Z","1.0.9":"2026-01-28T07:13:11.990Z","1.0.10":"2026-01-28T09:55:44.987Z"},"bugs":{"url":"https://github.com/catcuts/agent-skills/issues"},"author":{"name":"catcuts"},"license":"MIT","homepage":"https://github.com/catcuts/agent-skills/tree/main/skills/hello-world#readme","keywords":["claude-code","skill","hello-world","getting-started","environment-check"],"repository":{"type":"git","url":"git+https://github.com/catcuts/agent-skills.git","directory":"skills/hello-world"},"description":"简单的 Hello World 示例技能，用于验证技能安装是否成功。显示欢迎信息、环境信息和使用示例。","maintainers":[{"name":"catcuts","email":"354151733@qq.com"}],"readme":"# Hello World Skill\n\n简单的 Hello World 示例技能，用于验证 Claude Code 技能安装是否成功。\n\n## 项目简介\n\n这是一个入门级的 Claude Code 技能示例，旨在帮助新用户：\n\n- 验证技能系统是否正常工作\n- 了解技能的基本结构和安装流程\n- 检查开发环境配置（Node.js、npm）\n\n## 功能特性\n\n- **欢迎信息**：显示友好的欢迎消息\n- **环境检查**：自动检测并显示 Node.js 和 npm 版本\n- **路径验证**：确认技能文件已正确安装\n- **使用示例**：提供下一步学习建议\n\n## 安装方法\n\n### 快速安装\n\n从 npm 安装包时会自动注册 skill 到 Opencode、Claude Code、Codex、Cursor 及其他 [23 个工具](https://github.com/vercel-labs/add-skill?tab=readme-ov-file#supported-agents)。感谢 [Vercel 开源的 skills 管理工具](https://github.com/vercel-labs/skills)🌹\n\n```bash\n# 全局安装（推荐）\nnpm install -g @catcuts-skills/hello-world\n\n# 项目级安装\nnpm install @catcuts-skills/hello-world\n```\n\n### 本地开发安装\n\n如果正在开发本 skill，可以使用 npm scripts 手动安装：\n\n```bash\n# 全局安装\nnpm run install:global\n\n# 项目级安装\nnpm run install:local\n```\n\n### 手动安装\n\n如果自动安装失败，可以手动运行：\n\n```bash\n# 全局安装\nnpx skills . -a claude-code -g -y\n\n# 项目级安装\nnpx skills . -a claude-code -y\n```\n\n**安装范围说明**:\n\n- **全局**: 安装到用户目录 `~/.claude/skills/hello-world`，所有项目可用\n- **项目级**: 安装到项目目录 `.claude/skills/hello-world`，仅当前项目可用\n\n### 测试安装\n\n运行测试以验证安装配置（不会实际安装）：\n\n```bash\nnpm test\n```\n\n### 卸载\n\n**重要**：由于 npm 的限制，全局卸载时 preuninstall hook 可能不会执行。请按照以下步骤正确卸载：\n\n#### 方式 1：使用 npm scripts（推荐）\n\n```bash\n# 全局卸载\nnpm run uninstall:global\nnpm uninstall -g @catcuts-skills/hello-world\n\n# 项目级卸载\nnpm run uninstall:local\nnpm uninstall @catcuts-skills/hello-world\n```\n\n#### 方式 2：手动清理（如果方式 1 失败）\n\n```bash\n# 1. 清理技能文件\nrm -rf ~/.claude/skills/hello-world\nrm -rf ~/.agents/skills/hello-world\n\n# 2. 卸载 npm 包\nnpm uninstall -g @catcuts-skills/hello-world\n```\n\n**Windows PowerShell**:\n```powershell\n# 1. 清理技能文件\nRemove-Item -Recurse -Force \"$env:USERPROFILE\\.claude\\skills\\hello-world\"\nRemove-Item -Recurse -Force \"$env:USERPROFILE\\.agents\\skills\\hello-world\"\n\n# 2. 卸载 npm 包\nnpm uninstall -g @catcuts-skills/hello-world\n```\n\n#### 为什么需要两步？\n\nnpm 的 `preuninstall` hook 在全局卸载时**不保证被执行**，这是 npm 的已知限制。因此需要先手动清理技能文件，再卸载 npm 包。\n\n## 使用示例\n\n安装完成后，在 Claude Code 中输入：\n\n```\nhello-world\n```\n\n**预期输出**：\n\n```\n✨ Hello World Skill 已成功安装！\n\n这是你的第一个 Claude Code 技能。让我们验证一下环境配置是否正确。\n\n环境信息：\nNode.js 版本: v20.x.x\nnpm 版本: 10.x.x\n当前工作目录: /your/current/path\n当前日期时间: 2026-01-26 10:30:00\n\n✓ 技能文件已正确安装\n\n🎉 恭喜！你的技能系统运行正常。\n\n下一步建议：\n1. 探索更多技能：访问 https://github.com/catcuts/agent-skills\n2. 创建自定义技能：参考本技能的结构创建你自己的技能\n3. 了解更多 Claude Code 功能：查看官方文档\n\n技术信息：\n- 技能名称：hello-world\n- 版本：1.0.0\n- 作者：catcuts\n```\n\n## 验证安装成功\n\n安装成功的标志：\n\n1. **文件存在**：检查技能文件是否已安装\n\n    ```bash\n    # 全局安装\n    ls ~/.claude/skills/hello-world/SKILL.md\n\n    # 项目级安装\n    ls .claude/skills/hello-world/SKILL.md\n    ```\n\n2. **Claude Code 识别**：在 Claude Code 中输入 `/skills` 应该能看到 `hello-world` 技能\n\n3. **功能正常**：输入 `hello-world` 能正确显示欢迎信息和环境信息\n\n## 技术细节\n\n### 安装原理\n\n本技能使用 [Vercel 开源的 skills](https://github.com/vercel-labs/skills) 工具进行安装管理，支持 Opencode、Claude Code、Codex、Cursor 及其他 [23 个工具](https://github.com/vercel-labs/add-skill?tab=readme-ov-file#supported-agents)。\n\n1. `package.json` 中的 `postinstall` 钩子自动运行安装脚本\n2. 安装脚本调用 `add-skill` 将 `SKILL.md` 复制到目标目录\n3. Claude Code 自动检测并加载技能\n\n### 安装路径\n\n**全局安装**:\n\n- 实际存储: `~/.agents/skills/hello-world/`\n- Claude Code 链接: `~/.claude/skills/hello-world/` (符号链接)\n\n**项目级安装**:\n\n- 实际存储: `.agents/skills/hello-world/`\n- Claude Code 链接: `.claude/skills/hello-world/` (符号链接)\n\n### 项目结构\n\n```\nskills/hello-world/\n├── package.json              # NPM 包配置\n├── SKILL.md                  # 技能定义文件\n├── README.md                 # 使用文档\n├── LICENSE                   # MIT 许可证\n├── .gitignore                # Git 忽略规则\n└── scripts/\n    ├── install-skill.js      # 安装脚本\n    └── uninstall-skill.js    # 卸载脚本\n```\n\n## 系统要求\n\n- Node.js >= 18.0.0\n- npm >= 9.0.0\n- Claude Code CLI\n\n## 下一步学习建议\n\n1. **探索更多技能**\n    - 访问 [agent-skills 仓库](https://github.com/catcuts/agent-skills) 查看更多技能示例\n    - 尝试 `handover` 技能学习跨会话工作交接\n\n2. **创建自定义技能**\n    - 参考 `SKILL.md` 的 YAML frontmatter 格式\n    - 学习如何使用 `allowed-tools` 声明需要的工具\n    - 编写清晰的技能指令\n\n3. **深入学习 Claude Code**\n    - 阅读 [Claude Code 官方文档](https://claude.com/claude-code)\n    - 了解技能开发最佳实践\n    - 参与社区讨论\n\n## 开发\n\n本技能基于 [agent-skill-npm-boilerplate](https://github.com/catcuts/agent-skill-npm-boilerplate) 开发。\n\n## 许可证\n\nMIT License - 详见 [LICENSE](LICENSE) 文件\n","readmeFilename":"README.md"}