跳到正文
FunCoding

learning-capture

Star
969
分类
其他
许可证
GPL-3.0
最近提交
2026年11月8日

agent_os/default_skills/learning-capture/SKILL.md

在 GitHub 上查看

Learning Capture

Log corrections, errors, and discoveries to orbital/LESSONS.md so future sessions avoid repeating mistakes.

When to Use

Activate this skill whenever one of three triggers fires:

  1. User correction -- the user says "no, do X instead" or "that's wrong." Log what you did, what the user wanted, and the corrected approach.

  2. Tool failure recovery -- a tool call fails and you find a working alternative. Log the failing call, the error, and the fix.

  3. Non-obvious discovery -- you learn something surprising about the project (e.g., a config file that overrides defaults, an undocumented API quirk). Log the finding and where you found it.

Approach

Read before act

Before starting any task type you have attempted in a previous session, read orbital/LESSONS.md with the read tool and scan for entries whose category or keywords match the current task. Apply any relevant lessons before your first action.

Entry format

Append one block per lesson. Use this exact structure:

### YYYY-MM-DD — <category>
**What happened:** <1-2 sentences>
**Do instead:** <1-2 sentences>
**Keywords:** <comma-separated tags for future search>

Categories (pick one): correction, error-recovery, discovery.

Writing the entry

  • Use the edit tool to append to orbital/LESSONS.md. If the file does not exist, create it with the write tool.
  • Keep each entry under 100 words. Precision beats length.
  • Include enough context that a future agent session can act on the lesson without re-reading chat history.

Anti-patterns

  • Do NOT log trivial observations. "The project uses Python 3.12" is not a lesson. Only log things that caused or would cause a mistake.
  • Do NOT log every tool failure. Typos in a filename are not worth capturing. Only log failures where the recovery path was non-obvious.
  • Do NOT duplicate entries. Read the file first; if a matching lesson already exists, skip or update it rather than appending a duplicate.
  • Do NOT include full stack traces. Summarize the error in one line.

相似的 Skill

software-factory

MAmattpocock/skills318k近 7 天新增 9,301 个 star

claude-handoff

MAmattpocock/skills318k近 7 天新增 9,301 个 star

bengali-nlp

AFaffaan-m/ECC299k近 7 天新增 5,106 个 star

agent-self-evaluation

AFaffaan-m/ECC299k近 7 天新增 5,106 个 star

agent-payment-x402

AFaffaan-m/ECC299k近 7 天新增 5,106 个 star

ponytail-gain

DIDietrichGebert/ponytail186k近 7 天新增 4,868 个 star