# 安装 apm-spec-guardian

- 类型: Skill 技能
- 说明: Use this skill to run a four-panel adversarial advisory review on any pull request that touches the OpenAPM specification artifact (docs/src/content/docs/specs/openapm-*.md), its inline / sidecar JSON Schemas (docs/src/content/docs/specs/schemas/*.schema.json), or the conformance fixture seed (tests/fixtures/spec-conformance/**). The panel fans out to four spec-ecosystem reviewers (swagger-openapi-editor, oci-distribution-editor, pkgmgr-registry-contract-editor, w3c-tag-architect), each running in its own agent thread, and a spec-editor synthesizer that produces a fold-now / defer-v0.1.1 / defer-v0.2 / reject list plus a ship decision keyed off a 1..10 shocked_meter scale. The orchestrator is the sole writer to the PR: ONE consolidated comment, no verdict labels, no merge gating. The panel is advisory -- it surfaces findings, prioritizes folds, and renders a ship recommendation that the maintainer weighs.
- 仓库: https://github.com/microsoft/apm

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

### Claude Code
```
请帮我安装 askskill 上的 "apm-spec-guardian" 技能：
1. 下载 https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/apm-spec-guardian/SKILL.md
2. 保存为 ~/.claude/skills/apm-spec-guardian/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "apm-spec-guardian" 技能：
1. 下载 https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/apm-spec-guardian/SKILL.md
2. 保存为 ~/.codex/skills/apm-spec-guardian/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "apm-spec-guardian" 技能：
1. 下载 https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/apm-spec-guardian/SKILL.md
2. 保存为 ~/.cursor/skills/apm-spec-guardian/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

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

### Claude Code
```bash
mkdir -p ~/.claude/skills/apm-spec-guardian && curl -fsSL https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/apm-spec-guardian/SKILL.md -o ~/.claude/skills/apm-spec-guardian/SKILL.md
```

### Codex
```bash
mkdir -p ~/.codex/skills/apm-spec-guardian && curl -fsSL https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/apm-spec-guardian/SKILL.md -o ~/.codex/skills/apm-spec-guardian/SKILL.md
```

### Cursor
```bash
mkdir -p ~/.cursor/skills/apm-spec-guardian && curl -fsSL https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/apm-spec-guardian/SKILL.md -o ~/.cursor/skills/apm-spec-guardian/SKILL.md
```
