optimize

Installation
SKILL.md

Writing Lean AI-Facing Instructions

The AI writing an instruction file and the AI reading it share the same training data and reasoning capability. Write only what that shared baseline cannot supply.

Structural Principles

  • Decision tables over prose — Avoid walls of text. Use decision tables and lookup structures for quick routing.
  • Positive framing — Describe the right path to follow rather than just listing what not to do.
  • Checklists for validation — Use checklists to enable explicit validation of the steps on the right path.
  • References extraction — Heavy guidelines always go in references/. Keep the main skill and memory files lean with just routing logic and core principles.

The Only Things Worth Writing

User decisions — choices the project made that differ from defaults: "We use pnpm, not npm." "Dark background, cream foreground."

Project-specific facts — paths, scripts, and tools that only exist here: "Run node .claude/scripts/gh-api.cjs release latest <owner>/<repo> to get the current major."

Constraints — things that would be done differently without this instruction: "Never copy a uses: version from another workflow file without verifying it."

Related skills

More from jamie-bitflight/claude_skills

Installs
9
GitHub Stars
44
First Seen
Mar 29, 2026