# 安装 gc-safe-coding

- 类型: Skill 技能
- 说明: 帮助开发者编写和审查符合 Hermes VM 垃圾回收安全规范的 C++ 代码
- 仓库: https://github.com/facebook/hermes
- ⚠ 安全: 该技能材料显示其为开源的纯提示/规范类内容，不要求密钥，也未声明任何网络端点、代码执行或数据读写能力，整体风险较低。主要不确定性在于仓库社区采用度低、许可证未声明且维护状态未知，属于供应链层面的轻度留意点。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "gc-safe-coding" 技能：
1. 下载 https://raw.githubusercontent.com/facebook/hermes/static_h/.claude/skills/gc-safe-coding/SKILL.md
2. 保存为 ~/.claude/skills/gc-safe-coding/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "gc-safe-coding" 技能：
1. 下载 https://raw.githubusercontent.com/facebook/hermes/static_h/.claude/skills/gc-safe-coding/SKILL.md
2. 保存为 ~/.codex/skills/gc-safe-coding/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "gc-safe-coding" 技能：
1. 下载 https://raw.githubusercontent.com/facebook/hermes/static_h/.claude/skills/gc-safe-coding/SKILL.md
2. 保存为 ~/.cursor/skills/gc-safe-coding/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p '~/.claude/skills/gc-safe-coding' && curl -fsSL 'https://raw.githubusercontent.com/facebook/hermes/static_h/.claude/skills/gc-safe-coding/SKILL.md' -o '~/.claude/skills/gc-safe-coding/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/gc-safe-coding' && curl -fsSL 'https://raw.githubusercontent.com/facebook/hermes/static_h/.claude/skills/gc-safe-coding/SKILL.md' -o '~/.codex/skills/gc-safe-coding/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/gc-safe-coding' && curl -fsSL 'https://raw.githubusercontent.com/facebook/hermes/static_h/.claude/skills/gc-safe-coding/SKILL.md' -o '~/.cursor/skills/gc-safe-coding/SKILL.md'
```
