AgentHubAgentHub

agent-customization

SkillSkillsMP

io.github.microsoft/vscode/agent-customization · vmain

**WORKFLOW SKILL** — Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md, .agent.md, SKILL.md, copilot-instructions.md, AGENTS.md). USE FOR: saving coding preferences; troubleshooting why instructions/skills/agents are ignored or not invoked; configuring applyTo patterns; defining tool restrictions; creating custom agent modes or specialized workflows; packaging domain knowledge; fixing YAML frontmatter syntax. DO NOT USE FOR: general coding questions (use default agent); runtime debugging or error diagnosis; MCP server configuration (use MCP docs directly); VS Code extension development. INVOKES: file system tools (read/write customization files), ask-questions tool (interview user for requirements), subagents for codebase exploration. FOR SINGLE OPERATIONS: For quick YAML frontmatter fixes or creating a single file from a known pattern, edit the file directly — no skill needed.

概览

agent-customization 是一个Agent Skill,收录自 SkillsMP。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

Agent Skill 是带 SKILL.md 的指令包。安装后,AI 会根据 description 在匹配任务时自动加载,无需每次手动粘贴提示词。

安装

选择你的平台查看安装方式

# 通用 CLI(Cursor / Claude Code / Codex 等均支持)
npx skills add microsoft/vscode@agent-customization

使用方式

安装完成后,在对话中直接描述你的任务(或提及技能名称)。Agent 会先读取 SKILL.md 的 description 判断是否启用,再按其中的步骤执行。可用 /skills(Claude Code)或在设置中查看已加载的 Skills。

相关资源

统一 Manifest

{
  "id": "io.github.microsoft/vscode/agent-customization",
  "type": "skill",
  "version": "main",
  "displayName": "agent-customization",
  "description": "**WORKFLOW SKILL** — Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md, .agent.md, SKILL.md, copilot-instructions.md, AGENTS.md). USE FOR: saving coding preferences; troubleshooting why instructions/skills/agents are ignored or not invoked; configuring applyTo patterns; defining tool restrictions; creating custom agent modes or specialized workflows; packaging domain knowledge; fixing YAML frontmatter syntax. DO NOT USE FOR: general coding questions (use default agent); runtime debugging or error diagnosis; MCP server configuration (use MCP docs directly); VS Code extension development. INVOKES: file system tools (read/write customization files), ask-questions tool (interview user for requirements), subagents for codebase exploration. FOR SINGLE OPERATIONS: For quick YAML frontmatter fixes or creating a single file from a known pattern, edit the file directly — no skill needed.",
  "author": {
    "name": "microsoft",
    "url": "https://github.com/microsoft"
  },
  "repository": {
    "url": "https://github.com/microsoft/vscode",
    "source": "github",
    "subfolder": "extensions/copilot/assets/prompts/skills/agent-customization"
  },
  "homepage": "https://skillsmp.com/skills/microsoft-vscode-extensions-copilot-assets-prompts-skills-agent-customization-skill-md",
  "distribution": {
    "packages": [
      {
        "registryType": "source",
        "identifier": "microsoft/vscode@agent-customization",
        "version": "main",
        "runtimeHint": "npx skills add"
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "codex",
    "vscode"
  ],
  "keywords": [
    "stars:186117"
  ],
  "provenance": {
    "origin": "skillsmp",
    "originalId": "microsoft-vscode-extensions-copilot-assets-prompts-skills-agent-customization-skill-md",
    "originalUrl": "https://skillsmp.com/skills/microsoft-vscode-extensions-copilot-assets-prompts-skills-agent-customization-skill-md",
    "isOfficial": false,
    "status": "active"
  }
}
agent-customization — Agent Skill 安装与配置 · AgentHub