Просмотр исходного кода

docs(nvm): 添加 nvm 相关文档和示例

- 添加关于 nvm 的基本介绍和使用说明
- 添加在 Alpine Linux 上安装 nvm 的详细步骤
- 添加使用 Ansible 安装 nvm 的配置示例
- 添加在 bash、fish 和 zsh 中自动切换 Node 版本的功能实现
- 添加启用 bash 补全和颜色自定义的相关配置
- 添加 Docker 环境下安装和使用的最佳实践
- 添加故障排除和兼容性问题的解决方案
- 添加全局包管理和默认版本设置的方法
- 添加环境变量和项目元数据相关文档
- 添加许可证文件和版权说明
wandl-6A72h 7 месяцев назад
Родитель
Сommit
d5b3d9903e
91 измененных файлов с 4526 добавлено и 0 удалено
  1. 158 0
      docs/nvm-skills.md
  2. 40 0
      skills/nvm-defaults-and-nvmrc/SKILL.md
  3. 36 0
      skills/nvm-defaults-and-nvmrc/examples/auto-use-bash.md
  4. 40 0
      skills/nvm-defaults-and-nvmrc/examples/auto-use-fish.md
  5. 33 0
      skills/nvm-defaults-and-nvmrc/examples/auto-use-zsh.md
  6. 13 0
      skills/nvm-defaults-and-nvmrc/examples/default-version.md
  7. 20 0
      skills/nvm-defaults-and-nvmrc/examples/nvmrc.md
  8. 201 0
      skills/nvm-docker-ci/LICENSE.txt
  9. 34 0
      skills/nvm-docker-ci/SKILL.md
  10. 13 0
      skills/nvm-docker-ci/examples/docker-dev.md
  11. 18 0
      skills/nvm-docker-ci/examples/install-docker-cicd.md
  12. 17 0
      skills/nvm-docker-ci/examples/install-docker.md
  13. 201 0
      skills/nvm-global-packages/LICENSE.txt
  14. 33 0
      skills/nvm-global-packages/SKILL.md
  15. 14 0
      skills/nvm-global-packages/examples/default-global-packages.md
  16. 13 0
      skills/nvm-global-packages/examples/migrate-global-packages.md
  17. 201 0
      skills/nvm-install/LICENSE.txt
  18. 46 0
      skills/nvm-install/SKILL.md
  19. 19 0
      skills/nvm-install/examples/alpine-install.md
  20. 23 0
      skills/nvm-install/examples/git-install.md
  21. 17 0
      skills/nvm-install/examples/install-additional-notes.md
  22. 15 0
      skills/nvm-install/examples/install-update-script.md
  23. 85 0
      skills/nvm-install/examples/installation.md
  24. 15 0
      skills/nvm-install/examples/manual-install.md
  25. 15 0
      skills/nvm-install/examples/manual-upgrade.md
  26. 201 0
      skills/nvm-mirror-and-auth/LICENSE.txt
  27. 33 0
      skills/nvm-mirror-and-auth/SKILL.md
  28. 11 0
      skills/nvm-mirror-and-auth/examples/mirror-auth-header.md
  29. 17 0
      skills/nvm-mirror-and-auth/examples/mirror.md
  30. 201 0
      skills/nvm-misc/LICENSE.txt
  31. 39 0
      skills/nvm-misc/SKILL.md
  32. 9 0
      skills/nvm-misc/examples/about.md
  33. 15 0
      skills/nvm-misc/examples/ansible.md
  34. 11 0
      skills/nvm-misc/examples/colors-persist.md
  35. 13 0
      skills/nvm-misc/examples/colors-suppress.md
  36. 15 0
      skills/nvm-misc/examples/colors.md
  37. 16 0
      skills/nvm-misc/examples/intro.md
  38. 14 0
      skills/nvm-misc/examples/tests.md
  39. 201 0
      skills/nvm-project-meta/LICENSE.txt
  40. 35 0
      skills/nvm-project-meta/SKILL.md
  41. 8 0
      skills/nvm-project-meta/examples/copyright-notice.md
  42. 8 0
      skills/nvm-project-meta/examples/enterprise-support.md
  43. 8 0
      skills/nvm-project-meta/examples/license.md
  44. 8 0
      skills/nvm-project-meta/examples/maintainers.md
  45. 8 0
      skills/nvm-project-meta/examples/project-support.md
  46. 201 0
      skills/nvm-setup/LICENSE.txt
  47. 42 0
      skills/nvm-setup/SKILL.md
  48. 12 0
      skills/nvm-setup/examples/bash-completion-usage.md
  49. 11 0
      skills/nvm-setup/examples/bash-completion.md
  50. 12 0
      skills/nvm-setup/examples/environment-variables.md
  51. 65 0
      skills/nvm-setup/templates/shell-config.md
  52. 201 0
      skills/nvm-shell-integration/LICENSE.txt
  53. 36 0
      skills/nvm-shell-integration/SKILL.md
  54. 36 0
      skills/nvm-shell-integration/examples/auto-use-bash.md
  55. 40 0
      skills/nvm-shell-integration/examples/auto-use-fish.md
  56. 33 0
      skills/nvm-shell-integration/examples/auto-use-zsh.md
  57. 11 0
      skills/nvm-shell-integration/examples/restore-path.md
  58. 9 0
      skills/nvm-shell-integration/examples/shell-integration.md
  59. 201 0
      skills/nvm-troubleshooting-linux/LICENSE.txt
  60. 37 0
      skills/nvm-troubleshooting-linux/SKILL.md
  61. 19 0
      skills/nvm-troubleshooting-linux/examples/alpine-install.md
  62. 10 0
      skills/nvm-troubleshooting-linux/examples/compatibility-issues.md
  63. 15 0
      skills/nvm-troubleshooting-linux/examples/problems.md
  64. 16 0
      skills/nvm-troubleshooting-linux/examples/troubleshooting-linux.md
  65. 15 0
      skills/nvm-troubleshooting-linux/examples/wsl-troubleshooting.md
  66. 201 0
      skills/nvm-troubleshooting-macos/LICENSE.txt
  67. 36 0
      skills/nvm-troubleshooting-macos/SKILL.md
  68. 10 0
      skills/nvm-troubleshooting-macos/examples/compatibility-issues.md
  69. 9 0
      skills/nvm-troubleshooting-macos/examples/macos-troubleshooting.md
  70. 15 0
      skills/nvm-troubleshooting-macos/examples/problems.md
  71. 10 0
      skills/nvm-troubleshooting-macos/examples/troubleshooting-macos.md
  72. 201 0
      skills/nvm-uninstall/LICENSE.txt
  73. 34 0
      skills/nvm-uninstall/SKILL.md
  74. 11 0
      skills/nvm-uninstall/examples/restore-path.md
  75. 12 0
      skills/nvm-uninstall/examples/system-node.md
  76. 21 0
      skills/nvm-uninstall/examples/uninstall.md
  77. 201 0
      skills/nvm-usage-basics/LICENSE.txt
  78. 43 0
      skills/nvm-usage-basics/SKILL.md
  79. 79 0
      skills/nvm-usage-basics/examples/install-version.md
  80. 12 0
      skills/nvm-usage-basics/examples/iojs.md
  81. 12 0
      skills/nvm-usage-basics/examples/list-versions.md
  82. 13 0
      skills/nvm-usage-basics/examples/long-term-support.md
  83. 12 0
      skills/nvm-usage-basics/examples/system-node.md
  84. 16 0
      skills/nvm-usage-basics/examples/usage.md
  85. 76 0
      skills/nvm-usage-basics/examples/use-version.md
  86. 201 0
      skills/nvm-verify/LICENSE.txt
  87. 40 0
      skills/nvm-verify/SKILL.md
  88. 11 0
      skills/nvm-verify/examples/important-notes.md
  89. 15 0
      skills/nvm-verify/examples/problems.md
  90. 11 0
      skills/nvm-verify/examples/restore-path.md
  91. 11 0
      skills/nvm-verify/examples/verify-installation.md

