Skip to main content

experience-to-skill

Use when deciding whether a reusable lesson or repeated workflow should become a skill, memory, AGENTS rule, script, project doc, or stay unrecorded.

来源信息

仓库
hideaway007/codex-self-improvement-skills
最近来源活动
2026年4月29日 06:10
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

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

检查来源文件

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

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
experience-to-skill
description
Use when deciding whether a reusable lesson or repeated workflow should become a skill, memory, AGENTS rule, script, project doc, or stay unrecorded.
# Experience To Skill ## Overview Turn useful experience into the right durable artifact. Not every lesson should become a skill: choose the smallest place that will make future work better without bloating global context. ## When to Use Use this skill: - At the end of a complex or repeated task. - When the same workflow has appeared about three times. - When a non-obvious debugging path, verification gate, or tool sequence saved time. - When the user asks to "make this reusable", "turn this into a skill", "update memory", "sync up", or similar. - When a future agent would likely repeat the same mistake without written guidance. Do not use it for one-off facts, project secrets, raw transcripts, or normal code comments. ## Artifact Decision Choose one primary destination: | Destination | Use when | Avoid when | |---|---|---| | Skill | Reusable cross-project workflow or judgment pattern | It is only true for one repo | | Project `AGENTS.md` | Project-specific agent rule, route, command, or boundary | It should apply globally | | Global `AGENTS.md` | Stable cross-project user preference or machine rule | It is domain/project-specific | | Memory | Lightweight preference or historical fact useful across sessions | It needs executable steps | | Script | Deterministic repeated operation | Human judgment is central | | Docs/README | Humans or downstream systems need to use the knowledge | Only agents need it | ## Workflow 1. Extract the reusable lesson. - State the trigger: when should a future agent remember this? - State the action: what should it do differently? - State the evidence: why is this worth preserving? 2. Check for an existing artifact. - Search current skills and project docs first. - Prefer updating an existing skill or rule over adding a near-duplicate. 3. Pick the narrowest durable home. - Global skills stay small and general. - Project-specific behavior belongs in the project. - Repeated mechanical operations should become scripts, not prose. 4. Write or update the artifact. - For skills, use `skill-creator` or `writing-skills`. - Keep frontmatter trigger-focused. - Keep body concise and procedural. - Do not include secrets, private tokens, or raw sensitive logs. 5. Validate. - Confirm paths exist. - Confirm the trigger description would cause the skill to load at the right moment. - Confirm the new artifact does not conflict with existing rules. ## Skill Creation Criteria Create or update a skill only when most of these are true: - The pattern is reusable across projects. - The task involves judgment or a workflow, not just a fact. - The behavior is not already covered by an installed skill. - The trigger can be described clearly in frontmatter. - The skill will prevent a real future mistake or reduce repeated setup work. ## Common Mistakes - Turning every lesson into a global skill. - Appending new rules without deleting or merging stale ones. - Storing project-specific domain rules globally. - Writing a narrative of what happened instead of a reusable procedure. - Treating generated files or green tests as proof that knowledge is correct.
在 GitHub 查看