plain-markdown
Skill76 starsChanged 6 days agoApache-2.0View on GitHub
Use whenever you write or edit Markdown in this repo or a pull request description. Write short, clear sentences for readers who might not be native English speakers.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- packages/core/AGENTS.mdAGENTS.md
- packages/core/src/components/AGENTS.mdAGENTS.md
- packages/core/src/lib/AGENTS.mdAGENTS.md
- packages/core/src/utils/AGENTS.mdAGENTS.md
- breaking-changesSkill
- code-first-workflowSkill
- minimal-changesSkill
- no-guessingSkill
- realtimekit-jsdocSkill
- realtimekit-sdk-mapSkill
- realtimekit-test-setupSkill
- strict-namingSkill
- writing-testsSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Write the way a careful engineer explains something to a new colleague.
- Very specific: line 18
Say who does what: Write "rtk-meeting shows the setup screen", not "The setup screen is shown".
- Very specific: line 19
Present tense: Write "createDefaultConfig() returns a new config", not "The method will return a config".
- Very specific: line 20
Condition first, then the action: Write "If showSetupScreen is true, rtk-meeting shows the setup screen."
- Distinctive: line 21
One name for one thing: Use the exact name from the code, in backticks.
- Distinctive: line 24
No filler: Remove "simply", "just", "basically", "note that", "it is important to note", "in order to".
- Distinctive: line 83
When you edit a paragraph that is hard to read, rewrite that paragraph in plain words.
- Distinctive: line 84
No grand summaries, no praise, no stacked adjectives.
- Distinctive: line 85
Keep code names, event names, and links exactly as they are.
- Distinctive: line 89
Read every sentence you wrote once more.
- Distinctive: line 90
Run this. It prints added Markdown lines that contain words from the table.
- Very specific: line 96
If the change is already committed, use git diff <base branch>...HEAD in place of git diff HEAD.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Plain Markdown
Who reads it
A developer who might not be a native English speaker and is new to this repo. AI agents read the same files. Both should understand the text on the first read.
Write the way a careful engineer explains something to a new colleague. Do not try to sound smart.
Rules
- Short sentences. One idea in one sentence. If a sentence has more than about 20 words, split it.
- Common words. Choose the word a beginner knows. See the table below.
- Say who does what. Write "
rtk-meetingshows the setup screen", not "The setup screen is shown". - Present tense. Write "
createDefaultConfig()returns a new config", not "The method will return a config". - Condition first, then the action. Write "If
showSetupScreenis true,rtk-meetingshows the setup screen." - One name for one thing. Use the exact name from the code, in backticks. Do not use two words for the same thing.
- Explain a technical term the first time you use it, in a few plain words. Names from the code and the product are fine. Extra jargon is not.
- No idioms, no jokes, no metaphors. They do not translate.
- No filler. Remove "simply", "just", "basically", "note that", "it is important to note", "in order to".
- Short paragraphs. Three sentences at most. Use a list for several items. Use numbered steps for an order. Use a table for cases and options.
- Start with what the thing is and why it exists. Then give the details. Do not use a concept before you introduce it.
- Point to the file, not to a line number. Line numbers change with every edit.
- For a flow, prefer a small Mermaid diagram. One flow per diagram. One action per box.
Words to replace
| Do not write | Write |
| utilize, leverage | use |
| facilitate | help, allow |
| in order to | to |
| prior to, subsequent to | before, after |
| subsequently | then, later |
| via | through, with |
| e.g., i.e., etc. | for example, that is, and so on |
| initiate, commence | start |
| terminate | stop, end |
| obtain | get |
| modify | change |
| perform | do, run |
| sufficient, numerous, additional | enough, many, more |
| thereby, whereby, henceforth, aforementioned | rewrite the sentence |
| atomically | in one step |
| idempotent | safe to run twice; the second run changes nothing |
| authoritative | the version from the server, which is the correct one |
| reconcile | compare and fix the differences |
| orchestrate | run in the right order |
| propagate | pass on |
| invariant | a rule that must always be true |
| no-op | does nothing |
| seamless, robust, comprehensive, powerful | remove the word, or say what really happens |
Bad and good
Bad:
The UI Kit leverages a robust configuration mechanism to facilitate seamless
customization of the component hierarchy.
Good:
Call `createDefaultConfig()` to get a new `UIConfig`.
Change its `root` to choose which child components the UI renders.Bad:
The state is propagated through the event infrastructure for consumers.
Good:
Child components emit `rtkStateUpdate`.
`rtk-meeting` emits `rtkStatesUpdate` after it updates the UI state.What to write, and what not
- Describe only what the code does. Read the code first (see
no-guessing). - Change only the text that the code change made wrong or incomplete. Do not rewrite other sections.
- When you edit a paragraph that is hard to read, rewrite that paragraph in plain words.
- No grand summaries, no praise, no stacked adjectives.
- Keep code names, event names, and links exactly as they are.
Check before you report
- Read every sentence you wrote once more. Split each long one.
Run this. It prints added Markdown lines that contain words from the table. Rewrite each line it prints, unless the word is in a quoted bad example or a code name.
git diff HEAD -U0 -- '*.md' '*.mdx' | grep -E '^\+' | grep -niE '\b(utili[sz]e[sd]?|leverag(e|es|ed|ing)|facilitat(e|es|ed|ing)|aforementioned|thereby|whereby|henceforth|in order to|simply|basically|seamless(ly)?|robust|comprehensive|atomically|authoritative|idempotent|orchestrat(e|es|ed|ing)|subsequent(ly)?|prior to|e\.g\.|i\.e\.|via|etc\.)'If the change is already committed, use
git diff <base branch>...HEADin place ofgit diff HEAD. New untracked files are in neither output. Read them in full.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

