Agent skill
create-prompt
Create a reusable prompt file (.prompt.md) for a common task.
Install this agent skill to your Project
npx add-skill https://github.com/microsoft/vscode/tree/main/extensions/copilot/assets/prompts/skills/create-prompt
SKILL.md
Related skill: agent-customization. Load and follow prompts.md for template and principles.
Guide the user to create a .prompt.md.
Extract from Conversation
First, review the conversation history. If the user has been working on a repeatable task pattern (e.g., explaining code, generating tests, refactoring), generalize that into a reusable prompt. Extract:
- The core task being performed repeatedly
- Any implicit inputs (selected code, file type, context)
- The desired output format or style
Clarify if Needed
If no clear pattern emerges from the conversation, clarify:
- What task should this prompt help with?
- Should it take arguments or use fixed context?
- Workspace-scoped or personal?
Iterate
- Draft the prompt and save it.
- Identify the most ambiguous or weak parts and ask about those.
- Once finalized, summarize what the prompt does, suggest example invocations, and propose related customizations to create next.
Remember to follow the agent-customization guidelines to create highly effective prompts.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
component-fixtures
Use when creating or updating component fixtures for screenshot testing, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, and common pitfalls.
memory-leak-audit
Audit code for memory leaks and disposable issues. Use when reviewing event listeners, DOM handlers, lifecycle callbacks, or fixing leak reports. Covers addDisposableListener, Event.once, MutableDisposable, DisposableStore, and onWillDispose patterns.
fix-ci-failures
Investigate and fix CI failures on a pull request. Use when CI checks fail on a PR branch — covers finding the PR, identifying failed checks, downloading logs and artifacts, extracting the failure cause, and iterating on a fix. Requires the `gh` CLI.
azure-pipelines
Use when validating Azure DevOps pipeline changes for the VS Code build. Covers queueing builds, checking build status, viewing logs, and iterating on pipeline YAML changes without waiting for full CI runs.
add-policy
Use when adding, modifying, or reviewing VS Code configuration policies. Covers the full policy lifecycle from registration to export to platform-specific artifacts. Run on ANY change that adds a `policy:` field to a configuration property.
chat-customizations-editor
Use when working on the Chat Customizations editor — the management UI for agents, skills, instructions, hooks, prompts, MCP servers, and plugins.
Didn't find tool you were looking for?