agentleFS
wty-yywty-yy/skills/wty-markdown-standards/SKILL.md

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

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

    Prefer short, direct wording

    line 15
  2. Distinctive:

    Prefer noun phrases and concise statements over conversational phrasing

    line 16
  3. Distinctive:

    Use headings in a simple sequence:

    line 17
  4. Distinctive:

    Put explanations for commands inside code blocks as shell comments when possible

    line 21
  5. Distinctive:

    Keep prose compact; avoid long paragraphs

    line 22
  6. Distinctive:

    Do not wrap Markdown prose to a fixed column width.

    line 23
  7. Very specific:

    Prefer 该工具 / 该脚本 over conversational phrases like 这个工具

    line 24
  8. Very specific:

    Avoid filler such as 最简单的...

    line 25
  9. Distinctive:

    Do not add background, motivation, design history, or validation details unless they are required to use or verify the documented interface

    line 26
  10. Distinctive:

    Prefer one fact or action per sentence.

    line 28
  11. Very specific:

    Use this style when the source or target is a CHANGELOG, release note, commit summary, or version history.

    line 32
  12. Very specific:

    Put versions in descending semantic-version order: the newest version must be at the top and older versions must follow, with one simple …

    line 36
  13. Distinctive:

    Use a flat numbered list under each version.

    line 37
  14. Distinctive:

    Keep each item to one compact sentence or line when possible.

    line 39
  15. Very specific:

    Use concise English imperative wording by default, such as Add ..., Change ..., Remove ..., Update ....

    line 41
  16. Distinctive:

    Keep code identifiers and values inline with backticks, including task IDs, function names, paths, ranges, dimensions, and units.

    line 42
  17. Distinctive:

    Keep configuration and algorithm changes brief, with only necessary values.

    line 44
  18. Distinctive:

    When the user explicitly requests version consolidation, retain only the requested version headings, move useful experiment history to …

    line 46
  19. Distinctive:

    When converting a verbose change description into this format, retain only:

    line 48
  20. Very specific:

    Write all CHANGELOG entries in English unless the user explicitly requests another language.

    line 60
  21. Distinctive:

    Use one heading per version.

    line 62
  22. Distinctive:

    Keep the newest version at the top, followed by older versions.

    line 63
  23. Distinctive:

    Before committing, inspect git status, the current branch, the remote, and recent history.

    line 65
  24. Very specific:

    If the commit defines a version, use only v<version> as the commit message, optionally followed by a component version with +, for example …

    line 66
  25. Very specific:

    Do not append action descriptions, semicolons, or colons to a versioned commit message.

    line 67
  26. Distinctive:

    If the user explicitly requests a squash from a specified base commit, preserve that base and replace only the requested following commits …

    line 68
  27. Very specific:

    Before pushing, fetch or otherwise inspect the current origin/<branch> and rebase the local commit onto the latest remote branch.

    line 69
  28. Distinctive:

    Run git diff --check and relevant syntax or focused tests before pushing.

    line 71
  29. Very specific:

    Use a normal push when history is unchanged.

    line 72
  30. Very specific:

    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 …

    line 73
  31. Distinctive:

    Keep skill instructions reusable across projects.

    line 77
  32. Distinctive:

    Treat emphasis in the prompt as implementation guidance, not automatic README content

    line 78
  33. Distinctive:

    Avoid negative compliance statements unless the negative behavior is an operational constraint users must know

    line 81
  34. Distinctive:

    Prefer showing the current command, path, or behavior instead of explaining what is not generated or supported

    line 82
  35. Distinctive:

    Before finishing, remove sentences whose only purpose is to reassure the user that the prompt was followed

    line 83
  36. Distinctive:

    When generating README files for this user:

    line 87
  37. Very specific:

    Default to producing both README.zh-CN.md and README.md unless the user limits scope

    line 89
  38. Very specific:

    Treat README.zh-CN.md and README.md as the standard bilingual filenames for this user's projects

    line 90
  39. Distinctive:

    If only one language exists, treat it as the source of truth unless the user says otherwise

    line 91
  40. Distinctive:

    If Chinese and English README files both exist but have drifted, resynchronize section order and coverage before polishing wording

    line 92
  41. Distinctive:

    Add cross-links near the top:

    line 93
  42. Distinctive:

    Keep section order aligned across both languages

    line 96
  43. Distinctive:

    If the user asks for Chinese-only or English-only output, follow that scope and skip the missing language

    line 98
  44. Distinctive:

    Keep YAML frontmatter before the centered HTML header.

    line 104
  45. Very specific:

    Keep the title, summary, links, and language order equivalent in README.md and README.zh-CN.md.

    line 107
  46. Distinctive:

    Keep examples runnable and keep explanations inside code blocks as shell comments when possible

    line 119
  47. Distinctive:

    Before finishing, check that both languages mention the same commands, paths, defaults, and constraints

    line 121
  48. Distinctive:

    If a style baseline is needed:

    line 122
  49. Very specific:

    read references/docker-openclaw-README.zh-CN.md for Chinese structure and tone

    line 123
  50. Very specific:

    read references/docker-openclaw-README.md for matching English phrasing and section alignment

    line 124
  51. Distinctive:

    follow their section order and information flow:

    line 125
  52. Very specific:

    Use README.zh-CN.md and README.md unless the user explicitly limits scope to a single language

    line 154
  53. Distinctive:

    Do not add extra marketing language

    line 156
  54. Distinctive:

    Do not restate prompt corrections or rejected implementation choices as project documentation

    line 157
  55. Distinctive:

    Keep code examples short and annotated with shell comments

    line 158
  56. Distinctive:

    If Chinese and English READMEs already exist, keep them synchronized

    line 160
  57. Distinctive:

    If repository facts are unclear, inspect code and scripts before drafting text

    line 161
  58. Distinctive:

    Prefer filling obvious missing operational details over inventing product-level claims

    line 162

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

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

WTY Markdown Standards

Documentation Scope

  • Modify README files or AGENTS.md only 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.md only 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:

  1. What changed.
  2. Where or which task it affects.
  3. 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 CHANGELOG entries 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 example v1.1 or v1.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 --check and 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-verify only 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.md and README.md unless the user limits scope
  • Treat README.zh-CN.md and README.md as 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
  • 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.md and README.zh-CN.md.
  • Preserve an established title style unless the user requests this header format.

Workflow

  1. Inspect the current README files and the surrounding scripts or package files
  2. Determine the source material:
    • existing Chinese README if present
    • otherwise existing English README
    • otherwise nearby scripts, package manifests, and docs
  3. Mirror the user's Chinese structure first when bilingual output is required
  4. Generate or update the paired English README to match the Chinese version section-by-section
  5. Keep examples runnable and keep explanations inside code blocks as shell comments when possible
  6. Separate durable project documentation from transient prompt rationale and discarded approaches
  7. Before finishing, check that both languages mention the same commands, paths, defaults, and constraints
  8. If a style baseline is needed:
    • read references/docker-openclaw-README.zh-CN.md for Chinese structure and tone
    • read references/docker-openclaw-README.md for 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
  9. 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.md and README.md unless 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

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.