agentleFS
atelier-fashionatelier-fashion/adlc-toolkit/reflect/SKILL.md

reflect

Skill171 starsChanged 3 months agoMITView on GitHub

Post-implementation self-review — catch issues before /review

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

12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 98 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Before proceeding, verify that .adlc/context/conventions.md exists.

    line 29
  2. Distinctive:

    If given a REQ ID, find the associated branch and review its changes

    line 34
  3. Distinctive:

    If given a branch name, review all changes on that branch vs main

    line 35
  4. Distinctive:

    If no argument, review all changes on the current branch vs main

    line 36
  5. Very specific:

    Context files: if .adlc/context/conventions.md and .adlc/context/architecture.md are NOT already in your conversation context, Read them …

    line 38
  6. Distinctive:

    Do not proceed past this step until the user has answered — their responses may change what needs to be fixed.

    line 61
  7. Distinctive:

    If Critical issues are found, fix them immediately

    line 64
  8. Very specific:

    If Major issues are found, ask the user whether to fix now or note for /review

    line 65
  9. Distinctive:

    After fixes, re-run tests to verify nothing broke

    line 67
  10. Very specific:

    If no issues or only minor ones: "Ready for /review"

    line 70
  11. Very specific:

    If fixes were applied: "Fixes applied.

    line 71
  12. Very specific:

    If blockers remain: "Address these issues before /review"

    line 72

“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 — Post-Implementation Reflection

You are performing a self-review of recently implemented code to catch issues before the formal /review step. This is a fast, honest assessment of your own work.

Ethos

!test -s .adlc/ETHOS.md && cat .adlc/ETHOS.md || echo No ethos found — run /init to vendor .adlc/ETHOS.md

Context

  • Current branch: !git branch --show-current || echo Not a git repo
  • Committed changes vs main: !git diff-tree --stat -r main HEAD || echo No diff available
  • Uncommitted changes: !git status --short

Context files loaded on demand: .adlc/context/conventions.md and .adlc/context/architecture.md are loaded by Step 1 below — skip the Read if they are already in the current conversation (e.g., when invoked from /proceed, which preloads them at Phase 0).

Input

Scope: $ARGUMENTS

Prerequisites

Before proceeding, verify that .adlc/context/conventions.md exists. If it doesn't, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init first to set up conventions."

Instructions

Step 1: Determine Scope

  1. If given a REQ ID, find the associated branch and review its changes
  2. If given a branch name, review all changes on that branch vs main
  3. If no argument, review all changes on the current branch vs main
  4. Get the full diff: git diff main...HEAD
  5. Context files: if .adlc/context/conventions.md and .adlc/context/architecture.md are NOT already in your conversation context, Read them now. Otherwise skip — they're already loaded.

Step 2: Dispatch the reflector agent

Launch the reflector agent via the Agent tool. The agent owns the canonical self-review checklist (Correctness, Convention Compliance, Architecture, Testing, Completeness) and handles reading changed files and cross-referencing lessons learned. Keeping the checklist in the agent ensures a single source of truth that /proceed Phase 5 also uses.

Provide the agent with:

  • The scope (REQ ID, branch name, or "current uncommitted changes")
  • The full diff from Step 1
  • conventions.md and architecture.md content (from Step 1)

Instruct it: "Read all changed files in full, grep .adlc/knowledge/lessons/ for applicable lessons, run your checklist, and report findings + questions. Do not apply fixes."

The agent will return:

  • Issues Found — grouped by severity (Critical / Major / Minor) with file/line, description, suggested fix
  • Clean Areas — 1-2 sentences on what was checked and looked good
  • Questions for the User — ambiguities, design tradeoffs, assumptions, deferred edge cases

Step 3: Present the Agent's Report

Relay the agent's Issues Found and Clean Areas sections to the user verbatim. Do not re-run the checklist yourself — that would duplicate work and risk drift.

Step 4: Surface Questions from the Agent

The reflector agent returns a "Questions for the User" block covering ambiguous requirements, design tradeoffs, assumptions made, deferred edge cases, and UX/behavioral uncertainties. Relay that block to the user as a numbered list. If the agent returned "No questions — implementation is unambiguous," state that explicitly.

Do not proceed past this step until the user has answered — their responses may change what needs to be fixed.

Step 5: Fix or Defer

  1. If Critical issues are found, fix them immediately
  2. If Major issues are found, ask the user whether to fix now or note for /review
  3. Minor issues can be listed for the user to decide
  4. After fixes, re-run tests to verify nothing broke

Step 6: Recommend Next Action

  • If no issues or only minor ones: "Ready for /review"
  • If fixes were applied: "Fixes applied. Re-run /reflect to verify, or proceed to /review"
  • If blockers remain: "Address these issues before /review"

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.