+ 158 - 0
docs/nvm-skills.md

@@ -0,0 +1,158 @@
+# nvm Agent Skills 规划清单
+
+- nvm-install ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-install 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:安装与更新 nvm(install.sh + PROFILE/NVM_DIR/NVM_SOURCE 等环境变量)。
+- **关键点**:区分 curl/wget 安装方式;说明脚本自动写入 profile 的行为与手动指定 PROFILE 的方式。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型基于此技能完成 nvm 安装与更新。
+
+- nvm-setup ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-setup 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:加载 nvm 的 shell 配置与环境变量(NVM_DIR、nvm.sh、bash/zsh/fish)。
+- **关键点**:处理 XDG_CONFIG_HOME 目录差异;提供 --no-use 方式与手动 source 的路径。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型基于此技能完成 nvm 环境初始化。
+
+- nvm-verify ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-verify 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:安装完成后的验证路径(nvm --version、node -v、npm -v)。
+- **关键点**:识别 PATH 未更新、profile 未加载的常见原因与修复。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完成安装验证与初始排错。
+
+- nvm-usage-basics ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-usage-basics 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:安装、切换、列出 Node 版本(nvm install/use/ls/ls-remote)。
+- **关键点**:LTS 版本选择与 system Node 版本的使用策略。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完成日常版本管理。
+
+- nvm-defaults-and-nvmrc ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-defaults-and-nvmrc 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:默认 Node 版本设置与 .nvmrc 的使用。
+- **关键点**:进入目录自动 nvm use 的策略与 shell 集成方法。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完成项目级版本固定。
+
+- nvm-global-packages ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-global-packages 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:迁移全局包与默认全局包文件(nvm install --reinstall-packages-from、default-packages)。
+- **关键点**:多版本并存时的全局包一致性策略与风险提示。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完成全局包迁移。
+
+- nvm-mirror-and-auth ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-mirror-and-auth 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:使用 Node 二进制镜像与授权 header 的配置。
+- **关键点**:镜像地址、认证 header 的环境变量配置与常见网络问题规避。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型在受限网络中安装 Node。
+
+- nvm-shell-integration ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-shell-integration 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:bash/zsh/fish 的深入集成与自动切换机制。
+- **关键点**:Deeper Shell Integration 的启用方式与 PATH 恢复策略。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完善多 Shell 环境兼容。
+
+- nvm-docker-ci ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-docker-ci 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:Docker 与 CI/CD 场景下的 nvm 安装与使用。
+- **关键点**:BASH_ENV 的非交互加载方式与 ENTRYPOINT 加载策略。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型在容器与流水线中稳定使用 nvm。
+
+- nvm-troubleshooting-macos ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-troubleshooting-macos 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:macOS 常见问题诊断与修复。
+- **关键点**:shell profile 选择、权限、PATH 优先级等问题处理路径。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完成 macOS 场景排障。
+
+- nvm-troubleshooting-linux ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-troubleshooting-linux 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:nvm Linux 常见问题诊断与修复。
+- **关键点**:不同发行版 shell/profile 差异与 PATH 修复。
+  一一对应,如同 
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型完成 nvm Linux 场景排障。
+
+- nvm-uninstall ✅
+
+遵循 Agent skills 规范: `https://support.claude.com/zh-CN/articles/12512198-%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%87%AA%E5%AE%9A%E4%B9%89-skills` 和 `https://agentskills.io/what-are-skills`
+参考 /Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid,创建一个名称为 nvm-uninstall 的 skills,必须参考
+- `https://github.com/nvm-sh/nvm/blob/master/README.md`
+  并严格遵循以下设计规格:
+- **边界**:卸载与清理(NVM_DIR、profile 配置移除)。
+- **关键点**:恢复系统 Node 或其他版本管理器的 PATH 优先级。
+严格参考
+- 官方示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/skill-creator 
+- 个人示例:/Users/wandl/workspaces/workspace-teachingai/full-stack-skills/skills/mermaid 
+SKILL.md 内容规划,结构清晰,触发逻辑清晰,流程完善,可以指导 大模型安全卸载 nvm。

+ 40 - 0
skills/nvm-defaults-and-nvmrc/SKILL.md

@@ -0,0 +1,40 @@
+---
+name: nvm-defaults-and-nvmrc
+description: Define default Node versions and manage project-specific versions with .nvmrc and auto-use flows.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Setting a default Node version or alias
+- Creating or using a .nvmrc file
+- Auto-switching versions per directory
+
+**Trigger phrases include:**
+- "nvm alias default", "默认版本", ".nvmrc"
+- "auto use", "进入目录自动切换"
+
+## How to use this skill
+
+**CRITICAL: This skill is about defaults and .nvmrc.** Basic install/use belongs to nvm-usage-basics.
+
+1. Set the default alias or LTS target.
+2. Create or update .nvmrc with the required version or alias.
+3. Enable shell auto-use logic if requested.
+4. Verify switching behavior in a new shell session.
+
+**Important notes:**
+- Keep .nvmrc consistent across team repos to avoid version drift.
+
+### Example file map
+
+- examples/default-version.md
+- examples/nvmrc.md
+- examples/auto-use-bash.md
+- examples/auto-use-zsh.md
+- examples/auto-use-fish.md
+
+## Keywords
+
+nvm alias, default version, .nvmrc, auto use, project version, defaults

+ 36 - 0
skills/nvm-defaults-and-nvmrc/examples/auto-use-bash.md

@@ -0,0 +1,36 @@
+## Instructions
+
+Auto-run `nvm use` on directory change in bash.
+
+### Example
+
+```bash
+cdnvm() {
+    command cd "$@" || return $?
+    nvm_path="$(nvm_find_up .nvmrc | command tr -d '
+')"
+    if [[ ! $nvm_path = *[^[:space:]]* ]]; then
+        default_version="$(nvm version default)"
+        if [ $default_version = 'N/A' ]; then
+            nvm alias default node
+            default_version=$(nvm version default)
+        fi
+        if [ "$(nvm current)" != "${default_version}" ]; then
+            nvm use default
+        fi
+    elif [[ -s "${nvm_path}/.nvmrc" && -r "${nvm_path}/.nvmrc" ]]; then
+        nvm_version=$(<"${nvm_path}"/.nvmrc)
+        locally_resolved_nvm_version=$(nvm ls --no-colors "${nvm_version}" | command tail -1 | command tr -d '\->*' | command tr -d '[:space:]')
+        if [ "${locally_resolved_nvm_version}" = 'N/A' ]; then
+            nvm install "${nvm_version}";
+        elif [ "$(nvm current)" != "${locally_resolved_nvm_version}" ]; then
+            nvm use "${nvm_version}";
+        fi
+    fi
+}
+
+alias cd='cdnvm'
+cdnvm "$PWD" || exit
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#bash

+ 40 - 0
skills/nvm-defaults-and-nvmrc/examples/auto-use-fish.md

@@ -0,0 +1,40 @@
+## Instructions
+
+Auto-run `nvm use` on directory change in fish (requires `bass`).
+
+### Example
+
+```fish
+# ~/.config/fish/functions/nvm.fish
+function nvm
+  bass source ~/.nvm/nvm.sh --no-use ';' nvm $argv
+end
+
+# ~/.config/fish/functions/nvm_find_nvmrc.fish
+function nvm_find_nvmrc
+  bass source ~/.nvm/nvm.sh --no-use ';' nvm_find_nvmrc
+end
+
+# ~/.config/fish/functions/load_nvm.fish
+function load_nvm --on-variable="PWD"
+  set -l default_node_version (nvm version default)
+  set -l node_version (nvm version)
+  set -l nvmrc_path (nvm_find_nvmrc)
+  if test -n "$nvmrc_path"
+    set -l nvmrc_node_version (nvm version (cat $nvmrc_path))
+    if test "$nvmrc_node_version" = "N/A"
+      nvm install (cat $nvmrc_path)
+    else if test "$nvmrc_node_version" != "$node_version"
+      nvm use $nvmrc_node_version
+    end
+  else if test "$node_version" != "$default_node_version"
+    echo "Reverting to default Node version"
+    nvm use default
+  end
+end
+
+# ~/.config/fish/config.fish
+load_nvm > /dev/stderr
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#fish

+ 33 - 0
skills/nvm-defaults-and-nvmrc/examples/auto-use-zsh.md

@@ -0,0 +1,33 @@
+## Instructions
+
+Auto-run `nvm use` on directory change in zsh.
+
+### Example
+
+```zsh
+autoload -U add-zsh-hook
+
+load-nvmrc() {
+  local nvmrc_path
+  nvmrc_path="$(nvm_find_nvmrc)"
+
+  if [ -n "$nvmrc_path" ]; then
+    local nvmrc_node_version
+    nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")
+
+    if [ "$nvmrc_node_version" = "N/A" ]; then
+      nvm install
+    elif [ "$nvmrc_node_version" != "$(nvm version)" ]; then
+      nvm use
+    fi
+  elif [ -n "$(PWD=$OLDPWD nvm_find_nvmrc)" ] && [ "$(nvm version)" != "$(nvm version default)" ]; then
+    echo "Reverting to nvm default version"
+    nvm use default
+  fi
+}
+
+add-zsh-hook chpwd load-nvmrc
+load-nvmrc
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#zsh

+ 13 - 0
skills/nvm-defaults-and-nvmrc/examples/default-version.md

@@ -0,0 +1,13 @@
+## Instructions
+
+Set a default Node version for new shells using alias `default`.
+
+### Example
+
+```sh
+nvm alias default node
+nvm alias default 18
+nvm alias default 18.12
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#set-default-node-version

+ 20 - 0
skills/nvm-defaults-and-nvmrc/examples/nvmrc.md

@@ -0,0 +1,20 @@
+## Instructions
+
+Use `.nvmrc` to set per-project Node version.
+
+### Examples
+
+```sh
+echo "lts/*" > .nvmrc
+nvm use
+```
+
+```sh
+nvm install
+```
+
+Notes:
+- One version per file, newline-terminated.
+- Comments with `#` are allowed.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#nvmrc

+ 201 - 0
skills/nvm-docker-ci/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 34 - 0
skills/nvm-docker-ci/SKILL.md

@@ -0,0 +1,34 @@
+---
+name: nvm-docker-ci
+description: Cover nvm installation and usage in Docker images and CI/CD pipelines, including non-interactive shell loading.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Installing nvm in Docker
+- Using nvm in CI/CD pipelines
+- Non-interactive shell configuration
+
+**Trigger phrases include:**
+- "Dockerfile", "容器", "CI/CD"
+- "BASH_ENV", "ENTRYPOINT", "non-interactive"
+
+## How to use this skill
+
+**CRITICAL: This skill targets container and CI usage only.** Base install steps remain in nvm-install.
+
+1. Choose Dockerfile or CI job installation approach.
+2. Ensure non-interactive shells load nvm via BASH_ENV or ENTRYPOINT.
+3. Validate nvm availability in container or pipeline.
+
+### Example file map
+
+- examples/install-docker.md
+- examples/install-docker-cicd.md
+- examples/docker-dev.md
+
+## Keywords
+
+docker, ci, bash_env, entrypoint, non-interactive shell, nvm in container, 容器

+ 13 - 0
skills/nvm-docker-ci/examples/docker-dev.md

@@ -0,0 +1,13 @@
+## Instructions
+
+Build a Docker dev environment for nvm development.
+
+### Example
+
+```sh
+docker build -t nvm-dev .
+docker images
+docker run -h nvm-dev -it nvm-dev
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#docker-for-development-environment

+ 18 - 0
skills/nvm-docker-ci/examples/install-docker-cicd.md

@@ -0,0 +1,18 @@
+## Instructions
+
+A more robust Docker setup for CI/CD jobs.
+
+### Example
+
+```Dockerfile
+FROM ubuntu:latest
+ARG NODE_VERSION=20
+RUN apt update && apt install curl -y
+RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+ENV NVM_DIR=/root/.nvm
+RUN bash -c "source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION"
+ENTRYPOINT ["bash", "-c", "source $NVM_DIR/nvm.sh && exec \"$@\"", "--"]
+CMD ["/bin/bash"]
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#installing-in-docker-for-cicd-jobs

+ 17 - 0
skills/nvm-docker-ci/examples/install-docker.md

@@ -0,0 +1,17 @@
+## Instructions
+
+Use `BASH_ENV` so non-interactive shells source nvm in Docker.
+
+### Example
+
+```Dockerfile
+SHELL ["/bin/bash", "-o", "pipefail", "-c"]
+ENV BASH_ENV /home/user/.bash_env
+RUN touch "${BASH_ENV}"
+RUN echo '. "${BASH_ENV}"' >> ~/.bashrc
+RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | PROFILE="${BASH_ENV}" bash
+RUN echo node > .nvmrc
+RUN nvm install
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#installing-in-docker

+ 201 - 0
skills/nvm-global-packages/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 33 - 0
skills/nvm-global-packages/SKILL.md

@@ -0,0 +1,33 @@
+---
+name: nvm-global-packages
+description: Migrate global packages between Node versions and define a default global packages file for consistency.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Reinstalling global packages while installing a new version
+- Using a default-packages file
+- Keeping global package consistency across versions
+
+**Trigger phrases include:**
+- "reinstall-packages-from", "迁移全局包"
+- "default-packages", "默认全局包文件"
+
+## How to use this skill
+
+**CRITICAL: This skill handles global packages strategy.** Version install/use belongs to usage basics.
+
+1. Use reinstall-packages-from to migrate global packages.
+2. Configure default-packages file and validate scope.
+3. Call out risks of conflicting global packages across versions.
+
+### Example file map
+
+- examples/migrate-global-packages.md
+- examples/default-global-packages.md
+
+## Keywords
+
+global packages, default-packages, reinstall-packages-from, npm global, consistency

+ 14 - 0
skills/nvm-global-packages/examples/default-global-packages.md

@@ -0,0 +1,14 @@
+## Instructions
+
+List default packages in `$NVM_DIR/default-packages` to auto-install on new versions.
+
+### Example
+
+```sh
+# $NVM_DIR/default-packages
+rimraf
+object-inspect@1.0.2
+stevemao/left-pad
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#default-global-packages-from-file-while-installing

+ 13 - 0
skills/nvm-global-packages/examples/migrate-global-packages.md

