agentleFS
TencentBlueKingTencentBlueKing/bk-lite/.claude/skills/principle-encode-lessons-in-structure/SKILL.md

principle-encode-lessons-in-structure

Skill74 starsChanged 2 days agoLicence not identifiedView on GitHub

Apply when you catch yourself writing the same instruction a second time, or notice a recurring correction. Encode the rule as a lint, metadata flag, runtime check, or script instead of more text.

59 other projects use a version of this, 41 of them edited; 34 of 41 edited versions we compared changed its rules; 1 new project in the last 4 weeks, against 2 the 4 before.

How people change it

34 of 41 edited versions changed its rules, and some changes recur.

Of the 41 edited versions we compared: 6 keep every rule, 1 is an older text, 34 made changes of their own.

Not in older versions

  1. Corollary: If the fix is structural, only use the structural fix. The instruction is the symptom.missing from 1 of 1

Rules people drop

  1. If the lesson needs judgment and cannot be encoded, make the instruction more prominent and add an example of the failure mode.dropped by 30 of 34

Rules people add

  1. When you catch yourself writing the same instruction a second time:added by 30 of 34
  2. Ask: can this be a lint rule, a metadata flag, a runtime check, or a script?added by 30 of 34
  3. If yes, encode it. Delete the instructionadded by 30 of 34
  4. If no (requires judgment), make the instruction more prominent and add an example of the failure modeadded by 30 of 34
  5. Capture every correction. When the human intervenes or tests fail, decide if it's a one-off or a pattern.added by 28 of 34
  6. Close the loop. Don't just record. Apply now or create a concrete todo.added by 28 of 34

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Cooling: 1 new project took it in the last 4 weeks, 0.5× the 4 weeks before.thin data

Week of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 1 new projectWeek of Oct 11: 1 new projectWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 1 new project
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 3 in all, so this is a hint, not a trend.

Most recently taken up by

Used with

Projects with it also use poteto-help and Poteto Mode.

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.
  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 14 projects that use this

  • JoshueOsunaSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 1

    Common

    Most of the 44 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.

The licence could not be identified — read it at the source. We count its rules but don't quote them. Read them on GitHub.

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

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.