markdownlint-writer
Write or edit Markdown files while conforming to markdownlint rules used in this repo.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Markdownlint Writer
Use this skill whenever creating or editing .md files. It enforces markdownlint formatting rules so changes pass npm run lint:md.
Core rules to follow
- Surround headings with a blank line above and below.
- Surround lists with a blank line above and below.
- Do not use emphasis as a heading; use actual headings.
- Provide a language for fenced code blocks (e.g.,
ts,json,css). - Surround fenced code blocks with blank lines.
- Use consistent table spacing: add spaces around pipe separators.
- Avoid multiple consecutive blank lines.
Editing checklist (before save)
- Check headings have blank lines around them.
- Ensure every list has blank lines before and after.
- Ensure fenced code blocks include a language.
- Ensure fenced code blocks have blank lines before and after.
- Confirm tables use spaced pipes:
| Col | Col |. - Remove accidental double blank lines.
Validation
- Run
npm run lint:md -- <path>when asked to fix markdownlint issues. - If markdownlint still fails, scan for missing blank lines around headings/lists.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!