@@ -0,0 +1,13 @@
+## Instructions
+
+Reinstall global packages when installing a new Node version.
+
+### Examples
+
+```sh
+nvm install --reinstall-packages-from=node node
+nvm install --reinstall-packages-from=5 6
+nvm install --reinstall-packages-from=default --latest-npm 'lts/*'
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#migrating-global-packages-while-installing

+ 201 - 0
skills/nvm-install/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 46 - 0
skills/nvm-install/SKILL.md

@@ -0,0 +1,46 @@
+---
+name: nvm-install
+description: Provide comprehensive guidance for installing and updating nvm from the official README, including install scripts, profile selection, and required environment variables.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Installing nvm for the first time
+- Updating nvm using install.sh
+- PROFILE, NVM_DIR, or NVM_SOURCE configuration
+- Choosing curl vs wget installation
+
+**Trigger phrases include:**
+- "install nvm", "安装 nvm", "update nvm", "升级 nvm"
+- "install.sh", "PROFILE", "NVM_DIR", "NVM_SOURCE"
+- "curl 安装", "wget 安装", "脚本安装"
+
+## How to use this skill
+
+**CRITICAL: This skill only covers installation and update workflows.** Redirect usage, .nvmrc, or troubleshooting to the relevant nvm-* skills.
+
+1. Identify platform and shell (macOS, Linux, WSL, Alpine; bash/zsh/fish).
+2. Select the install path: script install, git install, or manual install.
+3. Follow the official install/update steps and note profile write behavior.
+4. Verify PROFILE selection and required environment variables.
+5. If upgrading, follow install script update or manual upgrade steps.
+
+**Important notes:**
+- The install script writes to the detected profile unless PROFILE is explicitly set.
+- For restricted networks, use the mirror/auth skill instead.
+
+### Example file map
+
+- examples/installation.md
+- examples/install-update-script.md
+- examples/install-additional-notes.md
+- examples/git-install.md
+- examples/manual-install.md
+- examples/manual-upgrade.md
+- examples/alpine-install.md
+
+## Keywords
+
+nvm install, install.sh, PROFILE, NVM_DIR, NVM_SOURCE, curl, wget, manual install, update, 安装, 升级

+ 19 - 0
skills/nvm-install/examples/alpine-install.md

@@ -0,0 +1,19 @@
+## Instructions
+
+Install nvm on Alpine Linux with required build dependencies.
+
+### Alpine 3.13+
+
+```sh
+apk add -U curl bash ca-certificates openssl ncurses coreutils python3 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+```
+
+### Alpine 3.5 - 3.12
+
+```sh
+apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#installing-nvm-on-alpine-linux

+ 23 - 0
skills/nvm-install/examples/git-install.md

@@ -0,0 +1,23 @@
+## Instructions
+
+Install nvm via git and load it from your shell profile.
+
+### Steps
+
+```sh
+cd ~/
+git clone https://github.com/nvm-sh/nvm.git .nvm
+cd ~/.nvm
+git checkout v0.40.3
+. ./nvm.sh
+```
+
+Then add to your profile:
+
+```sh
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#git-install

+ 17 - 0
skills/nvm-install/examples/install-additional-notes.md

@@ -0,0 +1,17 @@
+## Instructions
+
+Use these notes to customize the install script behavior.
+
+### Notes
+- `NVM_DIR` sets the install directory (no trailing slash).
+- `PROFILE` chooses which shell profile to edit.
+- Use `--no-use` to avoid auto-using a default version.
+
+### Example
+
+```sh
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#additional-notes

+ 15 - 0
skills/nvm-install/examples/install-update-script.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Install or update nvm using the official install script.
+
+### Syntax
+
+```sh
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+```
+
+```sh
+wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#install--update-script

+ 85 - 0
skills/nvm-install/examples/installation.md

@@ -0,0 +1,85 @@
+# Installation
+
+## Instructions
+
+This example demonstrates how to install nvm on your system.
+
+### Key Concepts
+
+- Installation methods (curl, wget, manual)
+- Environment setup
+- Shell configuration
+- Verification
+
+### Example: Install using curl
+
+```bash
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
+```
+
+### Example: Install using wget
+
+```bash
+wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
+```
+
+### Example: Manual Installation
+
+```bash
+# Clone the repository
+git clone https://github.com/nvm-sh/nvm.git ~/.nvm
+
+# Checkout latest release
+cd ~/.nvm
+git checkout v0.39.0
+
+# Source nvm
+. ./nvm.sh
+```
+
+### Example: Shell Configuration
+
+After installation, add the following to your shell profile:
+
+**For bash** (`~/.bashrc` or `~/.bash_profile`):
+```bash
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+**For zsh** (`~/.zshrc`):
+```zsh
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+### Example: Verify Installation
+
+```bash
+# Reload shell configuration
+source ~/.bashrc  # or source ~/.zshrc
+
+# Verify nvm is installed
+command -v nvm
+
+# Check nvm version
+nvm --version
+```
+
+### Example: Custom Installation Directory
+
+```bash
+# Set custom NVM_DIR before installation
+export NVM_DIR="$HOME/custom/path/nvm"
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
+```
+
+### Key Points
+
+- Installation script automatically adds nvm to your shell profile
+- Reload your shell or source the profile after installation
+- Use `command -v nvm` to verify installation
+- Custom `NVM_DIR` can be set before installation
+- Manual installation requires sourcing nvm.sh in each shell session

+ 15 - 0
skills/nvm-install/examples/manual-install.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Manual install using git clone and tag checkout.
+
+### Example
+
+```sh
+export NVM_DIR="$HOME/.nvm" && (
+  git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR"
+  cd "$NVM_DIR"
+  git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
+) && \. "$NVM_DIR/nvm.sh"
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#manual-install

+ 15 - 0
skills/nvm-install/examples/manual-upgrade.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Manual upgrade using git.
+
+### Example
+
+```sh
+(
+  cd "$NVM_DIR"
+  git fetch --tags origin
+  git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
+) && \. "$NVM_DIR/nvm.sh"
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#manual-upgrade

+ 201 - 0
skills/nvm-mirror-and-auth/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 33 - 0
skills/nvm-mirror-and-auth/SKILL.md

@@ -0,0 +1,33 @@
+---
+name: nvm-mirror-and-auth
+description: Configure Node.js binary mirrors and authentication headers for restricted or internal network environments.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Setting a custom Node mirror
+- Using auth headers for mirror access
+- Dealing with restricted network access
+
+**Trigger phrases include:**
+- "mirror", "镜像源", "NVM_NODEJS_ORG_MIRROR"
+- "auth header", "认证 header", "internal mirror"
+
+## How to use this skill
+
+**CRITICAL: This skill is only for mirror and auth configuration.** Installation steps remain in nvm-install.
+
+1. Choose the mirror URL and set the environment variables.
+2. Configure auth headers if required by the mirror.
+3. Validate the mirror settings and handle network errors.
+
+### Example file map
+
+- examples/mirror.md
+- examples/mirror-auth-header.md
+
+## Keywords
+
+node mirror, NVM_NODEJS_ORG_MIRROR, auth header, restricted network, 内网镜像

+ 11 - 0
skills/nvm-mirror-and-auth/examples/mirror-auth-header.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Pass an Authorization header to your mirror.
+
+### Example
+
+```sh
+NVM_AUTH_HEADER="Bearer secret-token" nvm install node
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#pass-authorization-header-to-mirror

+ 17 - 0
skills/nvm-mirror-and-auth/examples/mirror.md

@@ -0,0 +1,17 @@
+## Instructions
+
+Use a mirror for node or io.js binaries via environment variables.
+
+### Examples
+
+```sh
+export NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist
+nvm install node
+```
+
+```sh
+export NVM_IOJS_ORG_MIRROR=https://iojs.org/dist
+nvm install iojs-v1.0.3
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#use-a-mirror-of-node-binaries

+ 201 - 0
skills/nvm-misc/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 39 - 0
skills/nvm-misc/SKILL.md

@@ -0,0 +1,39 @@
+---
+name: nvm-misc
+description: Provide nvm overview, output color customization, tests, and automation examples like Ansible. Use when users ask for an nvm intro, color settings, running nvm tests, or Ansible install tasks.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- nvm intro or overview
+- nvm output colors or color suppression
+- running nvm tests
+- Ansible automation for nvm
+
+**Trigger phrases include:**
+- "nvm 是什么", "intro", "overview"
+- "nvm colors", "NVM_COLORS", "--no-colors"
+- "nvm test", "run tests"
+- "ansible", "自动化安装"
+
+## How to use this skill
+
+1. Confirm which misc topic the user needs.
+2. Open the matching example file.
+3. Follow the example commands and notes exactly unless the user requests changes.
+
+### Example file map
+
+- examples/intro.md
+- examples/about.md
+- examples/ansible.md
+- examples/colors.md
+- examples/colors-persist.md
+- examples/colors-suppress.md
+- examples/tests.md
+
+## Keywords
+
+nvm intro, overview, colors, NVM_COLORS, tests, ansible, miscellaneous

+ 9 - 0
skills/nvm-misc/examples/about.md

@@ -0,0 +1,9 @@
+## Instructions
+
+nvm is a per-user, per-shell Node.js version manager for POSIX-compliant shells (sh, dash, ksh, zsh, bash). It supports Unix, macOS, and Windows WSL.
+
+### Notes
+- nvm is a shell function, not a binary.
+- Use `command -v nvm` to verify installation.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#about

+ 15 - 0
skills/nvm-misc/examples/ansible.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Use Ansible to install nvm via the install script.
+
+### Example
+
+```yaml
+- name: Install nvm
+  ansible.builtin.shell: >
+    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+  args:
+    creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#ansible

