Reflect

From kriegcloud/beep-effect · View interactive version

Reflect is an AI agent skill from the GitHub repository kriegcloud/beep-effect. Write a structured agent reflection for a goal packet. Trigger on: a goal's P3 Close phase, the user invoking `/reflect <goal-slug>`, or when you notice a TODO worth codifying. Produces a schema-valid `goals/<slug>/history/reflections/<YYYY-MM-DD>-<agent>.md` enforced by `bun run beep lint reflectio

How to use this skill

Skill file

Reflect

Use this skill to capture a durable, information-rich reflection on a goal

packet's execution. Reflections compound into reusable knowledge; the research

(goals/agent-reflection-loop/research/reflection-frontier-report.md) shows that

specific, structured reflections grounded in real tooling/CI signals far

outperform terse free-text advice.

When to run

running goals set-status <slug> completed-retained in the final PR. That

is the canonical completed status; legacy complete is migration input,

not a live lifecycle value. Packets with reflectionRequired: true are

gated, and a committed closeout also keeps the packet in the reflection

gate. A missing or invalid required reflection blocks closeout.

skill, lint rule, or issue, capture it as a codification-todo finding.

How to write one

  1. Resolve the goal slug. Read the packet's SPEC.md, PLAN.md, README.md,

history/, and the real execution evidence (PRs, CI runs, review threads,

commits). Ground claims in that evidence — not unaided self-critique.

  1. Copy goals/_template/history/reflections/_TEMPLATE.md to

goals/<slug>/history/reflections/<YYYY-MM-DD>-<agent>.md (today's date;

<agent> lowercase, e.g. claude, codex).

  1. Fill the YAML frontmatter — it is the machine-validated block

(ReflectionFrontmatter):

where category ∈ tooling-friction | implementation-improvement |

goal-critique | prompt-critique | codification-todo. Make instruction

concrete (what to change) and explanation evidence-backed (why).

  1. Fill the body rubric: Summary, Tooling experience (worked / didn't /

frustrating / wished existed), Implementation improvement opportunities,

Goal & prompt critique (would you revise the GOAL/prompt to be clearer,

easier, more efficient?), TODOs worth codifying, and Lessons

(confidence-tiered: HIGH critical / MEDIUM best-practice / LOW consideration).

  1. Update packet README.md (latest evidence) and ops/manifest.json status.

Verify

bun run beep lint reflection-artifacts   # blocking_findings=0
git diff --check -- goals/<slug>

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.