agentleFS
raulrieraraulriera/skills/reflect/SKILL.md

reflect

Skill2 starsChanged 4 months agoMITView on GitHub

Write a reflection about a situation that got out of hand during this session

186 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, make-bot-ui 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.
  • 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 29 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 22 projects that use this

  • jaydubya818Skill

    poteto-mode

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

    Also in 34 projects that use this

  • jaydubya818Skill

    automate-me

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

    Also in 47 projects that use this

  • +8 more from jaydubya818

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Document a situation from this session where things went off track — a wrong turn, an over-engineered fix, a regression introduced — so the …

    line 10

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

Write a Reflection

Document a situation from this session where things went off track — a wrong turn, an over-engineered fix, a regression introduced — so the same mistake isn't repeated. Reflections are blameless and specific: the goal is a rule you'd follow next time, not a confession.

Steps

  1. Get today's real date — run date +%F. Don't guess it; the date is easy to get wrong from memory.
  2. Create the reflection file at .claude/reflections/<date>-$ARGUMENTS.md (e.g. 2026-06-08-give-flow-currency-selection.md), using this structure:
# <Descriptive Title>

**Date:** YYYY-MM-DD

## The Bug / Task

What was the original problem or request?

## Root Cause

What was actually causing the issue — the real cause, not the symptom.

## What Went Wrong

### Attempt 1: <short label>
What was tried, *why it seemed reasonable at the time*, and what actually broke.

Repeat `### Attempt N` for each misstep. The value is in showing why each plausible-looking path failed — that's what stops it being retried.

## Lessons

Numbered, actionable rules to apply next time (e.g. "Reuse the state already resolved upstream instead of re-fetching from cache"), not vague regrets ("be more careful").
  1. Update the index at .claude/reflections/index.md — append one line at the bottom (entries run oldest → newest):
- [YYYY-MM-DD - <Title>](<date>-$ARGUMENTS.md): one-sentence summary of the misstep.
  1. If index.md doesn't exist, create it with this header first, then add the entry:
# Reflections

A log of situations where things got out of hand. Each entry documents the issue, missteps, and how it was resolved.

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.