+ 11 - 0
skills/nvm-misc/examples/colors-persist.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Persist custom colors by setting `NVM_COLORS` in your shell profile.
+
+### Example
+
+```sh
+export NVM_COLORS='cmgRY'
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#persisting-custom-colors

+ 13 - 0
skills/nvm-misc/examples/colors-suppress.md

@@ -0,0 +1,13 @@
+## Instructions
+
+Suppress color output using `--no-colors` or `TERM=dumb`.
+
+### Example
+
+```sh
+nvm ls --no-colors
+nvm help --no-colors
+TERM=dumb nvm ls
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#suppressing-colorized-output

+ 15 - 0
skills/nvm-misc/examples/colors.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Customize nvm output colors using `nvm set-colors` or `NVM_COLORS`.
+
+### Examples
+
+```sh
+nvm set-colors rgBcm
+```
+
+```sh
+export NVM_COLORS='cmgRY'
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#setting-custom-colors

+ 16 - 0
skills/nvm-misc/examples/intro.md

@@ -0,0 +1,16 @@
+## Instructions
+
+nvm allows you to quickly install and use different versions of Node.js from the command line.
+
+### Example
+
+```sh
+nvm use 16
+node -v
+nvm use 14
+node -v
+nvm install 12
+node -v
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#intro

+ 14 - 0
skills/nvm-misc/examples/tests.md

@@ -0,0 +1,14 @@
+## Instructions
+
+Run nvm tests using npm scripts.
+
+### Example
+
+```sh
+npm install
+npm run test/fast
+npm run test/slow
+npm test
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#running-tests

+ 201 - 0
skills/nvm-project-meta/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 35 - 0
skills/nvm-project-meta/SKILL.md

@@ -0,0 +1,35 @@
+---
+name: nvm-project-meta
+description: Provide nvm project metadata like maintainers, support policy, enterprise support, license, and copyright notice. Use when users ask about project governance or legal notices.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Maintainers or governance
+- Support policy or enterprise support
+- License or copyright notice
+
+**Trigger phrases include:**
+- "maintainers", "维护者"
+- "project support", "enterprise support"
+- "license", "copyright"
+
+## How to use this skill
+
+1. Identify the metadata topic the user needs.
+2. Open the matching example file.
+3. Use the exact wording and links from the example.
+
+### Example file map
+
+- examples/maintainers.md
+- examples/project-support.md
+- examples/enterprise-support.md
+- examples/license.md
+- examples/copyright-notice.md
+
+## Keywords
+
+nvm maintainers, project support, enterprise support, license, copyright

+ 8 - 0
skills/nvm-project-meta/examples/copyright-notice.md

@@ -0,0 +1,8 @@
+## Instructions
+
+Trademark and copyright notice for nvm and OpenJS Foundation.
+
+### Note
+- See the official copyright notice and trademark policy links in the README.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#copyright-notice

+ 8 - 0
skills/nvm-project-meta/examples/enterprise-support.md

@@ -0,0 +1,8 @@
+## Instructions
+
+Enterprise support options for unsupported versions.
+
+### Note
+- See OpenJS partners for commercial fixes.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#enterprise-support

+ 8 - 0
skills/nvm-project-meta/examples/license.md

@@ -0,0 +1,8 @@
+## Instructions
+
+License and copyright information.
+
+### Note
+- See LICENSE.md in the nvm repository.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#license

+ 8 - 0
skills/nvm-project-meta/examples/maintainers.md

@@ -0,0 +1,8 @@
+## Instructions
+
+Maintainers information.
+
+### Note
+- Current maintainer: @ljharb
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#maintainers

+ 8 - 0
skills/nvm-project-meta/examples/project-support.md

@@ -0,0 +1,8 @@
+## Instructions
+
+Project support policy.
+
+### Note
+- Only the latest version is supported.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#project-support

+ 201 - 0
skills/nvm-setup/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 42 - 0
skills/nvm-setup/SKILL.md

@@ -0,0 +1,42 @@
+---
+name: nvm-setup
+description: Configure shell initialization and environment variables so nvm loads correctly across bash, zsh, and fish.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Loading nvm in a new shell session
+- Setting NVM_DIR or sourcing nvm.sh
+- Bash/zsh/fish profile configuration
+- XDG_CONFIG_HOME profile location differences
+
+**Trigger phrases include:**
+- "nvm not found", "nvm 命令找不到", "source nvm.sh"
+- "NVM_DIR", "profile", "bashrc", "zshrc", "fish"
+- "--no-use", "手动加载"
+
+## How to use this skill
+
+**CRITICAL: This skill focuses on shell initialization and environment variables.** For installation or version usage, use other nvm-* skills.
+
+1. Identify the active shell and the correct profile file path.
+2. Add NVM_DIR and nvm.sh sourcing lines from the template.
+3. Add bash completion or optional config as needed.
+4. Start a new shell session and verify nvm loads.
+
+**Important notes:**
+- XDG_CONFIG_HOME changes the expected profile path.
+- Use --no-use when you only want nvm loaded without switching versions.
+
+### Example file map
+
+- templates/shell-config.md
+- examples/environment-variables.md
+- examples/bash-completion.md
+- examples/bash-completion-usage.md
+
+## Keywords
+
+nvm setup, NVM_DIR, nvm.sh, profile, bash, zsh, fish, XDG_CONFIG_HOME, shell init

+ 12 - 0
skills/nvm-setup/examples/bash-completion-usage.md

@@ -0,0 +1,12 @@
+## Instructions
+
+Command completion examples for `nvm`, `nvm alias`, `nvm use`, and `nvm uninstall`.
+
+### Example
+
+```sh
+nvm <Tab>
+# alias deactivate install list-remote reinstall-packages uninstall version
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#usage-1

+ 11 - 0
skills/nvm-setup/examples/bash-completion.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Enable bash completion by sourcing `bash_completion` after nvm is sourced.
+
+### Example
+
+```sh
+[[ -r $NVM_DIR/bash_completion ]] && \. $NVM_DIR/bash_completion
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#bash-completion

+ 12 - 0
skills/nvm-setup/examples/environment-variables.md

@@ -0,0 +1,12 @@
+## Instructions
+
+nvm exposes environment variables for its location and the active Node version.
+
+### Variables
+- `NVM_DIR`
+- `NVM_BIN`
+- `NVM_INC`
+- `NVM_CD_FLAGS`
+- `NVM_RC_VERSION`
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#environment-variables

+ 65 - 0
skills/nvm-setup/templates/shell-config.md

@@ -0,0 +1,65 @@
+# Shell Configuration Templates
+
+## Bash Configuration
+
+**For `~/.bashrc` or `~/.bash_profile`:**
+
+```bash
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+## Zsh Configuration
+
+**For `~/.zshrc`:**
+
+```zsh
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+## Fish Shell Configuration
+
+**For `~/.config/fish/config.fish`:**
+
+```fish
+set -gx NVM_DIR "$HOME/.nvm"
+function nvm
+    bass source "$NVM_DIR/nvm.sh" ';' nvm $argv
+end
+```
+
+## Custom NVM_DIR
+
+**If using custom installation directory:**
+
+```bash
+export NVM_DIR="$HOME/custom/path/nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+## XDG_CONFIG_HOME Setup
+
+**If using XDG_CONFIG_HOME:**
+
+```bash
+export XDG_CONFIG_HOME="$HOME/.config"
+export NVM_DIR="$XDG_CONFIG_HOME/nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+```
+
+## Reload Configuration
+
+After adding to shell config:
+
+```bash
+# For bash
+source ~/.bashrc
+
+# For zsh
+source ~/.zshrc
+```

