一键导入
continuous-learning
Capture lessons learned, patterns, and user preferences after complex sessions to improve agent behavior over time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture lessons learned, patterns, and user preferences after complex sessions to improve agent behavior over time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Verify WCAG 2.1 AA compliance by analyzing HTML structure, ARIA usage, contrast, keyboard patterns, and semantic markup. Runs before completion in FE Designer mode.
Guide the design of beautiful, accessible, systematic UI components. Auto-triggers when creating or restyling components in FE Designer mode.
Audit design system consistency — check tokens, spacing, colors, typography usage across the codebase. Triggers when modifying shared styles or on user request.
Self-critique visual output before completion. Evaluates visual hierarchy, CTA clarity, cognitive load, spacing consistency, and layout priority. MUST run before attempt_completion in FE Designer mode.
MANDATORY: Run validation tools after EVERY code change. Do not finish until code is error-free.
Auto-enforce coding standards after every code change in Code mode. Checks file size, nesting, naming, error handling, and anti-patterns.
| name | continuous-learning |
| description | Capture lessons learned, patterns, and user preferences after complex sessions to improve agent behavior over time. |
| risk | safe |
| source | self |
| tags | ["learning","patterns","improvement"] |
Check previous context (if resuming a task):
plans/ directory for recent plan files related to current task.roo/learnings/patterns.md Top Patterns sectionReview session — summarize:
Extract patterns — categorize:
Append to .roo/learnings/patterns.md:
## {date} — {task summary}
### Worked Well
- {pattern}: {why it worked}
### Mistakes & Lessons
- {mistake}: Root cause: {why}. Prevention: {how to avoid}
### User Preferences
- {preference observed}
Maintain Top Patterns section — keep a ## Top Patterns section at the TOP of the file (lines 1-15) with the 5-10 most impactful, frequently-reused patterns. This section is what gets auto-read at session start per core-principles.md Session Initialization rule.
## Top Patterns (auto-read at session start)
1. {pattern}: {one-line description}
2. ...
Trim if needed — if file >100 lines:
.roo/learnings/archive.md## Top Patterns section at the topReport: "Learnings saved. {N} patterns captured."
core-principles.md auto-reads this file at session start — keep Top Patterns currentcontinuous-learning writes → core-principles.md reads → better decisions → continuous-learning captures → cycle repeats