副驾驶定制
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# VS Code Copilot Customization
## Decision Matrix
Use this matrix to recommend the right customization type. Always start here.
| Scenario | Best choice |
| ------------------------------------------------------------------- | ---------------------------------- |
| Project-wide coding standards, always active | `copilot-instructions.md` |
| Rules only for specific file types / folders | `*.instructions.md` with `applyTo` |
| Works with multiple AI agents (Claude, Copilot, etc.) | `AGENTS.md` |
| Reusable task you invoke manually in chat | Prompt file (`.prompt.md`) |
| Specialized workflow with tool restrictions or model choice | Custom agent (`.agent.md`) |
| Portable capability reusable across projects + CLI + cloud agents | Agent skill (`SKILL.md`) |
| Auto-run commands at agent lifecycle points (format, lint, enforce) | Hook (`.json`) |
| Bundle multiple customizations to share or distribute | Agent plugin (`plugin.json`) |
### Quick decision flow
```
Do you want it ON automatically for every request?
├─ YES → Instructions (.instructions.md / copilot-instructions.md / AGENTS.md)
└─ NO, I invoke it manually →
Does it need persistent persona, tool restrictions, or model choice?
├─ YES → Custom Agent (.agent.md)
└─ NO →
Is it a reusable multi-agent portable capability?
├─ YES → Agent Skill (SKILL.md)
└─ NO → Prompt File (.prompt.md)
Do you want to run shell commands around agent actions?
└─ YES → Hook (hooks/*.json)
Do you want to bundle everything for distribution?
└─ YES → Agent Plugin (plugin.json)
```
---
## 1. Custom Instructions
Always-on context and rules. Stored in `.github/copilot-instructions.md` (workspace-wide), `AGENTS.md` (multi-agent), or `*.instructions.md` (file-scoped via `applyTo` glob).
Read `references/instructions.md` when asked to create, write, or configure custom instructions.
---
## 2. Prompt Files
Reusable task templates invoked manually via `/` slash command. Stored in `.github/prompts/*.prompt.md`.
Read `references/prompt-files.md` when asked to create a prompt file or reusable chat task.
---
## 3. Custom Agents
Specialized Copilot persona with tool whitelist, model choice, and optional handoffs. Stored in `.github/agents/*.agent.md`.
Read `references/custom-agents.md` when asked to create a custom agent or chat mode.
---
## 4. Agent Skills
Portable, progressive-loading capabilities that work across VS Code, Copilot CLI, and cloud agents. Stored in `.github/skills/<name>/SKILL.md`.
Read `references/agent-skills.md` when asked to create a skill or when the user asks about SKILL.md format, frontmatter fields, or skill best practices.
---
## 5. Hooks
Shell commands triggered at agent lifecycle events (`PostToolUse`, `Stop`, etc.). Stored in `.github/hooks/*.json`.
Read `references/hooks.md` when asked to create a hook, set up auto-formatting, or run commands around agent actions.
---
## 6. Agent Plugins
Bundle skills, agents, hooks, and MCP servers for distribution. Defined in `plugin.json`.
Read `references/plugins.md` when asked to create, publish, or install an agent plugin.
---
## File Locations Reference
| Type | Workspace location | User profile location |
| ------------------------------------ | ---------------------------------------- | ------------------------- |
| Always-on instructions (Copilot) | `.github/copilot-instructions.md` | — |
| Always-on instructions (multi-agent) | `AGENTS.md` | — |
| Targeted instructions | `.github/instructions/*.instructions.md` | `~/.vscode/instructions/` |
| Prompt files | `.github/prompts/*.prompt.md` | `~/.vscode/prompts/` |
| Custom agents | `.github/agents/*.agent.md` | `~/.vscode/agents/` |
| Agent skills | `.github/skills/<name>/SKILL.md` | `~/.vscode/skills/` |
| Hooks | `.github/hooks/*.json` | `~/.vscode/hooks/` |
| Claude Code agents | `.claude/agents/*.md` | — |
| Claude Code rules | `.claude/rules/*.md` | — |
---
## AI Generation Commands
```
/init → workspace-wide copilot-instructions.md
/create-instruction → targeted .instructions.md
/create-prompt → .prompt.md file
/create-agent → .agent.md file
/create-skill → agent skill directory
/create-hook → hook JSON file
```
Open the **Chat Customizations editor** for a visual overview:
```
Command Palette → "Chat: Open Chat Customizations"
```
---
## Reference files
- `references/instructions.md` – Custom instructions templates and settings
- `references/prompt-files.md` – Prompt file templates and input variables
- `references/custom-agents.md` – Agent templates and handoff configuration
- `references/agent-skills.md` – Skill format, progressive loading, official docs
- `references/hooks.md` – Hook templates, events, naming convention
- `references/plugins.md` – Plugin structure and distribution
- `references/frontmatter-reference.md` – Complete frontmatter field reference for all types
- `references/examples.md` – Real-world examples organized by use case
---
> Source: [danielsitek/skills](https://github.com/danielsitek/skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->
章节与文件索引
按说明文件中的顺序排列。
决策矩阵
1. 定制说明
2. 提示文件
3. 定制代理
4. 代理人技巧
文件/命令 -> copilot-instructions.md · *.instructions.md · applyTo · AGENTS.md · .prompt.md · .agent.md · .json · plugin.json
内容校验值 -> 67d49b2219b6
当前原文的自动摘译,尚未人工审校。
决策矩阵
使用此矩阵来推荐正确的定制类型。永远从这里开始。场景 · 最佳选择 项目范围的编码标准,始终有效 ·
copilot-instructions.md仅适用于特定文件类型/文件夹的规则 ·*.instructions.md与applyTo与多个 AI 代理(Claude、Copilot 等)配合使用 ·AGENTS.md1. 定制说明
始终在线的上下文和规则。存储在
.github/copilot-instructions.md(工作空间范围)、AGENTS.md(多代理)或*.instructions.md(通过applyToglob 确定文件范围)。当被要求创建、编写或配置自定义指令时,请阅读references/instructions.md。2. 提示文件
通过
/斜杠命令手动调用可重用的任务模板。保存在.github/prompts/*.prompt.md中。当要求创建提示文件或可重复使用的聊天任务时,请阅读references/prompt-files.md。3. 定制代理
专门的副驾驶角色,具有工具白名单、模型选择和可选的切换。存储在
.github/agents/*.agent.md中。当被要求创建自定义代理或聊天模式时,请阅读references/custom-agents.md。4. 代理人技巧
可跨 VS Code、Copilot CLI 和云代理运行的便携式渐进式加载功能。存储在
.github/skills/<name>/SKILL.md中。当被要求创建技能或当用户询问 SKILL.md 格式、frontmatter 字段或技能最佳实践时,请阅读references/agent-skills.md。