+ 201 - 0
skills/nvm-shell-integration/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 36 - 0
skills/nvm-shell-integration/SKILL.md

@@ -0,0 +1,36 @@
+---
+name: nvm-shell-integration
+description: Enable deeper shell integration and auto-switching for nvm across bash, zsh, and fish.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Deeper shell integration
+- Auto "nvm use" when entering a directory
+- Restoring PATH or deactivating nvm
+
+**Trigger phrases include:**
+- "shell integration", "深度集成", "auto use"
+- "PATH 恢复", "nvm deactivate"
+
+## How to use this skill
+
+**CRITICAL: This skill is for deeper shell integration and auto-switching.** Base shell loading belongs to nvm-setup.
+
+1. Pick the target shell and enable deeper integration steps.
+2. Add auto-use logic for directory changes.
+3. Restore PATH or deactivate nvm when needed.
+
+### Example file map
+
+- examples/shell-integration.md
+- examples/auto-use-bash.md
+- examples/auto-use-zsh.md
+- examples/auto-use-fish.md
+- examples/restore-path.md
+
+## Keywords
+
+shell integration, auto use, PATH restore, nvm deactivate, 自动切换

+ 36 - 0
skills/nvm-shell-integration/examples/auto-use-bash.md

@@ -0,0 +1,36 @@
+## Instructions
+
+Auto-run `nvm use` on directory change in bash.
+
+### Example
+
+```bash
+cdnvm() {
+    command cd "$@" || return $?
+    nvm_path="$(nvm_find_up .nvmrc | command tr -d '
+')"
+    if [[ ! $nvm_path = *[^[:space:]]* ]]; then
+        default_version="$(nvm version default)"
+        if [ $default_version = 'N/A' ]; then
+            nvm alias default node
+            default_version=$(nvm version default)
+        fi
+        if [ "$(nvm current)" != "${default_version}" ]; then
+            nvm use default
+        fi
+    elif [[ -s "${nvm_path}/.nvmrc" && -r "${nvm_path}/.nvmrc" ]]; then
+        nvm_version=$(<"${nvm_path}"/.nvmrc)
+        locally_resolved_nvm_version=$(nvm ls --no-colors "${nvm_version}" | command tail -1 | command tr -d '\->*' | command tr -d '[:space:]')
+        if [ "${locally_resolved_nvm_version}" = 'N/A' ]; then
+            nvm install "${nvm_version}";
+        elif [ "$(nvm current)" != "${locally_resolved_nvm_version}" ]; then
+            nvm use "${nvm_version}";
+        fi
+    fi
+}
+
+alias cd='cdnvm'
+cdnvm "$PWD" || exit
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#bash

+ 40 - 0
skills/nvm-shell-integration/examples/auto-use-fish.md

@@ -0,0 +1,40 @@
+## Instructions
+
+Auto-run `nvm use` on directory change in fish (requires `bass`).
+
+### Example
+
+```fish
+# ~/.config/fish/functions/nvm.fish
+function nvm
+  bass source ~/.nvm/nvm.sh --no-use ';' nvm $argv
+end
+
+# ~/.config/fish/functions/nvm_find_nvmrc.fish
+function nvm_find_nvmrc
+  bass source ~/.nvm/nvm.sh --no-use ';' nvm_find_nvmrc
+end
+
+# ~/.config/fish/functions/load_nvm.fish
+function load_nvm --on-variable="PWD"
+  set -l default_node_version (nvm version default)
+  set -l node_version (nvm version)
+  set -l nvmrc_path (nvm_find_nvmrc)
+  if test -n "$nvmrc_path"
+    set -l nvmrc_node_version (nvm version (cat $nvmrc_path))
+    if test "$nvmrc_node_version" = "N/A"
+      nvm install (cat $nvmrc_path)
+    else if test "$nvmrc_node_version" != "$node_version"
+      nvm use $nvmrc_node_version
+    end
+  else if test "$node_version" != "$default_node_version"
+    echo "Reverting to default Node version"
+    nvm use default
+  end
+end
+
+# ~/.config/fish/config.fish
+load_nvm > /dev/stderr
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#fish

+ 33 - 0
skills/nvm-shell-integration/examples/auto-use-zsh.md

@@ -0,0 +1,33 @@
+## Instructions
+
+Auto-run `nvm use` on directory change in zsh.
+
+### Example
+
+```zsh
+autoload -U add-zsh-hook
+
+load-nvmrc() {
+  local nvmrc_path
+  nvmrc_path="$(nvm_find_nvmrc)"
+
+  if [ -n "$nvmrc_path" ]; then
+    local nvmrc_node_version
+    nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")
+
+    if [ "$nvmrc_node_version" = "N/A" ]; then
+      nvm install
+    elif [ "$nvmrc_node_version" != "$(nvm version)" ]; then
+      nvm use
+    fi
+  elif [ -n "$(PWD=$OLDPWD nvm_find_nvmrc)" ] && [ "$(nvm version)" != "$(nvm version default)" ]; then
+    echo "Reverting to nvm default version"
+    nvm use default
+  fi
+}
+
+add-zsh-hook chpwd load-nvmrc
+load-nvmrc
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#zsh

+ 11 - 0
skills/nvm-shell-integration/examples/restore-path.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Deactivate nvm to restore PATH.
+
+### Example
+
+```sh
+nvm deactivate
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#restoring-path

+ 9 - 0
skills/nvm-shell-integration/examples/shell-integration.md

@@ -0,0 +1,9 @@
+## Instructions
+
+Deeper shell integration lets nvm auto-switch Node versions based on `.nvmrc`.
+
+### Notes
+- `nvshim` is not maintained by nvm.
+- The examples below are community recipes.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#deeper-shell-integration

+ 201 - 0
skills/nvm-troubleshooting-linux/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 37 - 0
skills/nvm-troubleshooting-linux/SKILL.md

@@ -0,0 +1,37 @@
+---
+name: nvm-troubleshooting-linux
+description: Diagnose common nvm issues on Linux and WSL, including distro differences, profiles, and PATH errors.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- nvm not working on Linux after installation
+- WSL profile or PATH problems
+- Distro-specific issues (including Alpine)
+
+**Trigger phrases include:**
+- "Linux nvm not found", "WSL", "PATH 异常"
+- "profile 未加载", "发行版差异"
+
+## How to use this skill
+
+**CRITICAL: This skill is Linux/WSL troubleshooting.** Installation steps belong to nvm-install.
+
+1. Identify the distro and shell type.
+2. Follow Linux or WSL troubleshooting steps.
+3. Use Alpine-specific guidance where relevant.
+4. Check compatibility notes for known issues.
+
+### Example file map
+
+- examples/troubleshooting-linux.md
+- examples/wsl-troubleshooting.md
+- examples/alpine-install.md
+- examples/problems.md
+- examples/compatibility-issues.md
+
+## Keywords
+
+linux, wsl, troubleshooting, PATH, profile, compatibility, alpine

+ 19 - 0
skills/nvm-troubleshooting-linux/examples/alpine-install.md

