← 返回
未分类 中文

ia-reflect

Session retrospective and skill audit. Use when asked to reflect, do a retrospective, review lessons learned, audit what went well or wrong, or review sessio...
会话回顾与技能审计。在被要求进行反思、回顾、总结经验教训、评估好与不好之处或审查会话时使用。
iliaal iliaal 来源
未分类 clawhub v3.0.5 1 版本 99814.1 Key: 无需
★ 0
Stars
📥 537
下载
💾 0
安装
1
版本
#latest

概述

Reflect

Success Criteria

  • Every mistake/friction point cites the specific moment and its impact
  • Improvements are actionable and prioritized (cap defined in step 4)
  • Each skill audit proposes measurable changes (not vague suggestions)
  • User is asked which items to persist to memory
  • If review activity occurred, review-trap patterns are captured to persistent memory, or explicitly marked as "none"

Process

1. Session Review

Scan the full conversation. For each finding, cite the specific exchange (quote or paraphrase) and its impact.

CategorySignal
------------------
MistakesWrong outputs, incorrect assumptions, hallucinated facts
FrictionRepeated clarifications, verbose responses, misread intent
Wasted effortWork discarded, wrong approaches tried first
WinsApproaches worth repeating, smooth interactions

Skip one-time typos, external tool failures, and issues outside agent control.

2. Review Activity Scan (if applicable)

If the session included PR or MR review activity in either direction, run this scan before moving on. Skip only if no reviews happened.

Inbound (my code was reviewed): For each review comment received:

  • Did I accept it? If yes, what pattern did the reviewer catch that I missed? Is it a recurring blind spot? Capture the one-liner to persistent memory.
  • Did I push back? If I was right and the reviewer was wrong, nothing to capture. If I was wrong and had to retract mid-thread, capture what I learned.

Outbound (I reviewed someone else's code): For each comment I authored:

  • Was it accepted? Nothing to capture -- good call.
  • Was it rejected with a valid counter? That's a review trap. Capture the pattern: what heuristic did I apply that produced a wrong comment?

"No harvestable items" is a valid outcome -- say so explicitly. Don't let the step quietly drop off.

3. Operational Learnings

Before listing improvements, scan the session for operational insights worth preserving. Apply the 5-minute filter: would knowing this save 5+ minutes in a future session? If yes, include it. Examples: a project-specific quirk, a command that failed unexpectedly, an approach that worked better than expected.

4. Improvements

Numbered list of concrete improvements, ranked by impact. Each item: one sentence, imperative, actionable. Cap at 10 items: if more surface, the bottom items are noise -- drop them rather than batching or splitting.

Ask: "Which of these should I remember for future chats?"

Save approved items to memory files at ~/.claude/projects//memory/ (replace with the slug matching the current working directory, e.g., -home-ilia-ai-compound-engineering-plugin) using the Write tool with proper frontmatter (see MEMORY.md index).

5. Skill Audit (if skills were used)

For each skill invoked during the session:

A. Self-check gate -- If the skill lacks success criteria + verification loop:

  • Add ## Success Criteria at top (3-5 measurable checks)
  • Add ## Self-Check at bottom: "Verify all success criteria are met before presenting output. If not, iterate (max 5 times)."

B. Token efficiency -- Flag: redundant phrasing, mergeable sections, oversized examples, "Claude already knows this" content, inert frontmatter metadata.

C. Other -- Missing edge cases, vague directives (rewrite as measurable criteria or remove), naked negations (add "do Y instead" or remove).

Present proposed changes as diffs. Ask: "Apply these? (all / pick / skip)"

6. Capture Markers

The remember: prefix is the highest-confidence capture signal. When the user writes a message beginning with remember:, treat everything after the colon as a memory candidate — no interpretation required. Save directly to the appropriate memory file with a one-line summary and the user's exact phrasing. Example: remember: we never use Pest, always PHPUnit → save to feedback_phpunit_over_pest.md.

Correction patterns to watch for (lower-confidence, batch these for review at /ia-reflect time):

  • "no, use X" / "actually, X" / "don't use Y, use X"
  • "stop doing X" / "never X"
  • "that's wrong — the right way is..."
  • repeated clarifications of the same thing within a session

Optional capture hook: a UserPromptSubmit hook can pattern-match the markers above into ~/.claude/learnings-queue.json as the user types, so /ia-reflect processes the queue deterministically instead of re-scanning the full transcript. Not shipped with this skill; document the convention and leave implementation to users who need it.

7. Pattern Detection

If 2+ similar tasks appear that no existing skill covers, suggest a new skill (1-2 sentence description). Create only after confirmation.

Proactive trigger: When the user corrects you, clarifies the same thing twice, or shows frustration, append: "Tip: Type /ia-reflect when you're ready -- I'll review what we can improve."

Self-Check

Before presenting output, verify all success criteria are met. If any fail, revise (max 5 iterations).

版本历史

共 1 个版本

  • v3.0.5 当前
    2026-05-01 18:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,464 📥 530,834
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,100 📥 828,423
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,397 📥 322,754