Plan writing style
Read this page when you want plans for another reader level, writing standard, tone or layout density, or when a style check blocks a plan.
/sdlc:setup --only communication-style,plan-style
This command sets the writing style. Every plan follows it: who the plan is written for, which writing standard it follows, its tone, and how dense its layout is.
Settings
| Key | Values | Default | What it changes |
|---|---|---|---|
audience |
technical, functional, executive, general, beginner |
functional |
How much jargon the prose may carry, and what the prose explains. |
writingStandard |
ste, plain-language, developer-docs, smart-brevity |
plain-language |
Sentence rules and limits. ste turns on the strict ASD-STE100 checks below. |
tone |
direct, neutral |
direct |
direct states problems plainly and flags hedging/praise phrases; neutral reports facts with no opinion either way. |
language |
plain text (e.g. English) |
English |
The sentence-length limit applies only when this is English. Any other language turns it off. |
technicalTerms |
list of words | [] |
Words exempt from the STE word checks. Backticked inline code is always exempt too. |
visualDensity |
high, balanced, low |
balanced |
Prose-share, paragraph-length, and list-length ceilings. Plan-only. |
narrativeRules |
list of rules | [] |
Extra rules appended to the writing guide verbatim. Plan-only. |
instructions |
list of instructions | [] |
Project-specific plan instructions — see Custom plan instructions below. Plan-only. |
audience,writingStandard,tone,language, andtechnicalTermslive in[style]and apply to every sdlc skill, not only to plans.visualDensity,narrativeRules, andinstructionslive in[planStyle]and apply to plans only.- A key under the wrong section still works, with a warning (see Migration from the old settings).
Same content, different settings
By writing standard — the writing guide’s own before/after pair for each value:
writingStandard |
Before | After |
|---|---|---|
ste |
The validator, which is responsible for checking audience values, will reject values that are unknown. | The validator checks each audience value. It rejects a value that is not in the list. |
plain-language |
Utilize the configuration to facilitate seamless integration across numerous environments prior to deployment. | Use the setting. It helps the tool work the same way in each environment before you deploy it. |
developer-docs |
The function might sometimes return an error when the input is bad. | ValidateAudience returns ErrInvalidAudience when audience is not in the Audiences list. |
smart-brevity |
We wanted to let you know that, after a lot of discussion, the audience check will change in the next release to catch fewer good values as errors. | Why it matters: Fewer good values will fail the audience check. The old pattern was too strict. |
By audience — one fact, five readers. Content: “Task 3 adds a validator that rejects unknown audience values.”
audience |
Output |
|---|---|
technical |
loadPlanStyle rejects unknown audience values with a warning. |
functional |
The loader rejects an unknown reader level. The plan keeps the default level and shows a warning. |
executive |
Bad settings no longer produce bad plans silently. No cost. No decision needed. |
general |
If you type a reader type the tool does not know, it tells you and uses the normal one. |
beginner |
The tool knows 5 reader types. If you type another one, it says so. |
By tone — same content, direct vs. neutral. Content: “Task 3’s validator does not scan short list items.”
tone |
Output |
|---|---|
direct |
Task 3’s validator skips every list item under 30 words. That is a real gap: acceptance criteria are list items, so the STE rules never ran on them. |
neutral |
Task 3’s validator does not scan a list item under 30 words. Acceptance criteria are list items, so the STE rules do not run on them. |
By visual density — same content, as prose and as a table. Content: “Task 5 chose sqlite over postgres for the local cache: sqlite needs no server process, postgres needs one running at all times, and the cache has no concurrent writers across machines to support.”
visualDensity=low (prose):
Task 5 chose sqlite over postgres for the local cache. Sqlite needs no server process. Postgres needs one running at all times. The cache has no concurrent writers across machines, so postgres adds cost with no benefit.
visualDensity=high (table):
| Option | Needs a server process | Fits a local, single-writer cache |
|---|---|---|
| sqlite | No | Yes |
| postgres | Yes | No |
Writing standard: ste
writingStandard = "ste" turns on strict ASD-STE100 (Simplified Technical
English) checks. The rule text and the avoid list below are a plugin
approximation of ASD-STE100, not the ASD-STE100 dictionary, which is
copyrighted.
The 20 rules:
Words
- Use simple, common words. One word, one meaning. No synonyms.
- Use technical names (code, commands, paths, products) exactly, as nouns or adjectives.
- Use noun clusters of 3 words or fewer. Split a longer cluster with “of”, “for”, or a relative clause.
- Do not use the words in the avoid list below.
Verbs 5. Use only the infinitive, the imperative, the simple present, the simple past, and the simple future. 6. Do not use perfect tenses (“has done”, “have been”). 7. Do not use “-ing” verb forms. 8. Use the past participle only as an adjective, or with “is”/“are”. 9. Use the active voice. Use the passive voice only in a description, when the doer is not known. 10. Do not use phrasal verbs (“set up”, “carry out”, “find out”).
Sentences 11. Write one instruction in each sentence. 12. Write instructions in the imperative. Put a condition first: “If X, do Y.” 13. Use 20 words or fewer in an instruction sentence; 25 words or fewer in a description sentence. 14. Keep the articles “the”, “a”, “an”. 15. Use a pronoun only when it has one clear referent. Otherwise, repeat the noun. 16. Write a cause and its effect as two sentences: “X fails. The cause is Y.”
Paragraphs and layout 17. Write one topic in each paragraph. Use 6 sentences or fewer. 18. Use a vertical list for 3 or more items, steps, or conditions. 19. Start a warning with the command, then give the reason.
Punctuation and style 20. Do not use contractions, semicolons, idioms, slang, or figurative words. Explain each uncommon technical term the first time you use it.
Which rules the Go check (PF13) catches by pattern, and which the G22 review lane judges because they need meaning:
| Rule | Checked by |
|---|---|
| 1. One word, one meaning | G22 (needs judgment) |
| 2. Technical names exactly | technicalTerms exemption, not a pattern check |
| 3. Noun clusters ≤ 3 words | G22 (needs judgment) |
| 4. Avoid list | PF13: avoid-word |
| 5. Only 5 verb forms | G22 (needs judgment) |
| 6. No perfect tenses | PF13: perfect-tense |
| 7. No “-ing” verb forms | PF13: ing-form |
| 8. Past participle placement | PF13: passive-instruction (in an instruction). G22: a passive description with a known doer |
| 9. Active voice | PF13: passive-instruction (in an instruction). G22: a passive description with a known doer |
| 10. No phrasal verbs | PF13: phrasal-verb (a fixed list). G22: a phrasal verb that is not on the PF13 list |
| 11. One instruction per sentence | G22 (needs judgment) |
| 12. Condition first | G22 (needs judgment) |
| 13. Sentence length | PF13: instruction-length / description-length |
| 14. Keep articles | G22 (needs judgment) |
| 15. Clear pronoun referent | G22 (needs judgment) |
| 16. Cause and effect as two sentences | G22 (needs judgment) |
| 17. Paragraph length (6 sentences) | PF13: paragraph-length |
| 18. Vertical list for 3+ items | G22 (needs judgment) |
| 19. Warning: command first | G22 (needs judgment) |
| 20. No contractions / semicolons | PF13: contraction / semicolon. G22: idioms, slang, figurative words, and an uncommon term with no explanation at first use |
PF13 is a deterministic hard gate: a false hit would block a correct plan, so
it checks only what a pattern can decide safely. G22 (the
style-compliance review lane, Step 3) judges every rule that needs
meaning, scaled to audience, and reviews the pattern-checked rules too, as
a second pass.
Avoid list (rule 4; a plugin approximation, not the ASD-STE100 dictionary):
| Avoid | Use instead |
|---|---|
| utilize | use |
| leverage | use |
| ensure | make sure |
| facilitate | help |
| perform | do |
| commence | start |
| terminate | stop |
| obtain | get |
| sufficient | enough |
| numerous | many |
| prior to | before |
| subsequent | next |
| in order to | to |
| demonstrate | show |
| modify | change |
| eliminate | remove |
| initiate | start |
| regarding | about |
| approximately | about |
| additional | more |
Exemptions: a word or phrase listed in technicalTerms (matched
case-insensitive, whole word) is masked before any STE word check runs, so
it is never flagged. Inline code (backticks) is always exempt the same
way — it is replaced with a placeholder before the checks run, so it never
reaches them.
Mermaid diagram colors
Every Mermaid diagram in a plan marks new and changed nodes with exactly
these two classDef lines, copied as-is:
classDef new fill:#1f7a3a,stroke:#0b3d1c,color:#ffffff,stroke-width:2px
classDef changed fill:#8a6d00,stroke:#4a3a00,color:#ffffff,stroke-width:2px
Any other classDef or style line needs a color: and a text-to-fill
contrast of 4.5:1 or more. No pastel fills.
- Valid:
classDef done fill:#1f7a3a,stroke:#0b3d1c,color:#ffffff,stroke-width:2px(contrast 5.4:1). - Invalid:
classDef new fill:#d4f7d4,stroke:#2a7a2a— fails with “no text color” (nocolor:key at all).
How the check works
validate({action:"plan_format"})runs PF13 (style limits) and PF14 (diagram colors, whole file) on every call, with every other plan-format check;final:trueadds PF9 and PF10.handoff:true(Step 6.6 and the rejected-handoff rerun only) adds PF15. A PF13 or PF14 failure blocks the plan at handoff.- The PostToolUse hook runs PF14 on every plan-file edit, on the edited text only. It does not run PF13.
validate({action:"plan_style"})runs PF13 alone and always returns astyleReport— pass or fail — with the settings in effect, the numeric limits, per-section numbers, every banned-phrase and STE hit, the diagram contrast hits, and the custom instructions.- At the end of Step 2, the skill runs a format pre-check: it calls
validate({action:"plan_format", final:false}), fixes each finding, and calls it again, at most 3 calls. A finding that is left waits for the Step 6.6 format gate. - The STE and banned-phrase scans cover the whole plan file. The density and
readability limits cover only the measured
##sections (the narrative sections of the plan template, or Context / Research Findings / Key Decisions / Final Shape with no template). - The G22 review lane judges the rules PF13 cannot check by pattern (see the table in Writing standard: ste).
- The rounds and the limit of the Step 5 review loop are in Flags and gotchas.
Sample styleReport (abbreviated; writingStandard=ste, visualDensity=high):
{
"settings": {
"audience": "functional",
"writingStandard": "ste",
"tone": "direct",
"visualDensity": "high",
"language": "English"
},
"limits": {
"maxProseShare": 0.30,
"maxParagraphSentences": 3,
"maxListItems": 7,
"maxSentenceWords": 25,
"maxInstructionWords": 20,
"maxJargonShare": 0.15,
"ste": true,
"bannedPhrases": [],
"technicalTerms": []
},
"sections": [
{ "name": "Context", "status": "fail", "failures": ["prose share 0.42 > 0.30"] }
],
"bannedPhraseHits": [{ "phrase": "great question", "line": 12 }],
"steHits": [{ "rule": "ing-form", "text": "starting", "line": 18 }],
"diagramContrast": [],
"instructions": ["always add before -> after for the changed flows"],
"warnings": []
}
Limits
The 4 style enums combine into one numeric Limits:
| Source | Sets |
|---|---|
visualDensity |
maxProseShare, maxParagraphSentences, maxListItems |
writingStandard |
maxSentenceWords, maxInstructionWords, ste |
audience |
maxJargonShare |
tone |
bannedPhrases (populated only when tone is not neutral) |
visualDensity |
Max prose share | Max paragraph sentences | Max list items |
|---|---|---|---|
high |
0.30 | 3 | 7 |
balanced |
0.50 | 5 | 9 |
low |
0.75 | 6 | 12 |
(with ste on, the paragraph-sentence ceiling is capped at 6 regardless of
density.)
writingStandard |
Max sentence words | Max instruction words | STE checks |
|---|---|---|---|
ste |
25 | 20 | on |
plain-language |
25 | off | off |
developer-docs |
30 | off | off |
smart-brevity |
20 | off | off |
audience |
Max jargon share |
|---|---|
technical |
off |
functional |
0.15 |
executive |
0.05 |
general |
0.00 |
beginner |
0.00 |
A measured section under 40 words is skipped (too little text to judge). A
sentence-length check only fails a section when more than 10% of its
sentences are over the limit — one long sentence does not fail a section.
The sentence-length limit turns off entirely when language is not English.
Migration from the old settings
planStyle.verbosityis no longer read. SetvisualDensityinstead (high|balanced|low); a configuredverbositykey now only prints a warning.audience = "mixed"is no longer a valid value. An unrecognized value falls back to the default and prints a warning naming the bad value.audience,writingStandard,tone,language, andtechnicalTermsleft under[planStyle](their old location) still work. Each one prints a “moved to[style]” warning until you move it to[style].
Plugin-wide scope
[style] sets the reader level, writing standard, tone, and language for
chat, status lines, summaries, and AskUserQuestion text in every sdlc
skill, not only /plan. It does not apply to commit messages, PR bodies,
review comments, or Jira text — those keep their own templates and config
(/setup commit, pr, pr-template, jira).
Custom plan instructions
Use a custom instruction for a project rule that every plan must follow.
- Key:
[planStyle] instructionsin.sdlc-v2/local.toml(one instruction per array entry). - Where they apply: printed at plan start, passed to every subagent, repeated after compaction, checked in Step 7.