一键导入
doc-validate-markdown
Validate markdown files for formatting, links, and style compliance using markdownlint. Use before committing documentation changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate markdown files for formatting, links, and style compliance using markdownlint. Use before committing documentation changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run section orchestrators to coordinate multi-component workflows. Use when starting work on a section.
Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI.
Reply to PR review comments using the correct GitHub API endpoint. Use when responding to inline code review feedback (not gh pr comment).
Run Mojo tests using mojo test command. Use when executing tests or verifying test coverage.
Track implementation progress against plan. Use to monitor component delivery and identify blockers.
Check agent configuration coverage across hierarchy levels and phases. Use to ensure complete agent system coverage.
| name | doc-validate-markdown |
| description | Validate markdown files for formatting, links, and style compliance using markdownlint. Use before committing documentation changes. |
| mcp_fallback | none |
| category | doc |
Validate markdown formatting and style compliance.
# Check all markdown
npx markdownlint-cli2 "**/*.md"
# Check specific file
npx markdownlint-cli2 README.md
# Fix auto-fixable issues
npx markdownlint-cli2 --fix "**/*.md"
❌ Wrong - missing language:
code here
✅ Correct - has language:
code here
❌ Wrong - no blank lines between text and code block.
✅ Correct - add one blank line before the opening fence and one after the closing fence.
Keep lines under 120 characters. Break long sentences at natural boundaries (clauses, lists).
.markdownlint.yaml:
line-length:
line_length: 120
code_blocks: false
tables: false
```python)| Error | Fix |
|---|---|
| MD040: Missing language tag | Add language: ```mojo |
| MD031: Missing blank lines | Add blank line before/after block |
| MD013: Line too long | Break line at 120 characters |
| MD022: Heading spacing | Add blank line before/after heading |
# 1. Validate your changes
npx markdownlint-cli2 "**/*.md"
# 2. If issues, fix auto-fixable ones
npx markdownlint-cli2 --fix "**/*.md"
# 3. Manually fix remaining issues
# 4. Verify no errors
npx markdownlint-cli2 "**/*.md"
# 5. Commit
git add .
git commit -m "docs: update documentation"
quality-run-linters for complete linting.markdownlint.yaml