Skip to content
Skill Authoring
Skill

/principle-encode-lessons-in-structure

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.

From plugin
pstack
4.6k61 skills2 agents

Claude Code

$ npx -y skills add backnotprop/pstack --skill principle-encode-lessons-in-structure --agent claude-code

SKILL.md

principle-encode-lessons-in-structure.SKILL.md
name: principle-encode-lessons-in-structure
description: "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."
disable-model-invocation: true

Encode Lessons in Structure

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

**Corollary:** If the fix is structural, only use the structural fix. The instruction is the symptom.

@backnotprop
Ships withpstack

i'm poteto. i'm not a president or ceo, but i've worked with millions of lines of code at Meta, Netflix, and Cursor. i'm also on the react core team where i help build and maintain react compiler. there's a growing sense that ai writes too much slop code.

4.6k61 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.6k
Star history of backnotprop/pstack on GitHub, a chart by star-history.com

Other skills on pstack.

setup-benny

setup-benny

Configure Benny and prepare its triage and repro automations. Use when installing Benny or changing its Slack, tracker,…

@backnotprop@backnotpropInstall Skill
triage-issue-reports

triage-issue-reports

Triage Slack issue reports with one thread-only verdict, evidence review, cause-aware routing, tracker dedupe, and fail-closed…

@backnotprop@backnotpropInstall Skill
architect

architect

Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for…

@backnotprop@backnotpropInstall Skill
arena

arena

Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena,…

@backnotprop@backnotpropInstall Skill
automate-me

automate-me

Use for \"automate me\", \"create/update/refresh my -mode skill\", \"turn/capture my preferences or working style into a skill\",…

@backnotprop@backnotpropInstall Skill

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack3w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about principle-encode-lessons-in-structure.

Which coding agents can use principle-encode-lessons-in-structure?
principle-encode-lessons-in-structure installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.