/omniagents-writing:markdown-conventionsfrom omniagents-writing
Use when authoring or reviewing Markdown, CommonMark, GitHub-Flavored Markdown, MyST, README files, docs pages, Markdown tables, fenced code examples, links, images, citations, or markdownlint / Prettier output.
Ships in omniagents-writing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill defines project Markdown policy. It is not a Markdown tutorial. When a local formatter or linter config exists, follow it first; this skill fills the gaps that formatters cannot infer from intent.
It covers Markdown syntax, not prose. For document structure and for the
wording of headings and sentences, use technical-writing.
The baseline syntax target is CommonMark-compatible Markdown, with
GitHub-Flavored Markdown tables where the renderer supports them. The linting
model follows markdownlint rule names, and formatting assumes Prettier only
when the consuming project has enabled it for Markdown.
#) only. Do not use Setext headings.{cite} roles or Pandoc-style [@key] citations, the bibliography must
be part of the same document set.Always use fenced code blocks with a language identifier. This maps to
markdownlint MD040 (fenced-code-language) and MD046 (code-block-style).
Prefer fences over indented code blocks because fences preserve intent under
copy, review, and formatter rewrites.
Good:
```python
x = 1
```
Bad - no language tag:
```
x = 1
```
Bad - indented code block:
x = 1
Use the shortest unambiguous Pygments lexer name:
| Language | Tag |
|---|---|
| Python | python |
| TypeScript | typescript |
| JavaScript | javascript |
| Bash/Shell | bash |
| SQL | sql |
| JSON | json |
| YAML | yaml |
| TOML | toml |
| Markdown | markdown |
| Plain text | text |
| Diff | diff |
| Dockerfile | dockerfile |
If no syntax highlighting applies, use text; never leave the tag empty.
Align all columns precisely. Every row must have identical column widths.
# Good - columns aligned, consistent padding
| Name | Type | Default |
| ------ | ------ | ------- |
| host | string | - |
| port | int | 8080 |
# Bad - ragged columns
| Name | Type | Default |
| --- | --- | --- |
| host | string | - |
| port | int | 8080 |
------ not ---- for empty/not-applicable cells unless the project already uses a
different sentinel#), never Setext (underlines). This maps to
markdownlint MD003 (heading-style).## must follow #, ### must follow ##. This maps
to MD001 (heading-increment).-, not * or +1. for every item (auto-numbering)[text](url) for one-off references[text][ref] when the same URL appears more than
onceUse citations when a claim depends on an external source, a current tool behavior, an empirical result, or a quoted definition. Do not cite common project conventions or obvious syntax choices.
Prettier's prose wrapping depends on the proseWrap option ([Prettier](...)).{cite:p} / {cite:t} or Pandoc-style [@key]
citations only when the document set includes a BibTeX file configured in
myst.yml.**text**, not __text___text_, not *text*printWidth when Prettier
is enabled with proseWrap: "always". If no formatter is configured, wrap
prose around 80 characters by convention.--- on its own line, with blank lines above and below*** or ___. This maps to markdownlint
MD045 (no-alt-text)..When markdownlint is configured, fix violations before committing. Run manually:
npx markdownlint "path/to/file.md"
Common rule IDs this skill intentionally aligns with:
| Rule | Meaning |
|---|---|
| MD001 | Heading levels increment by one |
| MD003 | Heading style |
| MD009 | No trailing spaces |
| MD012 | No multiple consecutive blank lines |
| MD013 | Line length |
| MD022 | Blank lines around headings |
| MD031 | Blank lines around fenced code |
| MD034 | No bare URLs |
| MD040 | Fenced code blocks specify language |
| MD045 | Images have alternate text |
| MD046 | Code block style |
| MD048 | Code fence style |
{cite}
roles, Pandoc-style citations, DOI citations, and bibliography config.This skill is project policy over Markdown conventions, not a complete upstream reference. When a renderer, formatter, linter, or publishing system changes behavior, verify against primary docs. Prefer Context7 MCP for CommonMark, markdownlint, Prettier, and MyST when available; otherwise use the official documentation sites above.
What SKILL.md sets; muted values are Claude Code's defaults
Trigger for `.md` / `.markdown` files, generated docs, READMEs, markdownlint warnings, Prettier markdown formatting, CommonMark syntax choices, MyST citations, table cleanup, heading hierarchy, code-fence language tags, bare URLs, missing image alt text, noisy line wrapping, or citation hygiene in Markdown documents.
inheritbashOther plugins' skills for the same job
npx claudepluginhub gao-hongnan/omniagents --plugin omniagents-writing4 skills in this plugin
/blueprintGenerate standalone HTML + inline-SVG technical diagrams that come out format-clean every time — text that always fits its box, arrows that actually connect, no overlaps, no drift. Works by planning a coordinate grid first and sizing every box with monospace arithmetic instead of guessing pixels, then self-checking the geometry before delivery. Output is a single self-contained .html file (no build step, no dependencies) that opens in any browser./measured-persuasionUse when writing technical strategy memos, proposals, experiment designs, RFCs, investment justifications, executive narratives, or persuasive documents where skeptical decision-makers need evidence, caveats, tradeoffs, and a measured, intellectually honest tone./technical-writingUse when writing, rewriting, or reviewing technical prose that instructs or informs: docs pages, READMEs, tutorials, how-to guides, runbooks, reference pages, explanations, PR descriptions, commit messages, changelogs, or release notes. A layered standard: Diátaxis modes, Google developer style, ASD-STE100 rules, and Global English syntax.