Setting the file. One moment.
Subchapter 23.8
references/design-principles.mdMarkdown4 KBView on GitHub
Use this guide to keep skill instructions dense, scannable, and worth their token cost.
Before adding instructions, choose one:
| Action | Use when |
|---|---|
| replace | an existing rule is vague, stale, or pointing at the wrong behavior |
| narrow | the current rule is mostly right but over-triggers or invites extra work |
| move | the content belongs in SOURCES.md, SPEC.md, or a routed reference |
| delete | the content repeats another rule or no longer changes behavior |
| add | no existing rule can cover the new behavior without becoming less precise |
Do not add a new section, reference, or checklist until replacement, narrowing, moving, and deletion have been considered.
| Keep | Cut |
|---|---|
| project-specific conventions | generic background the agent already knows |
| non-obvious gotchas | motivational filler |
| exact commands, schemas, and templates | repeated restatements of the same rule |
| branch logic and defaults | long essays where a table would work |
| one strong example | multiple weak examples saying the same thing |
| behavior-changing constraints | source notes that belong in SOURCES.md |
| Fragility | Preferred structure | Avoid |
|---|---|---|
| high | exact steps, strict templates, validation gates | open-ended guidance |
| medium | short checklist plus examples | long rationale-heavy prose |
| low | brief goals and constraints | overspecified playbooks |
| Need | Preferred shape |
|---|---|
| choose a path | decision table |
| do a repeatable task | numbered checklist |
| enforce output structure | template or schema |
| show style or tone | input/output examples |
| diagnose failures | symptom/cause/fix matrix |
| communicate exact facts | compact reference table |
description in third person.description, not the body.SKILL.md; put optional depth in routed refs.references/.SKILL.md.SKILL.md short enough to scan as a router.## Contents.