/goals:goals-critiquefrom goals
Run a retrospective on a completed or stalled Goals goal to critique engine/UX friction and agent execution, record lessons into memory, and surface cross-goal patterns.
Ships in goals. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Ships with the Goals CLI. Run it after a goal completes or stalls, from that
goal's worktree. It turns one goal's experience into durable behavior change via
goals memory, and turns friction that repeats across runs into upstream fixes.
It is orthogonal to goals loop improve: that tunes reusable loop-design
templates; this critiques the agent experience and execution of a real goal.
Every finding is one of two kinds. Don't blur them — they have different fixes.
memory record so you
avoid the trap next time.memory record --kind learning that changes your next run.A finding that's "the tool should have told me" is usually both: file it upstream and record the workaround.
1. Gather the trace. From the goal worktree:
goals check # final status, blocking signals, merge readiness
goals view # phases + acceptance
goals assess journey # the recorded breakdowns + assumptions (your reasoning)
goals lineage # phase-by-phase event history (look for failed reviews / re-records)
Note every failed goals phase review, every evidence re-record, every
assumption you flipped, and any checkpoint you waived — those are where friction lived.
2. Auto-absorb the obvious. Let the engine pull gaps, blockers, failed reviews, and learnings into memory automatically:
goals memory absorb
3. Critique across both lenses. For each friction point, write: what happened,
which lens, the root cause, and the concrete next-time change. Be specific and
honest — "I authored evidence with a summary field the schema forbids, got a raw
pydantic error, and only fixed it by reading models.py" beats "evidence was hard."
4. Record durable lessons. One memory record per reusable lesson (skip
one-offs):
goals memory record "Author phase evidence to the exact Evidence schema (no extra keys); run a 1-line check before submitting." \
--area gate --kind learning --severity medium --phase P1
Use --kind friction for things that hurt, --kind success for what worked and
should be repeated, --area ∈ {phase, skill, gate, decision, docs, test}.
5. Surface cross-goal patterns (the "learn from all goals" payoff):
goals memory suggest --json # this project: repeated friction → suggestions
goals memory sync <other-goal-root> # dry-run import of sanitized lessons from another project (add --apply to enact)
Anything that recurs across ≥2 goal runs is no longer a one-off — promote it: either a new/updated skill (durable behavior change) or an upstream engine issue.
6. Produce CRITIQUE.md in the goal worktree with five sections: What went
well · Engine/UX friction (each → upstream action) · Agent-execution
friction (each → memory id) · Root causes · Next-time changes. Keep it
scannable; link memory ids and issue links.
7. File engine friction upstream — opt-in only. Engine/UX findings are about the Goals product, so they're valuable to every user. But this skill runs on other people's machines: never file silently. The flow:
CRITIQUE.md is always written; nothing leaves the
machine without an explicit yes.homepage from .claude-plugin/plugin.json
(currently https://github.com/ShivamGupta42/goals). If you can't resolve a repo
or gh isn't authenticated, stop at local and tell the user.gh issue list --repo <repo> --search "<symptom>" --state all
— if it already exists, link it in CRITIQUE.md instead of opening a duplicate.gh issue create
(label agent-friction) per novel finding. Open a PR only when the fix is a
one-or-two-line mechanical change AND the user explicitly opts into a PR.CRITIQUE.md.A trivial one-phase goal that passed cleanly on the first try has nothing to teach — skip it. Run this when a goal was painful, stalled, complex, or when you want to mine patterns across the goal runs you've accumulated.
See references/example-critique-thinking-gym.md for a full worked critique.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
goals, retrospective, learning, critique, memory, agent-execution
6 skills in this plugin
/goals-architecture-diagramGenerate a clean architecture or loop diagram for the active Goals goal as Mermaid or a valid .excalidraw file. Use when the user asks to visualize, diagram, or draw the goal's architecture map or the designed loop./goals-architecture-mapShow the architecture map of the active Goals goal — what is built, planned, blocked, deferred, or missing. Use inside a Goals project when you need the system shape, a diagram-style overview, or to check recorded changes against the goal's architecture./goals-decision-explainerExplain a project decision from the active Goals goal in plain language — what needs the user, the recommended reply, and what happens next. Use inside a Goals project when a technical decision, risk, or tradeoff needs a non-technical explanation, or when deciding whether a choice should interrupt the user.npx claudepluginhub shivamgupta42/goals --plugin goalsOther plugins' skills for the same job