在发现关键经验后,帮助沉淀并更新可复用的技能与操作指引
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "update-skills" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/src/vs/sessions/skills/update-skills/SKILL.md 2. 保存为 ~/.claude/skills/update-skills/SKILL.md 3. 装好后重载技能,告诉我可以用了
我们刚定位到这个仓库里缓存失效的根因。请根据这次排查过程更新技能文档,整理触发条件、排查步骤、常见误区和修复建议,方便下次复用。
一份更新后的技能或说明文档,包含问题模式、诊断流程和可复用建议。
learn! 把我们刚总结出的代码评审规范写入仓库技能:包括命名约定、必须检查的风险点,以及 PR 描述模板。
新增或更新后的仓库技能条目,清晰记录评审规范与执行方式。
这次我们发现接入第三方支付时,签名校验和回调重试最容易出错。请把这些经验整理成仓库说明,写明约束、示例和注意事项。
一份结构化的领域知识说明,便于团队后续直接参考和复用。
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.
Add a learning to an existing instruction when:
.github/instructions/learnings.instructions.mdCreate or update a skill (.github/skills/{name}/SKILL.md or .agents/skills/{name}/SKILL.md) when:
Create or update an instruction (.github/instructions/{name}.instructions.md) when:
applyTo) or globallyReflect on what went wrong or what was discovered:
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/
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.
If the knowledge warrants a standalone skill:
.github/skills/{name}/SKILL.md for project-level skills (committed to repo).agents/skills/{name}/SKILL.md for agent-specific skills---
name: {skill-name}
description: {One-line description of when and why to use this skill.}
---
# {Skill Title}
{Body with guidelines, procedures, examples, and learnings.}
name field must match the parent folder name exactly.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.}
Before saving:
After creating or updating the file:
…
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
帮助你创建、整理、校验并重构 AgentSkills 与 SKILL.md 技能文件。