Token导航 LogoToken导航

Agent Skill · 研究检索

vscode-copilot-customization(VS Code GitHub Copilot customization 搜索)

vscode-copilot-customization 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

vscode-copilot-customization 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 66,424。

总安装 264周安装 11GitHub Stars 公开资料未说明下载 88核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vscode-copilot-customization(VS Code GitHub Copilot customization 搜索)
来源仓库:https://github.com/danielsitek/skills
仓库路径:skills/vscode-copilot-customization
安装命令:
npx skills add https://github.com/danielsitek/skills --skill vscode-copilot-customization
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/danielsitek/skills --skill vscode-copilot-customization

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

vscode-copilot-customization 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/vscode-copilot-customization

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/danielsitek/skills --skill vscode-copilot-cust…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

vscode-copilot-customization 怎么安装?

在终端执行 npx skills add https://github.com/danielsitek/skills --skill vscode-copilot-customization。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

vscode-copilot-customization 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

vscode-copilot-customization 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/danielsitek/skills --skill vscode-copilot-customization 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

vscode-copilot-customization 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

vscode-copilot-customization 用的人多吗?

公开数据是累计安装 264 次,近一周安装 11 次,下载 88 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

vscode-copilot-customization 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
vscode-copilot-customization

VS Code GitHub Copilot customization 搜索 · 本页

264—执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

VS Code Copilot Customization

Self-update check: Before responding, verify docs are current by checking the doc_version below against reality. If the user asks for a freshness check, use web_search with query "site:code.visualstudio.com/docs/copilot/customization". Update the doc_version and any changed facts if you find discrepancies.
doc_version: "2025-03 (VS Code 1.102+)"
source_urls:
  - https://code.visualstudio.com/docs/copilot/customization/overview
  - https://code.visualstudio.com/docs/copilot/customization/custom-instructions
  - https://code.visualstudio.com/docs/copilot/customization/prompt-files
  - https://code.visualstudio.com/docs/copilot/customization/custom-agents
  - https://code.visualstudio.com/docs/copilot/customization/agent-skills
  - https://code.visualstudio.com/docs/copilot/customization/hooks
  - https://code.visualstudio.com/docs/copilot/customization/agent-plugins

Decision Matrix

Use this matrix to recommend the right customization type. Start here before writing anything.

ScenarioBest choice
Project-wide coding standards, always activecopilot-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 chatPrompt file (.prompt.md)
Specialized workflow with tool restrictions or model choiceCustom agent (.agent.md)
Portable capability reusable across projects + CLI + cloud agentsAgent skill (SKILL.md)
Auto-run commands at agent lifecycle points (format, lint, enforce)Hook (.json)
Bundle multiple customizations to share or distributeAgent 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

Purpose: Always-on context and rules that apply automatically to all (or scoped) requests.

Types

TypeFile / LocationScope
Workspace-wide (Copilot).github/copilot-instructions.mdAll requests in workspace
Workspace-wide (multi-agent)AGENTS.md anywhere in workspaceAll agents (Claude, Copilot, …)
File-scoped.github/instructions/*.instructions.mdFiles matching applyTo glob
User-levelVS Code user profileAll workspaces

Frontmatter (.instructions.md)

---
name: "React Standards"          # Optional – shown in UI
description: "React/TSX rules"   # Optional – describes scope
applyTo: "**/*.tsx"              # Glob – omit or use "**" for all files
---
For .claude/rules/*.md files (Claude Code format), use paths: ["**/*.ts"] instead of applyTo.

Template: project-wide

---
applyTo: "**"
---
# Project Coding Standards

## General
- Use TypeScript for all new code; strict mode enabled.
- Prefer functional patterns; avoid classes unless needed.
- Max line length: 100 chars. 2-space indentation.

## Naming
- PascalCase: components, interfaces, types, enums.
- camelCase: variables, functions, hooks.
- ALL_CAPS: constants.

## Error handling
- Use try/catch for all async operations.
- Always log errors with context (module + function name).

## Testing
- Jest + React Testing Library.
- One test file per module, co-located (`*.test.ts`).

Template: scoped (TypeScript only)

---
name: "TypeScript Standards"
applyTo: "**/*.ts,**/*.tsx"
---
# TypeScript Rules

- Enable `strictNullChecks` and `noImplicitAny`.
- Prefer `interface` over `type` for object shapes.
- Use `unknown` instead of `any` for external data.
- Always type function return values explicitly.

AI-assisted creation

