Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add 23prime/agent-skills --skill "markdown-writer"
Install specific skill from multi-skill repository
# Description
Write Markdown files that comply with the project's markdownlint rules and editorconfig settings. This skill should be used when creating or editing Markdown files (.md) to ensure they pass linting without errors.
# SKILL.md
name: markdown-writer
description: Write Markdown files that comply with the project's markdownlint rules and editorconfig settings. This skill should be used when creating or editing Markdown files (.md) to ensure they pass linting without errors.
Markdown Writer
Write Markdown that passes markdownlint-cli2 with zero errors, based on the project's configured rules.
Rules
Formatting
- Use dashes (
-) for unordered lists, not asterisks or plus signs (MD004) - Use asterisks (
*) for emphasis and strong emphasis, not underscores (MD049, MD050) - No line length limit (MD013 is disabled)
- UTF-8 encoding, LF line endings, trailing whitespace trimmed, final newline required
- 2-space indentation for Markdown files
HTML
<br>is the only allowed inline HTML element (MD033)- All other HTML tags are prohibited
Tables
- Use consistent spacing around pipes in table columns (MD060)
- Separator rows must have spaces around dashes:
| --- |, not|---|
General
- Ensure consistent heading levels — do not skip levels (e.g.,
##to####) - Use blank lines before and after headings, code blocks, and lists
- Do not use trailing punctuation in headings
- Fenced code blocks must specify a language identifier
Verification
After writing or editing Markdown files, run:
mise run fix-md
mise run check-md
If errors remain after auto-fix, manually correct them until check-md passes with zero errors.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.