reflect
Skill1 starsChanged 19 days agoMITView on GitHub
Learn from a demonstrated engineering failure, such as a failed test, a confirmed review defect, a repeated mistake, a manual correction, or a regression. Finds the root cause, decides whether it is systematic, and proposes the smallest durable prevention (a test, lint rule, or tooling first; an instruction change last), validated against real examples. Never changes instructions or skills without explicit approval. Use when the same kind of mistake recurs, a defect escaped existing checks, or the user asks to learn from a failure.
186 other projects use a version of this.
Adopted by
Most recently taken up by
- andrewsoonqn/skillstheir own version, first seen Nov 29, 2026
- romerma/mstacktheir own version, first seen Nov 29, 2026
- mlschodkowski/skillstheir own version, first seen Nov 29, 2026
- MondayNotAGoodDay/skillstheir own version, first seen Nov 29, 2026
- sodejm/copilot-operation-plugin-for-securitytheir own version, first seen Nov 29, 2026
- sirius-cc-wu/sirius-skillstheir own version, first seen Nov 29, 2026
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.
bnemaSkillsetup-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
eryzerzSkillmake-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
jaydubya818Skillpoteto-mode
Use when non-trivial work should follow the smallest rigorous Jstack workflow.
Also in 34 projects that use this
jaydubya818Skillautomate-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
Other versions186 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 186
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- github/gh-aw★ 5.7ksame name
- backnotprop/pstack★ 5.4ksame name
- github/squad★ 3.5ksame name
- rilldata/rill★ 3ksame name
- microsoft/waza★ 1.5ksame name
- osmlab/name-suggestion-index★ 893same name
- llama-farm/llamafarm★ 837same name
- haddock-development/claude-reflect-system★ 373same name
176 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- catch-upSkill
- hungry-jackSkill
- implement-featureSkill
- init-authSkill
- init-backendSkill
- init-databaseSkill
- plan-changeSkill
- review-changesSkill
- simplify-codeSkill
- smart-pushSkill
- verify-workSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Reflect proposes; it never applies: Do not edit AGENTS.md, CLAUDE.md, skills, memory, lint configs, CI, or any other persistent rule until …
- Distinctive: line 21
Do not run after a clean, successful task.
- Distinctive: line 31
Decide whether it is systematic: Look for the same pattern elsewhere: in other occurrences in the code (git grep), in git log, and in …
- Distinctive: line 32
Find the root cause: Ask why until you reach something that a check, a tool, or an instruction could change: a missing test category, a …
- Very specific: line 43
When the user opts in, keep recurring findings in docs/engineering-findings.md in the project, one line each: date, pattern, where it was …
“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.
Files
Reflect
Turn a real failure into a prevention that will catch the next one. Learn only from what was demonstrated: a failing check, a confirmed defect, or a correction. Never learn from assumptions or style preferences.
Read references/operating-rules.md first.
Reflect proposes; it never applies. Do not edit AGENTS.md, CLAUDE.md, skills, memory, lint configs, CI, or any other persistent rule until the user explicitly approves that specific change.
Use when
- The same kind of defect or mistake happened twice
- A defect reached review or the user that an automated check could have caught
- A fix loop hit its limit
- The user corrected the work, or asks to learn from a failure
Do not run after a clean, successful task.
Inputs
- The failure, with its evidence: a failing test output, a confirmed finding, the user's correction, or the regression
- The change it occurred in
Procedure
- State the failure. One sentence of what went wrong, with the evidence that shows it. With no evidence, stop: there is nothing to learn yet.
- Decide whether it is systematic. Look for the same pattern elsewhere: in other occurrences in the code (
git grep), ingit log, and in earlier findings in the findings log when one exists. One isolated slip is not systematic: report it and stop. - Find the root cause. Ask why until you reach something that a check, a tool, or an instruction could change: a missing test category, a rule the linter could enforce, an instruction that was ambiguous, or a step that was skipped.
- Propose the smallest durable prevention, preferring in this order:
- A test that fails on the defect
- A static rule: a lint rule, type constraint, or schema
- Tooling: a script, CI step, or pre-commit check
- An instruction change, in the project's
AGENTS.mdorCLAUDE.mdor in a skill, written as one precise rule
- Validate the proposal against realistic examples: show it catches the original failure (the test fails, or the rule flags the code) and passes on correct code. Validate without changing the project: run a candidate test or rule from a temporary directory, or state the exact validation when it cannot run. For an instruction change, show the before and after text and the case it would have changed.
- Ask for approval, with the exact diff of the proposed change.
Findings log
When the user opts in, keep recurring findings in docs/engineering-findings.md in the project, one line each: date, pattern, where it was seen, and the prevention status. Create the file only after the user agrees. Use it to spot recurrence; it is not a rule set.
Output
Failure Refund route accepted another tenant's payment ID (confirmed finding, refund.test.ts)
Systematic Yes: the same unscoped findById in invoices.ts:31 and payouts.ts:18
Root cause Repositories expose findById without a tenant parameter; nothing enforces scoping
Prevention Lint rule banning PaymentRepository.findById outside repositories, plus scoped
findForTenant(tenantId, id); validated: flags 3 current call sites, passes on the fixed ones
Proposed (diff of the rule and the call-site changes)
Approval Waiting for your approval. Nothing has been changed.Escalate
The prevention needs changes beyond the project, such as a shared skill or global instructions: propose them separately, and say who owns them.
Hand off
Approved test, lint, or tooling changes go to implement-feature. Approved instruction changes are applied exactly as approved, and nothing more.
Before you finish, check your list of available skills for each skill named in this section. If any is missing, end your report with the missing names, this command, and the question "Should I install them for you, or will you install them yourself?" Follow "Missing companion skills" in references/operating-rules.md for the rest.
npx skills add akdevsaha-dev/factory-skills --skill hungry-jack plan-change implement-feature verify-work simplify-code review-changes reflectDone when
The failure is shown to be isolated, or a validated prevention is proposed and is waiting for approval, or was applied as approved.
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
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.

