帮助你创建、修复和优化 VS Code 智能体定制文件与工作流配置
该技能材料显示其为开源仓库中的提示/工作流型技能,未要求密钥,也未声明任何远程端点;主要能力集中在指导或编辑 VS Code 自定义文件,整体风险较低。需注意其描述中提到会使用文件系统工具和子代理进行本地文件操作,因此数据访问与执行能力属常规留意项。
材料明确注明无需密钥或环境变量,未见要求提供 API token、账号凭证或其他敏感认证信息,因此凭证泄露与滥用面较低。
系统检查项与材料均显示无远程端点,未声明向外部服务传输用户数据;文档中仅提到可参考官方文档链接,但未体现该技能自身具备固定的数据外发行为。
描述中提到会调用文件系统工具、ask-questions 工具以及用于代码库探索的子代理;这表明其具备一定本地工具调用/代理编排能力,但未见要求执行无关系统命令或申请异常高权限。
其核心用途就是创建和修改工作区或用户级的 VS Code 自定义文件,明确涉及对本地文件的读取/写入;当前访问范围与声明功能基本一致,未见超出用途的大范围数据抓取表述。
来源指向 GitHub 上的微软 vscode 开源仓库,源码可审计,这显著降低供应链风险。虽社区采用数据与维护状态信息不完整、许可证未声明,但现有证据未显示闭源投递、不明发布源或明显注入红旗。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "agent-customization" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/extensions/copilot/assets/prompts/skills/agent-customization/SKILL.md 2. 保存为 ~/.claude/skills/agent-customization/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为我的 VS Code 项目创建一份 copilot-instructions.md,要求包含:TypeScript 优先、提交前必须运行测试、API 代码统一放在 src/api、回答尽量简洁,并说明这些规则适用于哪些文件。
一份结构清晰的定制指令文件,包含规则内容、适用范围和可直接保存的格式。
帮我检查为什么 .instructions.md 没有生效。请从 YAML frontmatter、applyTo 模式、文件命名、目录位置和规则冲突几个方面分析,并给出修复建议。
一份问题诊断结果,指出可能原因、优先修复项以及修改后的示例配置。
请为前端重构任务设计一个自定义 agent 模式,要求它先阅读组件目录,再识别重复逻辑,限制只改动 UI 层文件,并把输出分成计划、变更建议和风险提示。
一套可落地的 agent 定制方案,包含模式定义、工具限制、执行步骤和示例文件内容。
| Primitive | When to Use |
|---|---|
| agent instructions | Always-on, applies everywhere in the project |
| File Instructions | Explicit via applyTo patterns, or on-demand via description |
| MCP | Integrates external systems, APIs, or data |
| Hooks | Deterministic shell commands at agent lifecycle points (block tools, auto-format, inject context) |
| Custom Agents | Subagents for context isolation, or multi-stage workflows with tool restrictions |
| Prompts | Single focused task with parameterized inputs |
| Skills | On-demand workflow with bundled assets (scripts/templates) |
Consult the reference docs for templates, domain examples, advanced frontmatter options, asset organization, anti-patterns, and creation checklists. If the references are not enough, load the official documentation links for each primitive.
| Type | File | Location | Reference |
|---|---|---|---|
| agent instructions | copilot-instructions.md, AGENTS.md | .github/ or root | Link |
| File Instructions | *.instructions.md | .github/instructions/ | Link |
| Prompts | *.prompt.md | .github/prompts/ | Link |
| Hooks | *.json | .github/hooks/ | Link |
| Custom Agents | *.agent.md | .github/agents/ | Link |
| Skills | SKILL.md | .github/skills/<name>/, .agents/skills/<name>/, .claude/skills/<name>/ | Link |
User-level: {{VSCODE_USER_PROMPTS_FOLDER}}/ (*.prompt.md, *.instructions.md, *.agent.md; not skills)
Customizations roam with user's settings sync
If you need to explore or validate patterns in the codebase, use a read-only subagent. If the ask-questions tool is available, use it to interview the user and clarify requirements.
Follow these steps when creating any customization file.
Ask the user where they want the customization:
.github/ folder{{VSCODE_USER_PROMPTS_FOLDER}}/Use the Decision Flow above to select the appropriate file type based on the user's need.
Create the file directly at the appropriate path:
After creating:
--- markers)description is present and meaningfulInstructions vs Skill? Does this apply to most work, or specific tasks? Most → Instructions. Specific → Skill.
Skill vs Prompt? Both appear as slash commands in chat (type /). Multi-step workflow with bundled assets → Skill. Single focused task with inputs → Prompt.
Skill vs Custom Agent? Same capabilities for all steps → Skill. Need context isolation (subagent returns single output) or different tool restrictions per stage → Custom Agent.
Hooks vs Instructions? Instructions guide agent behavior (non-deterministic). Hooks enforce behavior via shell commands at lifecycle events like PreToolUse or PostToolUse — they can block operations, require approval, or run formatters deterministically. Hooks can be defined in standalone .json files (see hooks reference) or inline in custom agent frontmatter via the hooks attribute (see agents reference).
…
运行聊天性能基准与内存泄漏检查,定位聊天界面回归和性能问题。
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
帮助开发者定位并读取 Code OSS 开发构建日志,快速排查运行与扩展问题。
帮助开发者升级 Anthropic SDK、迁移版本并解决相关依赖与类型问题。
为 AI 编码助手生成或更新聊天定制配置文件,统一协作与开发体验
帮助用户更新 GitHub Copilot 的 CLI 或 SDK 到较新版本。
帮助开发者整合技能、MCP 服务与代理配置,增强编码代理的上下文与执行能力
帮助团队挖掘高频编码代理流程,并审计优化技能以便复用发布
为 AI 编码代理提供开发、文档、规划等扩展技能集合,提升专业工作流能力。
用于在聊天自定义编辑器中配置和管理智能体、技能、提示词及集成组件。
帮助用户创建或更新技能,扩展 Codex 的知识、流程与工具能力
帮助你创建、整理、校验并重构 AgentSkills 与 SKILL.md 技能文件。