# 安装 manage-bans

- 类型: Skill 技能
- 说明: 用于创建和管理 AST 禁用规则，阻止特定代码语法或模式出现在编辑中。
- 仓库: https://github.com/microsoft/vscode-team-kit

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

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

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

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

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

### Claude Code
```bash
mkdir -p '~/.claude/skills/manage-bans' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/vscode-team-kit/main/ban-ast/skills/manage-bans/SKILL.md' -o '~/.claude/skills/manage-bans/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/manage-bans' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/vscode-team-kit/main/ban-ast/skills/manage-bans/SKILL.md' -o '~/.codex/skills/manage-bans/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/manage-bans' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/vscode-team-kit/main/ban-ast/skills/manage-bans/SKILL.md' -o '~/.cursor/skills/manage-bans/SKILL.md'
```
