skills/documentation/markdown-authoring/SKILL.md
Author high-quality Markdown documentation with deterministic structure, lint compliance, and CI integration. Use when writing README files, creating docs pages, fixing markdownlint failures, defining style rules, or wiring markdown checks into pre-commit and pipelines. Keywords: markdown, markdownlint, readme, docs, headings, lists, code fences, links, images, lint config, ci, documentation style.
npx skillsauth add pantheon-org/tekhne markdown-authoringInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the task involves Markdown content, linting, or documentation standards.
Do not use this skill for non-Markdown document formats (for example .adoc or .rst) unless conversion is part of the task.
lint fails → identify rule → fix source or add justified exception → re-lint → proceed only when cleanbunx markdownlint-cli2 "**/*.md"
Expected result: no errors for staged or target files.
bunx markdownlint-cli2 "skills/documentation/markdown-authoring/**/*.md"
Expected result: folder-specific Markdown issues reported or zero errors.
bunx @biomejs/biome check .
Expected result: non-Markdown formatting/lint issues also caught.
sh skills/agentic-harness/skill-quality-auditor/scripts/evaluate.sh documentation/markdown-authoring --json
Expected result: updated dimension scores and grade.
./scripts/read-reference.sh syntax-headings
Expected result: displays reference content for the requested topic.
bun run check-style "path/to/document.md"
Expected result: style validation report printed to stdout.
WHY: Untyped code blocks reduce readability and tooling support.
BAD: Use plain triple backticks for code samples.
GOOD: Use typed fences like ```bash or ```ts.
Consequence: Syntax highlighting and lint checks become inconsistent.
WHY: Global suppression hides real quality and maintainability issues.
BAD: Turn off multiple rules to make CI green quickly. GOOD: Fix source content or apply narrow, justified exceptions.
Consequence: Documentation quality degrades release-over-release.
WHY: Skipped heading levels break document hierarchy.
BAD: Jump from ## to #### with no ###.
GOOD: Increase heading levels one step at a time.
Consequence: Navigation and accessibility suffer.
Consider adding a table of contents for documents longer than 300 lines. Optionally include anchor links in headings to improve internal navigation.
WHY: Style drift makes docs harder to scan and review.
BAD: Alternate list markers and inconsistent table pipe spacing. GOOD: Keep one list style and normalized table formatting.
Consequence: Diff noise increases and review confidence drops.
tools
A skill that produces warnings but no errors.
testing
A well-formed example skill for testing the validator.
development
A skill with code blocks and imperative instructions for testing content and contamination analysis.
tools