crafting-instructions/SKILL.md
Generate optimized instructions for Claude (Project instructions, Skills, or standalone prompts). Use when users request creating project setups, writing effective prompts, building Skills, or need guidance on instruction types for Claude.ai.
npx skillsauth add oaustegard/claude-skills crafting-instructionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate technically optimized instructions for Claude.ai across three formats: Project instructions, Skills, and standalone prompts.
Ask these questions to determine the right format:
Signals: "for this project", "all conversations about X", "team workspace", "project-specific"
Signals: "every time I", "whenever", "reusable", "across projects", "teach Claude how to"
Signals: "for this task", "right now", "just this once", "can you"
Project + Skill:
Skill + Prompt:
These apply to ALL instruction formats:
Frame as direct action commands, not suggestions:
State WHAT to do, not what NOT to do:
WHY: Negative instructions force inference. Positive instructions state desired behavior directly.
Explain WHY requirements exist:
WHY: Context helps Claude make better autonomous decisions in edge cases.
Provide goals and decision frameworks, not step-by-step procedures:
Model-aware calibration:
Claude's system prompt already covers:
ONLY specify project/domain-specific deviations.
See: references/project-instructions.md
Key points:
See: references/creating-skills.md
Key points:
See: references/standalone-prompts.md
Key points:
Read: references/skill-vs-project.md for detailed comparison
Quick reference:
Project = "Here's what you need to know"
Skill = "Here's how to do things"
Example:
Use both together for powerful combinations.
CRITICAL for Claude 4.x: Examples teach ALL patterns, including unintended ones.
When including examples:
Model-aware calibration:
Default to clear organization:
Use structured markup (XML/JSON) only when:
Extended thinking is UI toggle, not phrase-controlled.
In instructions, you CAN:
Pattern:
For tasks involving [specific complexity], suggest enabling Extended
thinking, explaining briefly why it would help for THIS task.
Match instruction complexity to task needs:
Simple task → Simple prompt or brief instructions Medium task → Structured guidance with decision frameworks Complex task → Comprehensive instructions + suggest extended thinking
Before adding complexity: Could simpler formulation work equally well?
When crafting instructions, consider which model will execute them:
For Sonnet-executed instructions:
For Opus-executed instructions:
Instruction density heuristic:
When uncertain: Instructions optimized for Opus will still work with Sonnet (just less perfectly). Instructions over-optimized for Sonnet may constrain Opus unnecessarily.
Before delivering instructions:
Strategic:
Technical:
Execution:
❌ System prompt duplication - "Use web_search for current info, cite sources" ✅ Omit unless project has SPECIFIC deviations
❌ Negative framing - "Don't use lists, never be verbose" ✅ "Present in natural prose paragraphs"
❌ Fake thinking triggers - "Use 'think carefully' for deep thinking" ✅ "Suggest Extended thinking toggle for [specific complexity]"
❌ Procedural micromanagement - "Step 1: X, Step 2: Y..." ✅ "Goal: X. Quality standard: Y. Approach: Z."
❌ Contextless requirements - "Always use formal tone" ✅ "Use formal tone for professional docs because recipients expect authoritative voice"
❌ Imperfect examples - Example uses bullets when you want prose ✅ Either create perfect examples or omit entirely
development
Write effective instructions for Claude: project instructions, standalone prompts, and skill content. Use when users need help writing prompts, setting up project instructions, choosing between instruction formats, or improving how they communicate with Claude. Covers writing principles, model-aware calibration, and format selection. For building and testing complete skills, use skill-creator instead.
data-ai
Discover and load skills on demand from /mnt/skills/user/. Use when you need a capability but don't know which skill provides it, when the boot-emitted skill list is names-only and you need a full description, or when you want to list the catalog. Verbs are list (names only), search (rank by name/description match against a query), and show (emit the full SKILL.md for a named skill).
documentation
Reads the visual content of slides, pages, and images the way a human would, not just their embedded text. Use when a PPTX or PDF has image slides, screenshots, charts, scanned figures, or flattened-to-image layouts that the built-in pptx/pdf skills read as empty; when asked to transcribe, describe, OCR, or extract what is shown in an image, slide deck, or document page; or when embedded-text extraction returned little or nothing from a visually rich file. Triggers on 'read this deck', 'what's on these slides', 'transcribe', 'OCR', 'extract text from image', 'describe this chart/diagram', .pptx/.pdf/.png/.jpg with visual content.
development
Portrait Mode for SVGs — foveated vectorization with 4-zone selective detail. Combines vision annotations, MediaPipe segmentation/landmarks, and optional saliency. Like phone portrait mode, but vectorized. Use when vectorizing a portrait or photo where subject detail should outrank background detail.