agentleFS
lesdolesdo/ClaudeCode-ContextPlugin/skills/reflect/SKILL.md

reflect

Skill1 starsChanged 5 months agoMITView on GitHub

Extract lessons from completed work and archive the plan. Use after finishing a feature, when all tasks are done, or when you want to capture what you learned before moving on.

105 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use make-bot-ui, principle-attack-the-premise and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 8 projects that use this

  • TheOnlyFusionCubeSkill

    principle-attack-the-premise

    Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.

    Also in 10 projects that use this

  • TheOnlyFusionCubeSkill

    principle-test-behavior-not-implementation

    Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.

    Also in 10 projects that use this

  • shishivSkill

    setup-pstack

    Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.

    Also in 13 projects that use this

  • finograficSkill

    figure-it-out

    Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

    Also in 19 projects that use this

  • shishivSkill

    automate-me

    Use for \"automate me\", \"create/update/refresh my -mode skill\", \"turn/capture my preferences or working style into a skill\", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts.

    Also in 16 projects that use this

  • +1 more from shishiv

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 98 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If .lifecycle/lessons/ is empty and docs/06-Development/lessons.md exists, offer to migrate existing lessons into topic files before …

    line 13
  2. Very specific:

    Search .lifecycle/plans/ for progress files with all tasks [x].

    line 17
  3. Distinctive:

    If $ARGUMENTS given, match that feature name.

    line 18
  4. Distinctive:

    If no completed plans: "No completed plans found.

    line 19
  5. Distinctive:

    Read the plan, progress, and checkpoint files.

    line 23
  6. Very specific:

    If unsure, use general.md

    line 46
  7. Distinctive:

    Don't duplicate existing lessons.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 98 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Reflect

Extract lessons learned from completed work, then archive the plan.

Step 0: Check for v1.x migration

If .lifecycle/lessons/ is empty and docs/06-Development/lessons.md exists, offer to migrate existing lessons into topic files before proceeding.

Step 1: Find completed plan

  1. Search .lifecycle/plans/ for progress files with all tasks [x]. Also check docs/05-Plans/ as v1.x fallback.
  2. If $ARGUMENTS given, match that feature name.
  3. If no completed plans: "No completed plans found. Finish your tasks first, or specify the feature name."

Step 2: Analyze

Read the plan, progress, and checkpoint files. Analyze git history for the feature's commits.

Identify patterns:

  • Corrections — tasks re-planned or re-done (evidence: [!] blocked states, re-planning commits, tasks marked done then reopened)
  • Surprises — S tasks that took M/L effort, or vice versa
  • Discoveries — new tools, patterns, or gotchas encountered
  • What worked — approaches worth repeating

Step 3: Present and approve

Show findings and proposed lessons. Wait for approval before writing.

Step 4: Write lessons

Append approved lessons to .lifecycle/lessons/[topic].md:

- [YYYY-MM-DD] Lesson in one line

Topic detection:

  • Infer from plan content, file paths touched, and git diff domains
  • Common topics: testing, architecture, performance, tooling, database, api, frontend, deployment
  • If unsure, use general.md
  • Don't duplicate existing lessons. Create new topic files as needed.

Step 5: Archive

Move plan + progress + checkpoint to .lifecycle/archive/.

Commit: docs(reflect): archive [feature] with [N] new lessons

Step 6: Summary

Reflected on: [feature]
Lessons added: [N] ([topic]: [count], [topic]: [count])
Archived: plan + progress + checkpoint

$ARGUMENTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.