Back to list
aiskillstore

reflect-on-work

by aiskillstore

Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

102🍴 3📅 Jan 23, 2026

SKILL.md


name: reflect-on-work description: Pattern for producing quality reflections after completing work. Required for all agent outputs. allowed-tools: Read

Reflect on Work Skill

Pattern for producing quality reflections.

When to Load This Skill

  • You are completing any task
  • You need to produce the mandatory reflection fields
  • You want to contribute to system evolution

Required Output Fields

EVERY agent output MUST include these fields in compact JSON:

{"knowledge_updates":[{"category":"codebase","content":"What you learned","confidence":"certain"}],"reflection":{"what_worked":["string"],"what_failed":["string"],"patterns_noticed":["string"]}}

Knowledge Updates

Categories

  • codebase: Discovered structure, components, data flow
  • convention: Coding style, patterns, naming
  • decision: Design choice and rationale
  • gotcha: Pitfall, workaround, non-obvious behavior

Confidence Levels

  • certain: Verified, tested, documented
  • likely: Strong evidence but not verified
  • uncertain: Observed but needs confirmation

Examples

{"knowledge_updates":[{"category":"convention","content":"Project uses barrel exports in each directory","confidence":"certain"},{"category":"gotcha","content":"Must call init() before using AuthService","confidence":"certain"},{"category":"codebase","content":"API routes follow /api/v1/{resource} pattern","confidence":"likely"}]}

Reflection Fields

what_worked

  • Strategies that succeeded
  • Tools that helped
  • Approaches worth repeating

what_failed

  • Strategies that didn't work
  • Time wasted on wrong approaches
  • Issues encountered

patterns_noticed

  • Repeated sequences (skill candidates)
  • Common patterns in codebase
  • Workflow improvements

Example

{"reflection":{"what_worked":["Parallel explorers found context quickly","Starting with types helped structure code"],"what_failed":["Initial approach missed edge case","Spent time on wrong file before exploring"],"patterns_noticed":["Error handling always uses Result type","Tests colocated with source files"]}}

Complete Output Example

Minimal valid output with reflection:

{"task_id":"task-001","status":"pre_complete","files_modified":[],"knowledge_updates":[],"reflection":{"what_worked":[],"what_failed":[],"patterns_noticed":[]}}

Full output with content:

{"task_id":"task-001","status":"pre_complete","files_modified":[{"path":"src/auth.ts","change_type":"modified","summary":"Added login function"}],"knowledge_updates":[{"category":"convention","content":"Auth uses JWT tokens","confidence":"certain"}],"reflection":{"what_worked":["Found existing patterns quickly"],"what_failed":["Initial test approach was wrong"],"patterns_noticed":["All services use dependency injection"]}}

Principles

  • Be honest - Report failures, they're valuable
  • Be specific - Actionable insights, not vague
  • Be brief - Concise, not exhaustive
  • Use compact JSON - Single line, no formatting

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon