用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/andrem-sec/psc-comet --skill lesson-gen命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | lesson-gen |
| description | Mid-session quick capture — save an insight before the context moves on |
| version | 0.2.0 |
| level | 1 |
| triggers | ["extract pattern","save this approach","log this","note this"] |
| context_files | ["context/learnings.md"] |
| steps | [{"name":"Identify","description":"What specifically happened? State it in one sentence."},{"name":"Quality Gate","description":"Apply the 3-point test — can't Google it, codebase-specific, took real effort"},{"name":"Generalize","description":"State the general principle, not just the session-specific instance"},{"name":"Write","description":"Append to context/learnings.md in standard format"}] |
Mid-session quick capture. Use when something is worth keeping but you do not want to break flow to do a full wrap-up.
After applying the quality gate, classify the learning into one of four verdicts:
Passes all 3 quality gate points. Save immediately to context/learnings.md in standard format.
Good insight but needs refinement:
Action: Rewrite to be more concrete/general, then save to context/learnings.md.
Example:
This learning belongs in a skill, not in context/learnings.md:
Action: Identify which existing skill this belongs in (or propose a new skill if none fit). Add to that skill's body or examples section.
Example:
Fails the quality gate:
Action: Discard. Do not write to any file.
[YYYY-MM-DD] [category] — [specific statement]
One entry per insight. Do not bundle.
Do not write the session-specific instance — write the general principle it illustrates.
Do not write what you intended to do — write what actually happened and what it revealed.