agentleFS
IlyaGorskyIlyaGorsky/memory-toolkit/skills/reflect/SKILL.md

reflect

Skill13 starsChanged 11 days agoMITView on GitHub

Session reflection — analyzes what happened, proposes backlog items, captures insights.

172 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use poteto-help, setup-pstack 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.
  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 14 projects that use this

  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 24 projects that use this

  • 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 19 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 26 projects that use this

  • jaydubya818Skill

    automate-me

    Use when the user wants working preferences captured in a reusable mode skill.

    Also in 39 projects that use this

  • jaydubya818Skill

    poteto-mode

    Use when non-trivial work should follow the smallest rigorous Jstack workflow.

    Also in 27 projects that use this

  • +6 more from jaydubya818

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 163 edited versions we read keep these.

  • 8

    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. Distinctive:

    Check memory for saved preference:

    line 16
  2. Distinctive:

    If no saved preference — detect automatically:

    line 21
  3. Very specific:

    Check common locations: backlog.md, TODO.md, TODO, docs/backlog.md

    line 22
  4. Very specific:

    Check if project uses GitHub Issues: gh issue list --limit 1 2>/dev/null

    line 23
  5. Distinctive:

    If nothing found — ask:

    line 24
  6. Distinctive:

    Read current backlog to avoid duplicates.

    line 39
  7. Distinctive:

    Update the backlog target:

    line 106
  8. Distinctive:

    If DOC: notes exist — notify user: "Found N documentation findings.

    line 121
  9. Distinctive:

    If called from /session-end — pass control to /docs-reflect automatically.

    line 123
  10. Very specific:

    If a parked item became a backlog item, a decision or got done in this session — offer its exit (unpark <file> --to=<where>, after moving …

    line 131
  11. Distinctive:

    Don't duplicate what's already in backlog

    line 135

“Common” is measured: kept by at least 6 in 10 of the 163 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 — session reflection

Analyze current session and propose additions to the project backlog.

1. Find backlog target

Check memory for saved preference:

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" search "backlog_target"

If no saved preference — detect automatically:

  1. Check common locations: backlog.md, TODO.md, TODO, docs/backlog.md
  2. Check if project uses GitHub Issues: gh issue list --limit 1 2>/dev/null
  3. If nothing found — ask:
Where do you track backlog?
  1. backlog.md (will create)
  2. TODO.md
  3. GitHub Issues (gh issue create)
  4. Other — specify path or tool

Save preference:

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" note "CONFIG: backlog_target=<chosen path or github-issues>"

Read current backlog to avoid duplicates.

1b. Collect watcher auto-findings

The session watcher captures decisions, plans, corrections, and phase changes in real time. Review them before analyzing manually — many candidates for backlog / DOC notes are already surfaced:

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" findings

Output groups entries by type (decision, plan, correction, phase). Treat them as candidates, not authoritative:

  • correction — strong candidate for feedback/ memory
  • decision — candidate for decisions/ or backlog
  • plan — candidate for backlog entry
  • phase — context only, usually skip

User confirms which findings promote to backlog / memory in step 3.

2. Analyze session

Review what happened and find:

  • Workarounds — bugs/problems worked around, not fixed
  • Repetitions — pattern that appeared >1 time, asks for automation
  • Gaps — skill/rule that was missing, had to do manually
  • Insights — decisions worth scaling to other areas
  • Done — what from backlog was completed this session

DOC classification check

For each insight, ask: "Should any contributor to this project know this?" If yes — it's a DOC, not just a backlog item or feedback. Save it immediately:

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" note "DOC: <domain> — <insight>"

Examples of what IS a DOC:

  • Tool/framework choices: "use node:test, not vitest" — project convention
  • Architecture decisions: "services return null, not throw" — pattern everyone must follow
  • Build/deploy constraints: "no external deps in hooks" — technical requirement

Examples of what is NOT a DOC:

  • Personal workflow preference: "I prefer short commit messages"
  • One-time workaround: "had to restart dev server"
  • Backlog item: "refactor auth module"

3. Propose items

Show list in format:

## Reflect: <date>

### New items
- **<section>**: <description> — <why, with specific case from session>

### Close
- <item that is done>

### Skip
- (nothing found / everything already in backlog)

Do NOT write yet. Show user, wait for confirmation.

4. After confirmation

Update the backlog target:

  • File-based (backlog.md, TODO.md, etc.): add items to appropriate section, mark closed with [x]
  • GitHub Issues: gh issue create --title "<item>" --body "<why>" for each new item; gh issue close <number> for closed

Also save insights to memory (included in the same confirmation — no separate prompt needed):

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" note "REFLECT: <key insight from session>"

5. Check DOC: notes

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" docs

If DOC: notes exist — notify user: "Found N documentation findings. Run /docs-reflect to process them, or /session-end will handle it."

If called from /session-end — pass control to /docs-reflect automatically.

6. Parked items that matured

node "${CLAUDE_PLUGIN_ROOT}/scripts/memory.js" parked

If a parked item became a backlog item, a decision or got done in this session — offer its exit (unpark <file> --to=<where>, after moving the content). Don't push old ones that didn't move.

Rules

  • Don't duplicate what's already in backlog
  • Quality over quantity — 1 good item beats 5 vague ones
  • Wording: what to do + why (specific case from session)
  • Done items stay in their section with [x], don't move to separate block

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.