@@ -0,0 +1,19 @@
+## Instructions
+
+Install nvm on Alpine Linux with required build dependencies.
+
+### Alpine 3.13+
+
+```sh
+apk add -U curl bash ca-certificates openssl ncurses coreutils python3 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+```
+
+### Alpine 3.5 - 3.12
+
+```sh
+apk add -U curl bash ca-certificates openssl ncurses coreutils python2 make gcc g++ libgcc linux-headers grep util-linux binutils findutils
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#installing-nvm-on-alpine-linux

+ 10 - 0
skills/nvm-troubleshooting-linux/examples/compatibility-issues.md

@@ -0,0 +1,10 @@
+## Instructions
+
+Known configuration issues with nvm.
+
+### Problems
+- `~/.npmrc` with `prefix`.
+- Environment variables: `$NPM_CONFIG_PREFIX`, `$PREFIX`.
+- Shell option: `set -e`.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#compatibility-issues

+ 15 - 0
skills/nvm-troubleshooting-linux/examples/problems.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Common problems and fixes.
+
+### Examples
+
+```sh
+nvm cache clear
+```
+
+```sh
+nvm install -s 0.8.6
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#problems

+ 16 - 0
skills/nvm-troubleshooting-linux/examples/troubleshooting-linux.md

@@ -0,0 +1,16 @@
+## Instructions
+
+If `nvm: command not found` after install, reload your shell profile.
+
+### Example
+
+```sh
+# bash
+source ~/.bashrc
+# zsh
+source ~/.zshrc
+# ksh
+. ~/.profile
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#troubleshooting-on-linux

+ 15 - 0
skills/nvm-troubleshooting-linux/examples/wsl-troubleshooting.md

@@ -0,0 +1,15 @@
+## Instructions
+
+WSL troubleshooting for DNS resolution errors during install.
+
+### Example
+
+```sh
+sudo rm /etc/resolv.conf
+sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
+sudo bash -c 'echo "[network]" > /etc/wsl.conf'
+sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf'
+sudo chattr +i /etc/resolv.conf
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#wsl-troubleshooting

+ 201 - 0
skills/nvm-troubleshooting-macos/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 36 - 0
skills/nvm-troubleshooting-macos/SKILL.md

@@ -0,0 +1,36 @@
+---
+name: nvm-troubleshooting-macos
+description: Diagnose common nvm issues on macOS, including profile loading, PATH priority, and permissions.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- nvm not working on macOS after installation
+- zsh/bash profile not loading
+- PATH priority or permission issues on macOS
+
+**Trigger phrases include:**
+- "macOS nvm not found", "zshrc", "bash_profile"
+- "PATH 优先级", "权限问题", "兼容性"
+
+## How to use this skill
+
+**CRITICAL: This skill is macOS-specific troubleshooting.** General verification belongs to nvm-verify.
+
+1. Confirm the active shell and profile load order.
+2. Follow macOS troubleshooting steps to locate the failure.
+3. Apply compatibility issue guidance when needed.
+4. Re-test in a new shell session.
+
+### Example file map
+
+- examples/troubleshooting-macos.md
+- examples/macos-troubleshooting.md
+- examples/problems.md
+- examples/compatibility-issues.md
+
+## Keywords
+
+macos, zsh, bash, PATH, permissions, troubleshooting, profile

+ 10 - 0
skills/nvm-troubleshooting-macos/examples/compatibility-issues.md

@@ -0,0 +1,10 @@
+## Instructions
+
+Known configuration issues with nvm.
+
+### Problems
+- `~/.npmrc` with `prefix`.
+- Environment variables: `$NPM_CONFIG_PREFIX`, `$PREFIX`.
+- Shell option: `set -e`.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#compatibility-issues

+ 9 - 0
skills/nvm-troubleshooting-macos/examples/macos-troubleshooting.md

@@ -0,0 +1,9 @@
+## Instructions
+
+macOS-specific troubleshooting tips, including PATH helper and Apple Silicon notes.
+
+### Notes
+- If `vim` sees the system node, adjust `/usr/libexec/path_helper` permissions.
+- Apple Silicon may require Rosetta for older Node versions.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#macos-troubleshooting

+ 15 - 0
skills/nvm-troubleshooting-macos/examples/problems.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Common problems and fixes.
+
+### Examples
+
+```sh
+nvm cache clear
+```
+
+```sh
+nvm install -s 0.8.6
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#problems

+ 10 - 0
skills/nvm-troubleshooting-macos/examples/troubleshooting-macos.md

@@ -0,0 +1,10 @@
+## Instructions
+
+macOS needs Xcode command line tools for git, and proper profile files.
+
+### Steps
+- Install Xcode command line tools.
+- Ensure `~/.zshrc` or `~/.bashrc` exists.
+- Re-run install or source the profile.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#troubleshooting-on-macos

+ 201 - 0
skills/nvm-uninstall/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 34 - 0
skills/nvm-uninstall/SKILL.md

@@ -0,0 +1,34 @@
+---
+name: nvm-uninstall
+description: Remove nvm cleanly, including NVM_DIR cleanup, profile edits, and PATH restoration.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Uninstalling or removing nvm
+- Cleaning NVM_DIR or profile entries
+- Restoring system node priority
+
+**Trigger phrases include:**
+- "uninstall nvm", "移除 nvm", "cleanup"
+- "restore PATH", "恢复系统 Node"
+
+## How to use this skill
+
+**CRITICAL: This skill is for removal and cleanup only.** Installation or usage belongs to other nvm-* skills.
+
+1. Remove NVM_DIR and delete nvm profile entries.
+2. Restore PATH to prioritize the system Node.
+3. Validate that nvm commands are no longer available.
+
+### Example file map
+
+- examples/uninstall.md
+- examples/restore-path.md
+- examples/system-node.md
+
+## Keywords
+
+nvm uninstall, remove, cleanup, PATH restore, system node, 卸载

+ 11 - 0
skills/nvm-uninstall/examples/restore-path.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Deactivate nvm to restore PATH.
+
+### Example
+
+```sh
+nvm deactivate
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#restoring-path

+ 12 - 0
skills/nvm-uninstall/examples/system-node.md

@@ -0,0 +1,12 @@
+## Instructions
+
+Use the system-installed Node.js via the `system` alias.
+
+### Example
+
+```sh
+nvm use system
+nvm run system --version
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#system-version-of-node

+ 21 - 0
skills/nvm-uninstall/examples/uninstall.md

@@ -0,0 +1,21 @@
+## Instructions
+
+Manually remove nvm.
+
+### Steps
+
+```sh
+nvm_dir="${NVM_DIR:-~/.nvm}"
+nvm unload
+rm -rf "$nvm_dir"
+```
+
+Remove from shell profile:
+
+```sh
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[[ -r $NVM_DIR/bash_completion ]] && \. $NVM_DIR/bash_completion
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#uninstalling--removal

+ 201 - 0
skills/nvm-usage-basics/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 43 - 0
skills/nvm-usage-basics/SKILL.md

@@ -0,0 +1,43 @@
+---
+name: nvm-usage-basics
+description: Cover everyday nvm usage for installing, switching, and listing Node versions, including LTS and system node.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Installing a Node version with nvm
+- Switching active Node versions
+- Listing installed or remote versions
+- Using LTS or system node
+
+**Trigger phrases include:**
+- "nvm install", "nvm use", "nvm ls", "ls-remote"
+- "LTS", "长期支持", "system node", "io.js"
+
+## How to use this skill
+
+**CRITICAL: This skill focuses on basic version management commands.** For default version or .nvmrc, use the defaults skill.
+
+1. Select the required command: install, use, ls, or ls-remote.
+2. Choose LTS or specific versions based on stability needs.
+3. Confirm available versions before switching.
+4. Use system node only when required by the OS.
+
+**Important notes:**
+- LTS is recommended for production stability.
+
+### Example file map
+
+- examples/usage.md
+- examples/install-version.md
+- examples/use-version.md
+- examples/list-versions.md
+- examples/long-term-support.md
+- examples/system-node.md
+- examples/iojs.md
+
+## Keywords
+
+nvm use, nvm install, nvm ls, ls-remote, LTS, system node, node versions, 日常使用

