wty-markdown-standards
Skill2 starsChanged 59 days agoMITView on GitHub
Write and normalize concise Markdown documentation and changelogs in the user's preferred style, keep bilingual README files synchronized when requested, and apply the user's commit, rebase, and push conventions when requested.
- Deletes or force-pushes
- Commits and pushes
In this repository8 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
58 rules. About 0 are common, 41 are distinctive, and 17 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈41
Distinctive · estimate
This author's own choices. Worth a look.
17
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 15
Prefer short, direct wording
- Distinctive: line 16
Prefer noun phrases and concise statements over conversational phrasing
- Distinctive: line 17
Use headings in a simple sequence:
- Distinctive: line 21
Put explanations for commands inside code blocks as shell comments when possible
- Distinctive: line 22
Keep prose compact; avoid long paragraphs
- Distinctive: line 23
Do not wrap Markdown prose to a fixed column width.
- Very specific: line 24
Prefer 该工具 / 该脚本 over conversational phrases like 这个工具
- Very specific: line 25
Avoid filler such as 最简单的...
- Distinctive: line 26
Do not add background, motivation, design history, or validation details unless they are required to use or verify the documented interface
- Distinctive: line 28
Prefer one fact or action per sentence.
- Very specific: line 32
Use this style when the source or target is a CHANGELOG, release note, commit summary, or version history.
- Very specific: line 36
Put versions in descending semantic-version order: the newest version must be at the top and older versions must follow, with one simple …
- Distinctive: line 37
Use a flat numbered list under each version.
- Distinctive: line 39
Keep each item to one compact sentence or line when possible.
- Very specific: line 41
Use concise English imperative wording by default, such as Add ..., Change ..., Remove ..., Update ....
- Distinctive: line 42
Keep code identifiers and values inline with backticks, including task IDs, function names, paths, ranges, dimensions, and units.
- Distinctive: line 44
Keep configuration and algorithm changes brief, with only necessary values.
- Distinctive: line 46
When the user explicitly requests version consolidation, retain only the requested version headings, move useful experiment history to …
- Distinctive: line 48
When converting a verbose change description into this format, retain only:
- Very specific: line 60
Write all CHANGELOG entries in English unless the user explicitly requests another language.
- Distinctive: line 62
Use one heading per version.
- Distinctive: line 63
Keep the newest version at the top, followed by older versions.
- Distinctive: line 65
Before committing, inspect git status, the current branch, the remote, and recent history.
- Very specific: line 66
If the commit defines a version, use only v<version> as the commit message, optionally followed by a component version with +, for example …
- Very specific: line 67
Do not append action descriptions, semicolons, or colons to a versioned commit message.
- Distinctive: line 68
If the user explicitly requests a squash from a specified base commit, preserve that base and replace only the requested following commits …
- Very specific: line 69
Before pushing, fetch or otherwise inspect the current origin/<branch> and rebase the local commit onto the latest remote branch.
- Distinctive: line 71
Run git diff --check and relevant syntax or focused tests before pushing.
- Very specific: line 72
Use a normal push when history is unchanged.
- Very specific: line 73
If a push is blocked only because the local Git LFS hook cannot run, report it and bypass the hook with --no-verify only after confirming …
- Distinctive: line 77
Keep skill instructions reusable across projects.
- Distinctive: line 78
Treat emphasis in the prompt as implementation guidance, not automatic README content
- Distinctive: line 81
Avoid negative compliance statements unless the negative behavior is an operational constraint users must know
- Distinctive: line 82
Prefer showing the current command, path, or behavior instead of explaining what is not generated or supported
- Distinctive: line 83
Before finishing, remove sentences whose only purpose is to reassure the user that the prompt was followed
- Distinctive: line 87
When generating README files for this user:
- Very specific: line 89
Default to producing both README.zh-CN.md and README.md unless the user limits scope
- Very specific: line 90
Treat README.zh-CN.md and README.md as the standard bilingual filenames for this user's projects
- Distinctive: line 91
If only one language exists, treat it as the source of truth unless the user says otherwise
- Distinctive: line 92
If Chinese and English README files both exist but have drifted, resynchronize section order and coverage before polishing wording
- Distinctive: line 93
Add cross-links near the top:
- Distinctive: line 96
Keep section order aligned across both languages
- Distinctive: line 98
If the user asks for Chinese-only or English-only output, follow that scope and skip the missing language
- Distinctive: line 104
Keep YAML frontmatter before the centered HTML header.
- Very specific: line 107
Keep the title, summary, links, and language order equivalent in README.md and README.zh-CN.md.
- Distinctive: line 119
Keep examples runnable and keep explanations inside code blocks as shell comments when possible
- Distinctive: line 121
Before finishing, check that both languages mention the same commands, paths, defaults, and constraints
- Distinctive: line 122
If a style baseline is needed:
- Very specific: line 123
read references/docker-openclaw-README.zh-CN.md for Chinese structure and tone
- Very specific: line 124
read references/docker-openclaw-README.md for matching English phrasing and section alignment
- Distinctive: line 125
follow their section order and information flow:
- Very specific: line 154
Use README.zh-CN.md and README.md unless the user explicitly limits scope to a single language
- Distinctive: line 156
Do not add extra marketing language
- Distinctive: line 157
Do not restate prompt corrections or rejected implementation choices as project documentation
- Distinctive: line 158
Keep code examples short and annotated with shell comments
- Distinctive: line 160
If Chinese and English READMEs already exist, keep them synchronized
- Distinctive: line 161
If repository facts are unclear, inspect code and scripts before drafting text
- Distinctive: line 162
Prefer filling obvious missing operational details over inventing product-level claims
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
WTY Markdown Standards
Documentation Scope
- Modify README files or
AGENTS.mdonly when the user explicitly requests edits to those files; code changes alone do not authorize documentation updates. - Include algorithm and environment implementation details in README files or
AGENTS.mdonly when the user explicitly requests those details.
Output Style
- Prefer short, direct wording
- Prefer noun phrases and concise statements over conversational phrasing
- Use headings in a simple sequence:
- short introduction
- usage
- implementation details or other details
- Put explanations for commands inside code blocks as shell comments when possible
- Keep prose compact; avoid long paragraphs
- Do not wrap Markdown prose to a fixed column width. Keep each sentence or paragraph on one continuous line; insert line breaks only when required by Markdown structure such as headings, lists, tables, blockquotes, code fences, or paragraph separation
- Prefer
该工具/该脚本over conversational phrases like这个工具 - Avoid filler such as
最简单的...unless the user explicitly asks for it - Do not add background, motivation, design history, or validation details unless they are required to use or verify the documented interface
- Preserve project identifiers, task names, paths, parameter names, numeric values, and units exactly
- Prefer one fact or action per sentence; combine items only when they form one inseparable change
Concise Changelog Style
Use this style when the source or target is a CHANGELOG, release note, commit summary, or version history. Keep changelogs very short: retain only the changes and values needed to identify each version.
Rules:
- Put versions in descending semantic-version order: the newest version must be at the top and older versions must follow, with one simple heading per version, for example
## v6 - 2026-08-16. - Use a flat numbered list under each version; avoid nested bullets and long subsections.
- Record the change directly: affected component + action + necessary parameter or interface. Omit rationale unless it changes how the result should be used.
- Keep each item to one compact sentence or line when possible. Group only tightly coupled edits.
- For numbered changelog entries, do not append a terminal period; use internal punctuation only when needed for readability.
- Use concise English imperative wording by default, such as
Add ...,Change ...,Remove ...,Update ...; use Chinese changelog entries only when explicitly requested. - Keep code identifiers and values inline with backticks, including task IDs, function names, paths, ranges, dimensions, and units.
- Omit equations, implementation walkthroughs, training stages or procedures, experiment outcomes, metrics, checkpoint selection, validation narratives, and repeated explanations of the same interface.
- Keep configuration and algorithm changes brief, with only necessary values. Store detailed experiments, exploratory versions, and debugging records in separate project documentation at the location established by the user or repository.
- Preserve the existing language and numbering convention of the target changelog. Do not introduce bilingual sections unless explicitly requested.
- When the user explicitly requests version consolidation, retain only the requested version headings, move useful experiment history to separate project documentation, and remove redundant code for superseded versions after checking callers. Do not discard version history during ordinary changelog edits.
When converting a verbose change description into this format, retain only:
- What changed.
- Where or which task it affects.
- The parameter, interface, compatibility, or behavior needed to identify the change.
Drop motivation, alternatives, chronology, and low-level implementation details unless the user explicitly asks for them.
Markdown and Git Workflow
Apply these rules when the user asks to normalize changelogs and commit the current changes:
- Write all
CHANGELOGentries in English unless the user explicitly requests another language. - Sort version headings by semantic version in descending order; put the newest version first and use the date only as secondary context.
- Use one heading per version. If several changes share a version, merge them under the same heading and continue the numbered list instead of creating duplicate headings.
- Keep the newest version at the top, followed by older versions; keep each entry as one compact technical sentence.
- Preserve identifiers, parameters, paths, dimensions, numeric values, and units in backticks where appropriate.
- Before committing, inspect
git status, the current branch, the remote, and recent history; include the current intended changes without overwriting unrelated user edits. - If the commit defines a version, use only
v<version>as the commit message, optionally followed by a component version with+, for examplev1.1orv1.1+component1.1. - Do not append action descriptions, semicolons, or colons to a versioned commit message; use the
+<component><version>suffix for component versions. - If the user explicitly requests a squash from a specified base commit, preserve that base and replace only the requested following commits with one commit using the requested version message.
- Before pushing, fetch or otherwise inspect the current
origin/<branch>and rebase the local commit onto the latest remote branch. - Resolve rebase conflicts by preserving both the remote changes and the local requested changes; re-check version ordering and duplicate headings after conflict resolution.
- Run
git diff --checkand relevant syntax or focused tests before pushing. Confirm the working tree and branch tracking state afterward. - Use a normal push when history is unchanged. If the requested rebase rewrites a commit already pushed to the same branch, use
git push --force-with-lease, never an unconditional--force. - If a push is blocked only because the local Git LFS hook cannot run, report it and bypass the hook with
--no-verifyonly after confirming that the commit does not add or modify LFS assets.
Content Selection
- Keep skill instructions reusable across projects. Store repository-specific task names, paths, output filenames, versions, and experiment policies in repository guidelines or user-provided context.
- Treat emphasis in the prompt as implementation guidance, not automatic README content
- Include stable facts needed to build, run, configure, or understand the project interface
- Omit rejected alternatives, prior behavior, correction history, and implementation negotiation
- Avoid negative compliance statements unless the negative behavior is an operational constraint users must know
- Prefer showing the current command, path, or behavior instead of explaining what is not generated or supported
- Before finishing, remove sentences whose only purpose is to reassure the user that the prompt was followed
Bilingual Requirements
When generating README files for this user:
- Default to producing both
README.zh-CN.mdandREADME.mdunless the user limits scope - Treat
README.zh-CN.mdandREADME.mdas the standard bilingual filenames for this user's projects - If only one language exists, treat it as the source of truth unless the user says otherwise
- If Chinese and English README files both exist but have drifted, resynchronize section order and coverage before polishing wording
- Add cross-links near the top:
- Chinese README should link to
README.md - English README should link to
README.zh-CN.md
- Chinese README should link to
- Keep section order aligned across both languages
- Translate meaning, not wording literally; preserve the concise tone
- If the user asks for Chinese-only or English-only output, follow that scope and skip the missing language
Centered Bilingual README Header
For a new public or project-facing bilingual README, use the centered bilingual header template when the title style is unspecified or the user asks to restyle it.
- Keep YAML frontmatter before the centered HTML header.
- Include the project title, one compact repository summary, and links to both README languages.
- Emphasize the current language with
<strong>and render the other language as a link. - Keep the title, summary, links, and language order equivalent in
README.mdandREADME.zh-CN.md. - Preserve an established title style unless the user requests this header format.
Workflow
- Inspect the current README files and the surrounding scripts or package files
- Determine the source material:
- existing Chinese README if present
- otherwise existing English README
- otherwise nearby scripts, package manifests, and docs
- Mirror the user's Chinese structure first when bilingual output is required
- Generate or update the paired English README to match the Chinese version section-by-section
- Keep examples runnable and keep explanations inside code blocks as shell comments when possible
- Separate durable project documentation from transient prompt rationale and discarded approaches
- Before finishing, check that both languages mention the same commands, paths, defaults, and constraints
- If a style baseline is needed:
- read
references/docker-openclaw-README.zh-CN.mdfor Chinese structure and tone - read
references/docker-openclaw-README.mdfor matching English phrasing and section alignment - follow their section order and information flow:
- short intro
- concrete file or feature summary
- usage commands
- implementation or operational details
- compact extra notes
- read
- For a new or restyled centered bilingual title, read references/centered-bilingual-readme-header.md and replace every placeholder.
Structure Guidance
Prefer structures like:
- intro
- feature summary or file list
- defaults if relevant
- table of contents only when the document is genuinely long
- usage
- implementation details
- other details
For tool READMEs, prefer:
- intro
- usage
- implementation details
- other details
Editing Guidance
- Use
README.zh-CN.mdandREADME.mdunless the user explicitly limits scope to a single language - Preserve project-specific commands and paths
- Do not add extra marketing language
- Do not restate prompt corrections or rejected implementation choices as project documentation
- Keep code examples short and annotated with shell comments
- For README prose, prefer compact paragraphs and short lists; for changelogs, use the flat numbered format above instead of README-style explanations
- If Chinese and English READMEs already exist, keep them synchronized
- If repository facts are unclear, inspect code and scripts before drafting text
- Prefer filling obvious missing operational details over inventing product-level claims
- In the final response, state which README files were created or updated and whether bilingual sync was preserved
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.

