-
Notifications
You must be signed in to change notification settings - Fork 17
docs(rules): write messages a reader can check and act on #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
3eee0b0
docs(rules): write messages a reader can check and act on
zolotokrylin dd3916b
Merge branch 'main' into docs/define-message-terms
zolotokrylin 0463b21
Update docs/rules/DEV-230.md
zolotokrylin fd31b51
docs(rules): require definitions only for unfamiliar terms
coderabbitai[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| --- | ||
| id: DEV-260 | ||
| title: "Define Every Term the Reader Has Not Seen" | ||
| status: "active" | ||
| enforcement: "manual" | ||
| severity: "warning" | ||
| depends_on: ["DEV-230"] | ||
| --- | ||
|
|
||
| ## Problem | ||
|
|
||
| A message built on words the reader has not seen defined, such as "middle | ||
| ground" or "eng-month", makes them guess, and two readers guess differently. | ||
|
|
||
| ## Solution | ||
|
|
||
| A word earns its place only if it survives the question "what does that mean | ||
| here?". The writer knows what they meant; the reader only has the page. | ||
|
|
||
| 1. Replace an abstract verb such as "align", "streamline", "formalise" or | ||
| "leverage" with the action it stands for. | ||
| 1. Replace a catch-all such as "everything else" or "the rest" with the list it | ||
| covers. | ||
| 1. Define a term the first time you use it, unless the thread or a linked doc | ||
| already defines it. Otherwise replace it with the concrete thing. | ||
| 1. Refer to an earlier position by stating it or linking it, not by a shorthand | ||
| only you hold. | ||
|
|
||
| ```md | ||
| Good: A month with under 40 logged hours bills by the days worked, not as a | ||
| full month. | ||
| Bad: This keeps partner protection on light months (no "16h = full month"). | ||
| ``` | ||
|
|
||
| ### Acceptance Criteria | ||
|
|
||
| - [ ] Every unfamiliar term is defined in the message, the thread, or a linked | ||
| doc | ||
| - [ ] No abstract verb stands in for an action that can be named | ||
| - [ ] No catch-all stands in for a list that can be given | ||
| - [ ] Every earlier position referred to is stated or linked |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: holdex/developers
Length of output: 5169
🏁 Script executed:
Repository: holdex/developers
Length of output: 3497
🏁 Script executed:
Repository: holdex/developers
Length of output: 189
Wrap the new rule before merge.
MD013applies to this tracked file and limits lines to 80 characters. Line 32 is 102 characters.Proposed fix
📝 Committable suggestion
🧰 Tools
🪛 GitHub Check: checks
[warning] 31-32: MD013
Line length 102 exceeds 80 characters
🤖 Prompt for AI Agents