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

reflect

Skill13 starsChanged 8 months agoMITView on GitHub

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

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

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 98 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

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

    If no saved preference — detect automatically:

    line 19
  3. Very specific:

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

    line 20
  4. Very specific:

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

    line 21
  5. Distinctive:

    If nothing found — ask:

    line 22
  6. Distinctive:

    Read current backlog to avoid duplicates.

    line 37
  7. Distinctive:

    Update the backlog target:

    line 104
  8. Distinctive:

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

    line 119
  9. Distinctive:

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

    line 121
  10. Distinctive:

    Don't duplicate what's already in backlog

    line 125

“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 — session reflection

Analyze current session and propose additions to the project backlog.

1. Find backlog target

Check memory for saved preference:

node "$MEM" --dir="$MEM_DIR" 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 "$MEM" --dir="$MEM_DIR" 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 "$MEM" --dir="$MEM_DIR" 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 "$MEM" --dir="$MEM_DIR" 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 "$MEM" note "REFLECT: <key insight from session>"

5. Check DOC: notes

node "$MEM" --dir="$MEM_DIR" 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.

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.