Skills Plugins MCP Prompt Model 博客 我的中心

update-skills

Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says "learn!", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=microsoft-vscode-src-vs-sessions-skills-update-skills-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name update-skills description Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says "learn!", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions. Update Skills & Instructions When a major repository learning is discovered — a recurring pattern, a non-obvious pitfall, a crucial architectural constraint, or domain knowledge that would save future sessions significant time — capture it as a skill or instruction so it persists across sessions. When to Use The user explicitly says "learn!" or asks to capture a learning You discover a significant pattern or constraint that cost meaningful debugging time You identify reusable domain knowledge that isn't documented anywhere in the repo A correction from the user reveals a general principle worth preserving Decision: Skill vs Instruction vs Learning Add a learning to an existing instruction when: The insight is small (1-4 sentences) and fits naturally into an existing instruction file It refines or extends an existing guideline Follow the pattern in .github/instructions/learnings.instructions.md Create or update a skill ( .github/skills/{name}/SKILL.md or .agents/skills/{name}/SKILL.md ) when: The knowledge is substantial (multi-step procedure, detailed guidelines, or rich examples) It covers a distinct domain area (e.g., "how to debug X", "patterns for Y") Future sessions should be able to invoke it by name Create or update an instruction ( .github/instructions/{name}.instructions.md ) when: The rule should apply automatically based on file patterns ( applyTo ) or globally It's a coding convention, architectural constraint, or process rule It doesn't need to be invoked on demand Procedure 1. Identify the Learning Reflect on what went wrong or what was discovered: What was the problem or unexpected behavior? Why was it a problem? (root cause, not symptoms) How was it fixed or what's the correct approach? Can it be generalized beyond this specific instance? 2. Check for Existing Files Before creating new files, search for existing skills and instructions that might be the right home: # Check existing skills ls .github/skills/ .agents/skills/ 2>/dev/null # Check existing instructions ls .github/instructions/ 2>/dev/null # Search for related content grep -r "related-keyword" .github/skills/ .github/instructions/ .agents/skills/ 3a. Add to Existing File If an appropriate file exists, add the learning to its ## Learnings section (create the section if it doesn't exist). Each learning should be 1-4 sentences. 3b. Create a New Skill If the knowledge warrants a standalone skill: Choose the location: .github/skills/{name}/SKILL.md for project-level skills (committed to repo) .agents/skills/{name}/SKILL.md for agent-specific skills Create the directory and SKILL.md with frontmatter: --- name: {skill-name} description: {One-line description of when and why to use this skill.} --- # {Skill Title} {Body with guidelines, procedures, examples, and learnings.} The name field must match the parent folder name exactly. Include concrete examples — skills with examples are far more useful than abstract rules. 3c. Create a New Instruction If the knowledge should apply automatically: --- description: {When these instructions should be loaded} applyTo: '{glob pattern}' # optional — auto-load when matching files are attached --- {Content of the instruction.} 4. Quality Checks Before saving: Is the learning general enough to help future sessions, not just this one? Is it specific enough to be actionable, not just a vague principle? Does it include a concrete example of right vs wrong? Does it avoid duplicating knowledge already captured elsewhere? Is the description clear enough that the agent will know when to invoke/apply it? 5. Inform the User After creating or updating the file: Summarize what was captured and where Explain why this location was chosen Note if any existing content was updated vs new content created
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。