بنقرة واحدة
lint-markdown
Check and fix formatting and other issues in markdown files using markdownlint-cli2
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check and fix formatting and other issues in markdown files using markdownlint-cli2
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | lint-markdown |
| description | Check and fix formatting and other issues in markdown files using markdownlint-cli2 |
Check markdown files for common mistakes.
Run npm install from the repository root to install markdownlint-cli2 from devDependencies in the root package.json. Then run npx markdownlint-cli2 <command> to use the locally installed version.
The markdownlint-cli2 configuration is in .markdownlint-cli2.yaml at the repository root.
The configuration has the following structure:
globs: file patterns to lint (currently **/*.md), so no command-line arguments are needed.ignores: paths excluded from linting.config: markdownlint rule overrides (e.g., first-line-h1, line-length, ol-prefix).Run npx markdownlint-cli2 to lint Markdown files according to the configuration.
Run with the --fix flag to automatically fix supported issues:
npx markdownlint-cli2 --fix
Run the same lint command again to verify all issues are fixed. There should be no errors reported.