# 安装 architecture-primitives

- 类型: Skill 技能
- 说明: Catalog of reusable architectural primitives — boundaries, contracts, state machines, queues, caches, consistency models, and more. For each: what it is, when it's right, when it's WRONG. Use when selecting patterns for a design or evaluating whether a pattern fits.
- 仓库: https://github.com/microsoft/amplifier-bundle-systems-design

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

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

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

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

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

### Claude Code
```bash
mkdir -p ~/.claude/skills/architecture-primitives && curl -fsSL https://raw.githubusercontent.com/microsoft/amplifier-bundle-systems-design/main/skills/architecture-primitives/SKILL.md -o ~/.claude/skills/architecture-primitives/SKILL.md
```

### Codex
```bash
mkdir -p ~/.codex/skills/architecture-primitives && curl -fsSL https://raw.githubusercontent.com/microsoft/amplifier-bundle-systems-design/main/skills/architecture-primitives/SKILL.md -o ~/.codex/skills/architecture-primitives/SKILL.md
```

### Cursor
```bash
mkdir -p ~/.cursor/skills/architecture-primitives && curl -fsSL https://raw.githubusercontent.com/microsoft/amplifier-bundle-systems-design/main/skills/architecture-primitives/SKILL.md -o ~/.cursor/skills/architecture-primitives/SKILL.md
```
