一键导入
lesson-gen
Mid-session quick capture — save an insight before the context moves on
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mid-session quick capture — save an insight before the context moves on
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert PDF/EPUB library to Markdown and generate Obsidian MOC notes
Hook-based compaction suggestions at logical task boundaries
Context window management — track spend, decide when to compact, preserve state
Session-start orientation — loads context, surfaces learnings, confirms registry
Quality and semantic review — catches what automated tools miss
Planner → Architect → Critic deliberation loop — produces a formally validated ADR
| 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.