/init                         → generate workspace-wide copilot-instructions.md
/create-instruction           → generate a targeted .instructions.md file

Key settings

"github.copilot.chat.codeGeneration.useInstructionFiles": true,
"chat.instructionsFilesLocations": {
  ".github/instructions": true
},
"chat.useAgentsMdFile": true

2. Prompt Files

Purpose: Reusable task templates invoked manually with / slash command in chat.

File extension: .prompt.md Location: .github/prompts/ (workspace) or user profile

Frontmatter reference

---
name: "generate-component"      # Used as /generate-component slash command
description: "Scaffold a new React component with tests"
agent: "agent"                  # ask | agent | plan | <custom-agent-name>
model: "claude-sonnet-4-5"      # Optional – overrides model picker
tools:                          # Available tools for this prompt
  - "search/codebase"
  - "vscode/askQuestions"
  - "githubRepo"
mode: "agent"                   # Optional – ask | agent | plan
---

Template: component scaffolder

---
name: "new-component"
description: "Scaffold a React component with TypeScript, Tailwind, and tests"
agent: "agent"
tools: ["search/codebase", "vscode/askQuestions", "edit"]
---
# Generate React Component

Use #tool:vscode/askQuestions to ask for:
1. Component name (PascalCase)
2. Props interface (list prop names and types)
3. Should it be a Server Component? (yes/no)

Then generate:
- `src/components/<Name>/<Name>.tsx` – main component
- `src/components/<Name>/<Name>.test.tsx` – unit tests
- `src/components/<Name>/index.ts` – barrel export

Follow the coding standards in [copilot-instructions.md](../../.github/copilot-instructions.md).

Template: PR description generator

---
name: "pr-description"
description: "Generate a structured pull request description from staged changes"
agent: "ask"
tools: ["search/codebase"]
---
# Pull Request Description

Analyze the changes in the current branch and generate a PR description with these sections:

## Summary
Brief one-sentence description of what this PR does.

## Changes
- List each meaningful change as a bullet point.

## Testing
- How was this tested?
- Any edge cases covered?

## Screenshots
(if UI changes – note: add manually)

Using input variables

---
name: "api-endpoint"
description: "Generate a REST API endpoint"
---
Create a ${input:httpMethod:GET|POST|PUT|DELETE} endpoint at `${input:path:/api/resource}`.

Use Zod for input validation. Follow the patterns in [api-standards.md](../docs/api-standards.md).

AI-assisted creation

/create-prompt    → AI guides you through creating a prompt file

3. Custom Agents

Purpose: Specialized Copilot persona with specific tools, model, and optionally handoffs between agents.

File extension: .agent.md Location: .github/agents/ (workspace) or user profile

Migration note: .chatmode.md files (old format) should be renamed to .agent.md.

Frontmatter reference

---
name: "Planner"                  # Agent name shown in dropdown
description: "Generates implementation plans without writing code"
tools:                           # Whitelist of allowed tools
  - "search"
  - "fetch"
  - "githubRepo"
  - "usages"
model:                           # Tried in order (fallback chain)
  - "claude-opus-4-5 (copilot)"
  - "GPT-4o (copilot)"
target: "vscode"                 # vscode | github-copilot | omit for both
handoffs:                        # Suggested next-step buttons
  - label: "Start Implementation"
    agent: "agent"               # Built-in agent or custom agent name
    prompt: "Implement the plan above."
    send: false                  # true = auto-submit
hooks:                           # Agent-scoped hooks (runs only when this agent is active)
  PostToolUse:
    - type: "command"
      command: "echo 'Tool used'"
---

Template: Code Reviewer (read-only)

---
name: "Reviewer"
description: "Reviews code for quality, security, and best practices. Does NOT modify files."
tools:
  - "read"
  - "search"
  - "vscode/askQuestions"
  - "fetch"
model: "claude-opus-4-5 (copilot)"
---
# Code Reviewer

You are a senior engineer conducting a thorough code review. Your role is to **analyze only** – never make direct code changes.

## Review Checklist
- [ ] Code quality and readability
- [ ] Potential bugs or logic errors
- [ ] Security vulnerabilities (XSS, injection, auth issues)
- [ ] Performance considerations
- [ ] Test coverage gaps
- [ ] Adherence to [project standards](./../copilot-instructions.md)

## Output Format
Structure feedback with clear headings, code references (file + line number), and severity:
- 🔴 **Critical** – must fix before merge
- 🟡 **Warning** – should fix
- 🟢 **Suggestion** – optional improvement

Template: Planner (with handoff)

