agentleFS
Kastalien-ResearchKastalien-Research/thoughtbox/.agents/skills/distill/SKILL.md

distill

Skill66 starsChanged 5 months agoMITView on GitHub

Extract reusable principles and decision frameworks from accumulated experience. Use after significant work sessions, project milestones, or when you notice recurring patterns worth codifying.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use overdrive, arrange 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.
  • nikafastovets-langSkill

    overdrive

    Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?

    Also in 12 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • QredenceSkill

    layout

    Diagnose or improve layout in selected Figma frames, screens, components, or Figma Make prototypes by clarifying reading order, grouping, hierarchy, spacing rhythm, density, adaptation, and content extremes. Use when UI feels crowded, flat, misaligned, hard to scan, structurally unclear, or unstable across sizes.

    Also in 5 projects that use this

  • tdiminoSkill

    shape

    Plan the UX and UI for a feature before writing code. Run a structured discovery interview, then produce a design brief (.design-context.md) that guides implementation. Establishes design direction, constraints, and strategy before any code is written. Triggers on plan the design, design brief, shape the UX, before we build, design discovery.

    Also in 6 projects that use this

  • MicrosoftSkill

    impeccable

    Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.

    Also in 6 projects that use this

  • termdockSkill

    recall

    Retrieves cross-session memories about past decisions, lessons, and patterns. Use when user asks about prior work, past decisions, or mentions a feature. Triggers include check memory, what did we decide, how did we solve.

    Also in 4 projects that use this

  • +1 more from nikafastovets-lang

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

    Read recent git history (git log --oneline -20)

    line 16
  2. Very specific:

    Check .Codex/rules/ for existing principles

    line 18
  3. Distinctive:

    Look at code patterns in the codebase

    line 19
  4. Distinctive:

    Check each principle against past experience:

    line 51
  5. Distinctive:

    Write validated principles to the appropriate location:

    line 58

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

Distill wisdom from experience in this area: $ARGUMENTS

Process

1. Experience Inventory

Gather evidence of past decisions and outcomes:

  • Read recent git history (git log --oneline -20)
  • Review agent memory and learnings
  • Check .Codex/rules/ for existing principles
  • Look at code patterns in the codebase

2. Pattern Extraction

For each significant decision or outcome:

  • What was decided? (the choice made)
  • What was the context? (constraints, information available)
  • What happened? (outcome, downstream effects)
  • Was it the right call? (with hindsight)

Look for:

  • Success patterns — conditions that consistently lead to good outcomes
  • Failure patterns — early warning signs of bad paths
  • Evolution patterns — how thinking has changed over time

3. Principle Abstraction

Distill patterns into principles at the right abstraction level:

LevelExample
Tactical"Always run tests before committing database migrations"
Strategic"Prefer reversible changes over irreversible ones"
Philosophical"Optimize for time-to-signal, not time-to-completion"

A good principle is:

  • Actionable — you can act on it right now
  • Falsifiable — you can identify situations where it doesn't apply
  • Bounded — it states when it applies, not just what to do

4. Validation

Check each principle against past experience:

  • Does it explain observed outcomes?
  • Are there counter-examples?
  • Under what conditions does it break?

5. Storage

Write validated principles to the appropriate location:

  • Project-wide: .Codex/rules/ as a new or updated rule file
  • Agent-specific: Agent memory
  • Session-specific: MEMORY.md

Tag with freshness: HOT (just validated) | WARM (reasonable but not recently tested) | COLD (theoretical)

6. Output

## Distillation: [Domain]

### Evidence Base
- [N decisions/outcomes reviewed]
- [Key sources consulted]

### Principles Extracted

#### [Principle Name]
- **Statement**: [Clear, actionable principle]
- **Level**: tactical | strategic | philosophical
- **Evidence**: [What experience supports this]
- **Boundary**: [When this does NOT apply]
- **Freshness**: HOT | WARM | COLD
- **Stored in**: [where it was written]

### Principles Updated
- [Any existing principles promoted, demoted, or retired]

### Open Questions
- [What we still don't know]

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.