feat(output-styles): ship opt-in technical-brief style - #30
Open
mike-diff wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
technical-brief, an opt-in Claude Code output style, to both the standalone.claude/tree and the generated plugin.Output styles change how Claude writes back — shorter, action-first — without changing what it knows. This one ships inert: it appears in
/configand does nothing until selected.Why this shape
Research compared the
/i-have-adhdskill, ASD-STE100 (Simplified Technical English), plain-language standards, Google's developer style guide, and Carroll's minimalism.Two findings drove the design:
Concisestyle (2.1.237+) whose entire prompt is one sentence. It covers the largest win for free, so the READMEs point users there first.technical-briefadds what that sentence doesn't: procedure structure, terminology consistency, and verification discipline.The style is ~680 tokens against the ADHD skill's ~1,600, largely because it's written to agree with the harness rather than carry six clauses walking back its own rules.
Fixes a stale assumption in the sync script
sync-plugin.shcarriedrm -rf "$DST/output-styles"with the comment "Output styles removed from Claude Code." That is incorrect — the/output-stylecommand was removed in 2.1.91; the feature is current in 2.1.238. Git history (9d3437f) shows this repo shipped an output style before it was purged on that premise. This restores the capability and corrects the comment.keep-coding-instructionsis load-bearingA custom output style silently strips Claude Code's software-engineering instructions — scoping, comment conventions, verifying work — unless its frontmatter sets
keep-coding-instructions: true. Verified in the 2.1.238 binary, which gates it exactly once:Nothing warns you when it's missing, and omitting it would quietly undo the lean-build discipline in
.claude/rules/. A contract test now asserts the flag is present. Confirmed working end-to-end: with the style active, all three instruction categories are still in the system prompt.Also worth knowing for review: output styles apply to the main conversation only. The five subagents run their own system prompts and are unaffected.
Changes
.claude/output-styles/technical-brief.mdplugins/agent-team/output-styles/technical-brief.mdscripts/sync-plugin.shtests/workflow-contract.shREADME.md,.claude/README.md,plugins/agent-team/README.mdkeep-coding-instructionswarningValidation
All green:
workflow-contract,codex-workflow-contract,hooks-contract(11/11),smoke.sh(11/11),bash -nacross all scripts,git diff --check.The new assertions were verified red-then-green — drifting the plugin copy and deleting it each produced the correct failure before passing on restore.
Caveat for the reviewer
The style is empirically untested. The evidence behind it concerns human readers of aviation manuals, not engineers reading agent output. The recommended rollout is to run built-in
Concisefirst and judge by whether you re-ask more often — not by whether responses got shorter. Shipping it inert is what keeps that ordering honest.