AGENT SKILL

markdownlint-cli2

Use this skill when the user wants to lint Markdown files, fix Markdown formatting, check MD syntax, or enforce Markdown style rules.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
markdownlint-cli2
description
Use this skill when the user wants to lint Markdown files, fix Markdown formatting, check MD syntax, or enforce Markdown style rules.

03 SKILL.md 正文

markdownlint-cli2 Plugin

Markdown linter with rule configuration and fix support.

Commands

Lint

  • markdownlint-cli2 lint run — Lint Markdown files
  • markdownlint-cli2 lint fix — Lint and auto-fix Markdown files

Usage Examples

  • "Check all Markdown files for issues"
  • "Fix formatting in my README.md"
  • "Lint the docs directory"
  • "Auto-fix markdown issues"

Installation

npm install -g markdownlint-cli2

Examples

# Lint all markdown files
markdownlint-cli2 "*.md"

# Lint with fix
markdownlint-cli2 --fix "*.md"

# Lint specific directory
markdownlint-cli2 "docs/**/*.md"

# With config
markdownlint-cli2 --config .markdownlint-cli2.jsonc "*.md"

04 同仓库更多 Skills