+ 79 - 0
skills/nvm-usage-basics/examples/install-version.md

@@ -0,0 +1,79 @@
+# Install Node.js Version
+
+## Instructions
+
+This example demonstrates how to install Node.js versions using nvm.
+
+### Key Concepts
+
+- Installing specific versions
+- Installing latest version
+- Installing LTS versions
+- Installing from aliases
+
+### Example: Install Specific Version
+
+```bash
+# Install specific version
+nvm install 18.17.0
+
+# Install and use immediately
+nvm install 18.17.0 --default
+```
+
+### Example: Install Latest Version
+
+```bash
+# Install latest Node.js version
+nvm install node
+
+# Install latest and set as default
+nvm install node --default
+```
+
+### Example: Install LTS Version
+
+```bash
+# Install latest LTS version
+nvm install --lts
+
+# Install specific LTS alias
+nvm install lts/hydrogen
+nvm install lts/iron
+```
+
+### Example: Install from Alias
+
+```bash
+# Install using alias
+nvm install stable
+nvm install iojs
+```
+
+### Example: Install and Reinstall npm
+
+```bash
+# Install version and reinstall npm
+nvm install 18.17.0 --reinstall-packages-from=current
+
+# Install and use npm version
+nvm install 18.17.0 --latest-npm
+```
+
+### Example: Install with Custom Options
+
+```bash
+# Install with custom npm version
+nvm install 18.17.0 --npm=9.0.0
+
+# Install without npm
+nvm install 18.17.0 --no-npm
+```
+
+### Key Points
+
+- Each version installs with its bundled npm
+- Use `--default` to set as default version
+- LTS versions are recommended for production
+- `node` alias refers to latest version
+- `--reinstall-packages-from` copies packages from current version

+ 12 - 0
skills/nvm-usage-basics/examples/iojs.md

@@ -0,0 +1,12 @@
+## Instructions
+
+Install io.js and migrate packages similarly to node.
+
+### Example
+
+```sh
+nvm install iojs
+nvm install --reinstall-packages-from=iojs iojs
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#iojs

+ 12 - 0
skills/nvm-usage-basics/examples/list-versions.md

@@ -0,0 +1,12 @@
+## Instructions
+
+List installed versions or remote versions.
+
+### Example
+
+```sh
+nvm ls
+nvm ls-remote
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#listing-versions

+ 13 - 0
skills/nvm-usage-basics/examples/long-term-support.md

@@ -0,0 +1,13 @@
+## Instructions
+
+Use LTS aliases like `lts/*` or `lts/argon`.
+
+### Examples
+
+```sh
+nvm install --lts
+nvm install lts/argon
+nvm use lts/*
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#long-term-support

+ 12 - 0
skills/nvm-usage-basics/examples/system-node.md

@@ -0,0 +1,12 @@
+## Instructions
+
+Use the system-installed Node.js via the `system` alias.
+
+### Example
+
+```sh
+nvm use system
+nvm run system --version
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#system-version-of-node

+ 16 - 0
skills/nvm-usage-basics/examples/usage.md

@@ -0,0 +1,16 @@
+## Instructions
+
+Core nvm usage for installing, using, running, and locating Node.js.
+
+### Examples
+
+```sh
+nvm install node
+nvm install 14.7.0
+nvm use node
+nvm run node --version
+nvm exec 4.2 node --version
+nvm which 12.22
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#usage

+ 76 - 0
skills/nvm-usage-basics/examples/use-version.md

@@ -0,0 +1,76 @@
+# Use Node.js Version
+
+## Instructions
+
+This example demonstrates how to switch between Node.js versions using nvm.
+
+### Key Concepts
+
+- Switching versions
+- Using aliases
+- Using .nvmrc files
+- Version activation
+
+### Example: Switch to Specific Version
+
+```bash
+# Switch to specific version
+nvm use 18.17.0
+
+# Switch to latest version
+nvm use node
+
+# Switch to default version
+nvm use default
+```
+
+### Example: Use LTS Version
+
+```bash
+# Use latest LTS
+nvm use --lts
+
+# Use specific LTS alias
+nvm use lts/hydrogen
+nvm use lts/iron
+```
+
+### Example: Use from .nvmrc File
+
+```bash
+# Create .nvmrc file in project
+echo "18.17.0" > .nvmrc
+
+# Use version from .nvmrc
+nvm use
+
+# Auto-use when entering directory (requires shell integration)
+nvm use --silent
+```
+
+### Example: Use Alias
+
+```bash
+# Use version by alias
+nvm use stable
+nvm use my-alias
+```
+
+### Example: Verify Current Version
+
+```bash
+# Check current version
+nvm current
+
+# Or use node command
+node --version
+npm --version
+```
+
+### Key Points
+
+- `nvm use` activates a version in current shell
+- Version must be installed before use
+- `.nvmrc` files specify project Node.js version
+- Changes only affect current shell session
+- Use `nvm current` to check active version

+ 201 - 0
skills/nvm-verify/LICENSE.txt

@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.

+ 40 - 0
skills/nvm-verify/SKILL.md

@@ -0,0 +1,40 @@
+---
+name: nvm-verify
+description: Verify nvm installation and diagnose PATH or profile loading issues after setup.
+license: Complete terms in LICENSE.txt
+---
+
+## When to use this skill
+
+**ALWAYS use this skill when the user mentions:**
+- Verifying nvm, node, or npm versions
+- "nvm: command not found" after installation
+- PATH or profile not updated
+
+**Trigger phrases include:**
+- "nvm --version", "node -v", "npm -v"
+- "PATH 问题", "profile 未加载"
+- "安装后不可用", "verify installation"
+
+## How to use this skill
+
+**CRITICAL: This skill is for verification and initial diagnostics only.** For deeper platform issues, use the troubleshooting skills.
+
+1. Run verification checks for nvm, node, and npm.
+2. If commands fail, inspect profile loading and PATH order.
+3. Apply restore-path and common-problems guidance.
+4. Re-open a new shell session and re-check.
+
+**Important notes:**
+- nvm is a shell function, so the profile must load correctly.
+
+### Example file map
+
+- examples/verify-installation.md
+- examples/problems.md
+- examples/restore-path.md
+- examples/important-notes.md
+
+## Keywords
+
+nvm verify, nvm --version, node -v, npm -v, PATH, profile, verification

+ 11 - 0
skills/nvm-verify/examples/important-notes.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Important caveats and platform notes.
+
+### Notes
+- Source builds require a C++ compiler.
+- WSL works; native Windows does not.
+- `fish` is not supported by nvm itself.
+- Avoid Homebrew-managed nvm.
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#important-notes

+ 15 - 0
skills/nvm-verify/examples/problems.md

@@ -0,0 +1,15 @@
+## Instructions
+
+Common problems and fixes.
+
+### Examples
+
+```sh
+nvm cache clear
+```
+
+```sh
+nvm install -s 0.8.6
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#problems

+ 11 - 0
skills/nvm-verify/examples/restore-path.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Deactivate nvm to restore PATH.
+
+### Example
+
+```sh
+nvm deactivate
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#restoring-path

+ 11 - 0
skills/nvm-verify/examples/verify-installation.md

@@ -0,0 +1,11 @@
+## Instructions
+
+Verify that nvm is installed. `which nvm` will not work because nvm is a shell function.
+
+### Example
+
+```sh
+command -v nvm
+```
+
+Reference: https://github.com/nvm-sh/nvm/blob/master/README.md#verify-installation