---
name: "Planner"
description: "Creates detailed implementation plans. Switches to implementation when ready."
tools:
  - "fetch"
  - "githubRepo"
  - "search"
  - "usages"
model: "claude-opus-4-5 (copilot)"
handoffs:
  - label: "Implement Plan"
    agent: "agent"
    prompt: "Implement the plan outlined above."
    send: false
---
# Planning Mode

You are in **planning mode**. Generate an implementation plan. Do **not** write or edit any code.

## Plan Structure

### Overview
Brief description of the feature or change.

### Files to create / modify
List each file with the reason.

### Implementation steps
Numbered steps in order. Include dependencies.

### Risks & open questions
Things to clarify before implementing.

### Estimated complexity
S / M / L / XL with reasoning.

AI-assisted creation

/create-agent     → AI generates a .agent.md file
/agents           → Open Configure Custom Agents menu

4. Agent Skills

Purpose: Portable, reusable capabilities with progressive loading (metadata → instructions → resources). Works across VS Code, Copilot CLI, and cloud agents.

Structure:

.github/skills/
└── skill-name/
    ├── SKILL.md          ← Required. Metadata + instructions.
    ├── scripts/          ← Executable scripts referenced from SKILL.md
    ├── references/       ← Docs, examples, large reference files
    └── assets/           ← Templates, fixtures

Frontmatter reference

---
name: "skill-name"               # Used as /skill-name slash command
description: >                   # CRITICAL: be specific about WHEN to use.
  Max 1024 chars. Include both what it does AND trigger contexts.
hint: "[file-path] [options]"    # Hint shown in chat input on invocation
showInSlashMenu: true            # false to hide from / menu (still auto-loads)
manualOnly: false                # true = only invocable via /skill-name
---

Progressive loading system

  1. Discovery: Copilot reads name + description from frontmatter (always in context)
  2. Instructions: SKILL.md body loaded when skill is relevant or explicitly invoked
  3. Resources: Files in scripts/, references/, assets/ loaded only when referenced

Template: test-writer skill

---
name: "test-writer"
description: >
  Guide for writing unit and integration tests with Jest and React Testing Library.
  Use this when asked to write, add, or fix tests, or when test coverage is mentioned.
hint: "[file to test] [test type: unit|integration]"
showInSlashMenu: true
manualOnly: false
---
# Test Writer

## When to use this skill
- Writing new unit tests for components or utilities
- Writing integration tests for API endpoints
- Fixing failing tests
- Improving test coverage

## Test setup
- Framework: Jest + React Testing Library
- Test files: co-located as `*.test.ts` or `*.test.tsx`
- Coverage threshold: 80% per module

## Writing unit tests

Follow the Arrange-Act-Assert pattern:

