agentleFS
CloudflareKnown publishercloudflare/realtimekit-ui/.agents/skills/plain-markdown/SKILL.md

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.

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
  1. Distinctive:

    Write the way a careful engineer explains something to a new colleague.

    line 12
  2. Very specific:

    Say who does what: Write "rtk-meeting shows the setup screen", not "The setup screen is shown".

    line 18
  3. Very specific:

    Present tense: Write "createDefaultConfig() returns a new config", not "The method will return a config".

    line 19
  4. Very specific:

    Condition first, then the action: Write "If showSetupScreen is true, rtk-meeting shows the setup screen."

    line 20
  5. Distinctive:

    One name for one thing: Use the exact name from the code, in backticks.

    line 21
  6. Distinctive:

    No filler: Remove "simply", "just", "basically", "note that", "it is important to note", "in order to".

    line 24
  7. Distinctive:

    When you edit a paragraph that is hard to read, rewrite that paragraph in plain words.

    line 83
  8. Distinctive:

    No grand summaries, no praise, no stacked adjectives.

    line 84
  9. Distinctive:

    Keep code names, event names, and links exactly as they are.

    line 85
  10. Distinctive:

    Read every sentence you wrote once more.

    line 89
  11. Distinctive:

    Run this. It prints added Markdown lines that contain words from the table.

    line 90
  12. Very specific:

    If the change is already committed, use git diff <base branch>...HEAD in place of git diff HEAD.

    line 96

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Short sentences. One idea in one sentence. If a sentence has more than about 20 words, split it.
  2. Common words. Choose the word a beginner knows. See the table below.
  3. Say who does what. Write "rtk-meeting shows the setup screen", not "The setup screen is shown".
  4. Present tense. Write "createDefaultConfig() returns a new config", not "The method will return a config".
  5. Condition first, then the action. Write "If showSetupScreen is true, rtk-meeting shows the setup screen."
  6. One name for one thing. Use the exact name from the code, in backticks. Do not use two words for the same thing.
  7. 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.
  8. No idioms, no jokes, no metaphors. They do not translate.
  9. No filler. Remove "simply", "just", "basically", "note that", "it is important to note", "in order to".
  10. 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.
  11. Start with what the thing is and why it exists. Then give the details. Do not use a concept before you introduce it.
  12. Point to the file, not to a line number. Line numbers change with every edit.
  13. For a flow, prefer a small Mermaid diagram. One flow per diagram. One action per box.

Words to replace

Do not writeWrite
utilize, leverageuse
facilitatehelp, allow
in order toto
prior to, subsequent tobefore, after
subsequentlythen, later
viathrough, with
e.g., i.e., etc.for example, that is, and so on
initiate, commencestart
terminatestop, end
obtainget
modifychange
performdo, run
sufficient, numerous, additionalenough, many, more
thereby, whereby, henceforth, aforementionedrewrite the sentence
atomicallyin one step
idempotentsafe to run twice; the second run changes nothing
authoritativethe version from the server, which is the correct one
reconcilecompare and fix the differences
orchestraterun in the right order
propagatepass on
invarianta rule that must always be true
no-opdoes nothing
seamless, robust, comprehensive, powerfulremove 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

  1. Read every sentence you wrote once more. Split each long one.
  2. 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>...HEAD in place of git diff HEAD. New untracked files are in neither output. Read them in full.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.