Build an output style
How to build an output style
Section titled “How to build an output style”Author a Claude Code output style (a response mode). Claude-only (Standard sec 2.3).
1. Create
Section titled “1. Create”Invoke askit-build-output-style (create mode). It asks for the style’s purpose (when Claude should use it) and the response shape it enforces (structure, tone, length), then scaffolds the output-style markdown from templates/output-style.md.
2. Declare Claude-only
Section titled “2. Declare Claude-only”Set agent-targets: [claude]. Output styles have no Codex or cross-agent equivalent; state that plainly rather than emitting nothing for other targets.
3. Register and validate
Section titled “3. Register and validate”Add it to library.json components.outputStyles, then:
node scripts/evaluate.mjs . --json