Skip to main content

create-prompt

Create a reusable prompt file (.prompt.md) for a common task.

跳到安装

来源信息

仓库
microsoft/vscode
最近来源活动
2026年4月8日 10:59
检测到的 SKILL.md 语言
英语
星标
192,746
分支
42,911

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
create-prompt
description
Create a reusable prompt file (.prompt.md) for a common task.
argument-hint
What task should this prompt help with?
disable-model-invocation
true
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 1. Draft the prompt and save it. 2. Identify the most ambiguous or weak parts and ask about those. 3. 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.
在 GitHub 查看