mcpField
P
principle-encode-lessons-in-structure

principle-encode-lessons-in-structure

github.com/cursorAgent workflows14.5k5.1k installsUpdated today
Repository

About principle-encode-lessons-in-structure

A skill principle for encoding lessons in an agent’s structure. Prefer structural fixes when possible; when judgment is unavoidable, emphasize the instruction and show a failure example.

Key features

  1. 01Prefer structural fixes
  2. 02Treat instructions as symptoms
  3. 03Emphasize guidance when judgment is needed
  4. 04Show a failure-mode example

Use cases

  1. 01Improve agent instructions
  2. 02Turn recurring problems into structural constraints

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cursor/plugins --skill principle-encode-lessons-in-structure

After installing, type/principle-encode-lessons-in-structurein Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported