Creates custom output styles for Claude Code that modify system prompts and behavior...
Creates custom output styles for Claude Code following Anthropic's standards and best practices.
Output styles modify Claude Code's system prompt to adapt its behavior beyond software engineering. They directly affect the main agent loop and control response tone, structure, and approach.
Key capabilities:
~/.claude/output-styles/ (user) or .claude/output-styles/ (project).claude/skills/output-style/references/output-style-docs.mdCraft frontmatter:
name: Clear, descriptive name (shown in UI)description: Brief explanation for userskeep-coding-instructions: true/false (default: false)Write system prompt modifications:
Structure content:
/output-style commandFile format:
---
name: Style Name
description: User-facing description of what this style does
keep-coding-instructions: false
---
# Custom Style Instructions
You are an interactive CLI tool that helps users with software engineering tasks. [Custom instructions...]
## Specific Behaviors
[Define how the assistant should behave in this style...]
Naming guidelines:
name fieldDescription guidelines:
keep-coding-instructions:
false (default): Removes software engineering instructions, clean slatetrue: Retains coding guidance, adds modifications on top.md extension/output-style commandExample 1: Technical Writer Style
---
name: Technical Writer
description: Produces detailed documentation with comprehensive explanations
keep-coding-instructions: true
---
# Technical Writer Instructions
You are an interactive CLI tool that helps users with software engineering tasks.
## Documentation Approach
- Provide comprehensive explanations for all code changes
- Include detailed comments in code
- Document edge cases and assumptions
- Create thorough README sections when relevant
- Explain trade-offs in implementation decisions
## Formatting
- Use clear section headers
- Include code examples with explanations
- Add inline comments for complex logic
- Structure responses with intro, body, conclusion
Example 2: Minimalist Style
---
name: Minimalist
description: Provides concise responses with minimal explanation
keep-coding-instructions: true
---
# Minimalist Instructions
You are an interactive CLI tool that helps users with software engineering tasks.
## Communication Style
- Keep responses under 5 lines when possible
- Use code without explanatory prose
- Omit obvious explanations
- Respond with direct answers
- Only elaborate when explicitly asked
Common output style patterns:
keep-coding-instructions: true, add explanatory guidancekeep-coding-instructions: false, define new rolekeep-coding-instructions: true, add response structure ruleskeep-coding-instructions: true, adjust communication styleTesting workflow:
/output-style to verify it appears in menu.claude/settings.local.json.claude/skills/output-style/references/output-style-docs.md.claude/templates/output-style.md (if exists)