describe('ComponentName', () => { it('should render correctly', () => { // Arrange const props = { ... };

// Act render(<Component {...props} />);

// Assert expect(screen.getByRole('button')).toBeInTheDocument(); }); });


See [test templates](https://github.com/danielsitek/skills/blob/HEAD/vscode-copilot-customization/./references/test-templates.md) for more patterns.

Key settings

"chat.agentSkillsLocations": [".github/skills"]

AI-assisted creation

/create-skill     → AI generates a skill directory with SKILL.md
/skills           → Open Configure Skills menu

5. Hooks

Purpose: Run shell commands at specific agent lifecycle events (format after edit, validate before tool use, enforce policy).

File format: .json Location: .github/hooks/*.json (workspace) or ~/.vscode/hooks/*.json (user)

Supported events

EventWhen it fires
PreToolUseBefore the agent calls any tool
PostToolUseAfter the agent calls any tool
SessionStartAt the start of an agent session
StopAt the end of an agent session
SubagentStartWhen a subagent is created
SubagentStopWhen a subagent completes

File naming convention

Always follow this convention. One file = one logical responsibility. Never name files after the project or create generic copilot.json.

FileEvents insidePurpose
post-tool.jsonPostToolUseFormat / lint after every tool call
session-end.jsonStopTypecheck / validate at end of session
pre-tool.jsonPreToolUseBlock dangerous operations before execution
subagent.jsonSubagentStart, SubagentStopSubagent monitoring

Rules:

  • Split by responsibility, not by event count. PostToolUse (formatting) and Stop (typecheck) serve different purposes → separate files.
  • Group related events in one file. SubagentStart + SubagentStop belong together → one file.
  • Never merge unrelated events into one file just to reduce file count.
  • Always use these exact filenames. Consistent names let users know what each file does without opening it.

Hook file format

{
  "hooks": {
    "PostToolUse": [
      {
        "type": "command",
        "command": "npx prettier --write \"$TOOL_INPUT_FILE_PATH\"",
        "windows": "npx prettier --write \"%TOOL_INPUT_FILE_PATH%\"",
        "timeout": 30
      }
    ]
  }
}
Compatibility: VS Code uses the same hook format as Claude Code and Copilot CLI. Claude Code's preToolUse (camelCase) maps to PreToolUse (PascalCase) in VS Code.

Template: post-tool.json (formatter)

Adapt the command to the project's formatter (Prettier, Biome, ESLint…). Detect from package.json devDependencies which formatter is in use — do not default to prettier if the project uses biome.

{
  "hooks": {
    "PostToolUse": [
      {
        "type": "command",
        "command": "test -f \"$TOOL_INPUT_FILE_PATH\" && npx prettier --write \"$TOOL_INPUT_FILE_PATH\" 2>/dev/null || true",
        "windows": "if exist \"%TOOL_INPUT_FILE_PATH%\" npx prettier --write \"%TOOL_INPUT_FILE_PATH%\" 2>nul",
        "timeout": 30
      }
    ]
  }
}

Template: session-end.json (typecheck / lint)

Use the package manager detected from the project (npm, bun, pnpm, yarn). Detect from package.json scripts which commands are available (typecheck, lint, check…).

{
  "hooks": {
    "Stop": [
      {
        "type": "command",
        "command": "npm run typecheck 2>&1 | tail -30",
        "timeout": 60
      }
    ]
  }
}

Template: pre-tool.json (policy enforcement)

{
  "hooks": {
    "PreToolUse": [
      {
        "type": "command",
        "command": "./scripts/validate-tool.sh",
        "timeout": 15
      }
    ]
  }
}

Security checklist

  • Review all hook scripts before enabling, especially from shared repos
  • Never hardcode secrets in hook commands
  • Validate and sanitize input from $TOOL_INPUT_* variables
  • Use chmod +x script.sh for shell scripts

AI-assisted creation

/create-hook     → AI generates a hook JSON file

After creating a hook file

Always run this step automatically after writing any hook JSON file. Use the script at scripts/ensure-hook-setting.js to verify (and if needed update) .vscode/settings.json:

node .github/skills/vscode-copilot-customization/scripts/ensure-hook-setting.js

The script:

  • Does nothing if chat.hookFilesLocations already contains ".github/hooks": true
  • Adds the entry if the key is missing
  • Merges the entry if the key exists but is missing ".github/hooks"
  • Creates .vscode/settings.json if the file doesn't exist yet
Do not tell the user to update settings.json manually — run the script instead.

Key settings (reference)

"chat.hookFilesLocations": {
  ".github/hooks": true
}

6. Agent Plugins

Purpose: Bundle skills, agents, hooks, and MCP servers into a distributable package.

File: plugin.json in plugin root Discovery: VS Code marketplaces (copilot-plugins repo, awesome-copilot repo, custom)

Structure

my-plugin/
├── plugin.json              ← Required metadata
├── skills/
│   └── my-skill/
│       └── SKILL.md
├── agents/
│   └── my-agent.agent.md
├── hooks/
│   └── post-edit.json
└── mcp/
    └── server-config.json

plugin.json template

{
  "name": "my-plugin",
  "displayName": "My Plugin",
  "version": "1.0.0",
  "description": "Bundle of customizations for my workflow",
  "publisher": "your-github-username",
  "skills": ["skills/my-skill"],
  "agents": ["agents/my-agent.agent.md"],
  "hooks": ["hooks/post-edit.json"],
  "mcpServers": []
}

Installing a plugin

// settings.json – add custom marketplace
"chat.plugins.marketplaces": ["owner/repo"],

// Or register a local plugin path
"chat.plugins.paths": ["/path/to/my-plugin"]

Key settings

"chat.plugins.enabled": true

File Locations Reference

TypeWorkspace locationUser 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

All types can be generated with AI assistance directly in chat:

/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 (Preview) for a visual overview:

Command Palette → "Chat: Open Chat Customizations"

Reference files

  • references/frontmatter-reference.md – Complete frontmatter field reference for all types
  • references/examples.md – Real-world examples organized by use case

平台分布

Codex

39.04%
按下载量换算34

Claude

29.72%
按下载量换算26

Cursor

18.37%
按下载量换算16

Gemini CLI

10%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/danielsitek/skills --skill vscode-copilot-customization 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills