一键导入
continual-learning
OpenCode skill for capturing, organizing, and applying lessons learned from each task to prevent repeated mistakes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
OpenCode skill for capturing, organizing, and applying lessons learned from each task to prevent repeated mistakes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | continual-learning |
| description | OpenCode skill for capturing, organizing, and applying lessons learned from each task to prevent repeated mistakes |
This skill enables agents to systematically capture lessons learned from tasks, building persistent knowledge that improves over time.
After completing any task, answer three questions:
Record these insights in the knowledge base for future reference.
Use this skill when:
Lessons are stored in .opencode/memory/lessons_learned.md with these sections:
When a task is done, reflect on the experience and identify key learnings.
Decide which section the lesson belongs to:
Add the lesson to the appropriate section in .opencode/memory/lessons_learned.md
Format each lesson as:
- **[Topic]**: [Concise description of the lesson]
- [Key insight or action item]
- [Additional context or examples]
If a lesson relates to other parts of the codebase, add references:
- **[Topic]**: [Description]
- [Insight]
- Related: `path/to/file`, `component-name`, or `pattern-name`
- **LSP Tools for Navigation**: Use `lsp_goto_definition` to find symbol definitions
- Jump directly to where a function/class is defined
- More reliable than manual file searching
- Related: `lsp_find_references` for usage analysis
- **Suppressing Type Errors**: Never use `@ts-ignore` or `as any` to silence errors
- Errors are warnings about real issues
- Always fix the root cause instead
- Type safety catches bugs at compile time
- **OpenCode Skills Location**: Skills can be in two locations
- `.opencode/skill/<name>/SKILL.md` (preferred)
- `.claude/skills/<name>/SKILL.md` (legacy)
- The `skill` tool searches both locations
- **Smart Task Workflow**: This project uses `/smart-task` command for task management
- Always invoke with `/smart-task` for systematic task handling
- Combines reading, acting, and recording in one flow
- Located at `.opencode/command/smart-task.md`
describe blocks for test organization"~~strikethrough~~ and note the replacementThis skill works alongside the /smart-task command:
/smart-task: Full workflow for user-invoked tasks (Read → Act → Record)Agents can load this skill to make continual learning a natural part of their workflow, even when not explicitly using the /smart-task command.
Load this skill using:
skill continual-learning
Once loaded, the agent will have continual learning guidance available for all tasks.