agentleFS
criptoguscriptogus/brainstack/skills/distill/SKILL.md

distill

Skill4 starsChanged 4 months agoMITView on GitHub

Use when turning a hard-won exploration, repeated workflow, or solved problem into a reusable agent skill - so the third time a problem appears, it is solved in seconds.

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 9 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

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

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Don't use for: single-use solutions (distilling everything is how you drown in skills), or capturing knowledge (see reference).

    line 26
  2. Very specific:

    Formalize: - write the SKILL.md: trigger conditions, numbered steps with exact commands, pitfalls from the real session, verification …

    line 62
  3. Very specific:

    One skill, one workflow: If the SKILL.md is over ~15KB, split it.

    line 77

“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

The vault's highest-value output is not notes - it is skills: procedures that turn the third occurrence of a problem into a ten-second solve. This skill distills explorations and repeated workflows into reusable Agent Skills.

When to Use

  • A workflow has been repeated successfully (3x rule) and deserves to be permanent
  • A hard debugging/exploration session produced a solution worth keeping
  • The owner asks "can you make this a skill?"
  • The reflect pipeline flags a 3x pattern as a distillation candidate

Don't use for: single-use solutions (distilling everything is how you drown in skills), or capturing knowledge (see reference).

The 3x rule

OccurrenceAction
1stSolve it, note it in memory
2ndNotice the pattern, mention the candidate
3rdPropose the distillation to the owner

The owner decides. Skills are never auto-created from patterns - propose, and let the owner approve. (An approved distillation is different: then you build.)

The SKILL.md shape

---
name: my-skill
description: Use when <trigger>. <one-line behavior>.
version: 1.0.0
license: MIT
---

Body: # Title -> ## When to Use (triggers + counter-triggers) -> actionable body with exact commands -> ## Common Pitfalls (mistakes you actually made, with fixes) -> ## Verification Checklist.

The distillation process

  1. Harvest - collect the actual steps that worked. Not the theory - the transcript of what was done. (If you have a session log, mine it.)
  2. Abstract - strip the specific context (names, paths, one-off details); keep the repeatable mechanics.
  3. Formalize - write the SKILL.md: trigger conditions, numbered steps with exact commands, pitfalls from the real session, verification checklist.
  4. Validate - the skill must be runnable by an agent that has never seen the original context. Test it in a clean environment (or a dry-run).
  5. Wire - install it (agent skill directory), reference it from the relevant MOC/skill index, and note it in the changelog.

Rules

  • Skills are procedures, not knowledge. Knowledge belongs in notes; a skill that is really a reference note is a misclassification.
  • Every skill has a verification checklist. Unverifiable skills rot and get trusted anyway.
  • Pitfalls are mandatory. The mistakes you actually made are the skill's highest-value content - future agents avoid them in seconds.
  • One skill, one workflow. If the SKILL.md is over ~15KB, split it.
  • Propose, never auto-create (the 3x rule).

Common Pitfalls

  1. Distilling the theory, not the practice. The transcript of what was done beats the lecture about what should be done.
  2. Skipping validation. An undistilled skill is a documented guess. Run it fresh before shipping it.
  3. Personal context leaking in. Names, paths, and one-off details make the skill unusable for anyone else (and for you, next year).
  4. Auto-creating from patterns. The 3x rule exists to stop skill inflation. Propose; let the owner approve.
  5. Skill soup. 200 unlinked skills are worse than 20 good ones. Curate, merge, archive.

Verification Checklist

  • Workflow repeated 3x or owner explicitly requested the distillation
  • Steps harvested from the actual session (not theory)
  • Abstracted: no personal names, paths, or one-off details
  • SKILL.md complete: triggers, steps with exact commands, pitfalls, verification checklist
  • Validated in a clean context (runnable by a fresh agent)
  • Installed + referenced (skill index/MOC updated)

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.