format-markdown
Create, edit, review, refactor, or rewrite Markdown artifacts while preserving meaning, valid syntax, navigability, and human reviewability. Use whenever work directly changes or reviews a Markdown file, including README.md, AGENTS.md, SKILL.md, reference docs, design docs, or Markdown produced from notes, transcripts, scratch text, or rough drafts.
How do I install this agent skill?
npx skills add https://github.com/arthurzakirov/systemsmith --skill format-markdownIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a markdown formatter that uses user input directly in its prompt, creating a potential for prompt injection from untrusted sources.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Markdown Formatter
User request: $ARGUMENTS
Apply information-representation-design for tables vs lists, hierarchy, prose, diagrams, and other representation choices. Apply relevance-first-information-design for information selection, abstraction layering, routing, and progressive disclosure. Apply thoughts-to-artifact when the source is raw notes, dictation, a transcript, or a brainstorm whose conceptual structure should be recovered rather than copied in source order.
Also apply living-artifacts when the output contains current-state values, snapshots, file trees, versions, paths, or other data likely to drift.
Core Task
Create or edit the Markdown artifact so it remains valid, readable, navigable, and faithful to the intended meaning. Treat machine-consumed Markdown such as AGENTS.md and SKILL.md as dual-audience artifacts: optimize for correct agent use without sacrificing human review and navigation.
Preservation Rules
- Preserve all key information, nuance, and examples already present.
- Fix obvious spelling, grammar, transcript noise, malformed sentences, and broken Markdown syntax when doing so does not change meaning.
- Do not invent missing content.
- Reorder content only when it improves clarity without changing meaning.
- If extra guidance must be retained without becoming document content, use an HTML comment when appropriate.
Markdown-Specific Rules
- Preserve literal
$syntax when it is semantically part of the source. - Keep YAML/frontmatter valid when the target artifact expects it.
- Use valid heading levels and do not skip levels merely for visual size.
- In Markdown documents where emoji suit the audience and renderer, prefix major section headings (typically the document title and its highest-level sections) with one semantically meaningful emoji to help readers recognize and scan them. Use emojis for lower-level headings selectively when they distinguish meaningful subsection categories; leave fine-grained headings plain when additional icons would create noise. Keep the text label, follow established document conventions, and omit emoji where the document's accessibility, audience, or style requirements make them unsuitable.
- Use inline code for repositories, folders, files, commands, functions, variables, configuration keys, and other literal technical identifiers when appropriate.
- In maintained Markdown artifacts, make concrete file references clickable with correct relative links when a real target exists.
- When an overview names sections later in the same Markdown document, link each navigable item to its actual section anchor instead of repeating a heading as unlinked text. Keep the link label aligned with its target heading, including the same emoji (when present), spelling, casing, and distinguishing terminology. Verify the fragment against the target renderer; where supported, use an explicit stable anchor if automatic heading slugs could be brittle. Shorten the label only when the shorter wording remains unambiguous and preserves the emoji.
- When a long section contains several subsections readers may need to jump between, add a local linked contents list directly beneath that section's introduction. Keep it within the parent section rather than introducing an unrelated sibling heading. Use this only when the target surface supports in-document navigation and the links materially improve it; ordinary chat messages and short sections may need no contents list.
- Keep code fences syntactically valid and preserve the intended language identifier when known.
- Escape or restructure Markdown syntax when literal characters would otherwise be interpreted incorrectly.
Self-Check
- Meaning preserved.
- No invented facts.
- Markdown parses as intended.
- Frontmatter and code fences remain valid.
- Every referenced file or path with a resolvable target is a meaningful clickable Markdown link; unresolved targets are identified rather than presented as if linked.
- Every in-document contents link points to an existing heading anchor and resolves in the intended Markdown renderer; its displayed emoji and identifying wording match the destination heading.
- Machine-consumed Markdown remains easy for a human reviewer to navigate and inspect.
- Representation and relevance/disclosure rules come from their dedicated skills rather than being redefined here.
- When transforming raw thoughts, examples and nuance are preserved according to
thoughts-to-artifact.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/arthurzakirov/systemsmith/format-markdown">View format-markdown on skillZs</a>