You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit be1e8e0
Browse filesBrowse the repository at this point in the historyBrowse files
Add the advisory phrase-mapping reference, tighten human review-gate
criteria, and expand copy lint coverage for descriptions,
comparative headings, and coined shorthand warnings.
Human-maintained guidance for recurring weak constructions.
4
+
This file is advisory. It is not a one-to-one thesaurus and it does not auto-promote entries into the banned lists.
5
+
6
+
Use it when a review pass identifies a repeated failure mode that is real, but still needs judgement and multiple acceptable rewrite shapes.
7
+
8
+
<CustomDivider />
9
+
10
+
## How To Use This File
11
+
12
+
For each recurring pattern, capture:
13
+
14
+
- the pattern or opening shape
15
+
- why it fails
16
+
- rewrite shapes that usually work
17
+
- any accuracy caveat that should prevent blind substitution
18
+
19
+
Prefer rewrite families over a single mandatory replacement.
20
+
21
+
<CustomDivider />
22
+
23
+
## Comparative Openings
24
+
25
+
| Pattern | Why it usually fails | Rewrite shapes |
26
+
|---|---|---|
27
+
|`What changes from X`| Starts from comparison before the thing itself is defined |`What this option does`; `When to choose this path`; `What the operator gains here`|
28
+
|`Unlike X`| Defines value by contrast |`This option gives you ...`; `Choose this when ...`; `This path is for ...`|
29
+
|`Compared to X`| Assumes the reader already has a baseline |`This path keeps ...`; `This design separates ...`; `Use this when ...`|
30
+
|`The key difference is`| Signals comparison-led framing |`The primary outcome is ...`; `The operational trade-off is ...`|
31
+
32
+
Accuracy caveat:
33
+
Use comparison after the concept is established if the comparison materially helps the decision.
34
+
35
+
<CustomDivider />
36
+
37
+
## Announcement And Throat-Clearing
38
+
39
+
| Pattern | Why it usually fails | Rewrite shapes |
40
+
|---|---|---|
41
+
|`This section walks you through`| Announces instead of delivering | Delete and start with the content; `Use this path when ...`; `Do X by ...`|
42
+
|`Before we begin`| Preamble instead of prerequisite |`Prerequisites`; `You need ... before ...`|
43
+
|`Now that you understand X`| Patronising and unnecessary | Delete; move directly to the next point |
44
+
|`It is worth noting that`| Throat-clearing | Delete; state the fact |
45
+
|`In order to`| Verbose |`To ...`|
46
+
47
+
<CustomDivider />
48
+
49
+
## Mechanism-First Openings
50
+
51
+
| Pattern | Why it usually fails | Rewrite shapes |
52
+
|---|---|---|
53
+
|`[tool] runs [flag] against [address]` as the first sentence | Leads with internals before fit or outcome |`Use this path to ...`; `Choose this when ...`; `This option lets you ...`|
54
+
|`[component] handles [list of operations]` as the first sentence | Describes machinery before why the reader should care |`The operator keeps ...`; `This setup offloads ...`; `This model is for ...`|
55
+
|`The [thing] separates what [other thing] runs together`| Defines only by structural difference |`This split lets you ...`; `Use this separation when ...`; `This setup isolates ...`|
56
+
57
+
Accuracy caveat:
58
+
If the mechanism itself is the irreducible fact, keep it and document why the normal benefit-first rewrite would be misleading.
59
+
60
+
<CustomDivider />
61
+
62
+
## Decision Language
63
+
64
+
| Pattern | Why it usually fails | Rewrite shapes |
65
+
|---|---|---|
66
+
|`Use this when:` followed by a long checklist | Delays the primary fit condition |`Use this when [single strongest fit]`; follow with constraints or checks |
67
+
|`This may be appropriate if`| Hedged recommendation |`Use this when ...`; `Choose this if ...`|
68
+
|`It depends on your situation`| Refuses the decision |`The deciding factor is ...`; `Choose A when ... Choose B when ...`|
69
+
|`There are several options`| Vague quantity, no orientation | Name the options immediately |
70
+
71
+
<CustomDivider />
72
+
73
+
## First-Use Terminology
74
+
75
+
| Pattern | Why it usually fails | Rewrite shapes |
76
+
|---|---|---|
77
+
| Abbreviation in a heading before definition | Reader has no referent | Define in prose first, then reuse the shorthand |
78
+
| Coined term in a table before prose introduction | Scan order beats comprehension | Add a short prose definition before the table |
79
+
| Flag name as the grammatical subject of the opening sentence | Assumes prior command knowledge | Name the capability first, then introduce the flag |
80
+
81
+
<CustomDivider />
82
+
83
+
## Description Field Anti-Patterns
84
+
85
+
| Pattern | Why it usually fails | Rewrite shapes |
86
+
|---|---|---|
87
+
|`The X alternatives to ...`| Announces page contents, not reader value |`Choose the right ...`; `Pick the ... path for ...`; `Decide between ... based on ...`|
88
+
|`How to configure X`| Repeats page type, not outcome |`Configure X so you can ...`; `Set up X for ...`|
89
+
|`Overview of X, Y, and Z`| Table of contents in one sentence |`Understand how X affects ...`; `Learn when to use ...`|
90
+
91
+
<CustomDivider />
92
+
93
+
## Maintenance Rule
94
+
95
+
Add a new row only when:
96
+
97
+
- the pattern recurs across reviews
98
+
- a single banned phrase would be too blunt
99
+
- human judgement is still required to choose the right rewrite
100
+
101
+
If a pattern truly becomes non-negotiable, promote it explicitly into the canonical banned list with human approval.
0 commit comments