跳到正文
cccskills
免费在 GitHub 公开

verifying-markdown-formatting

Verify that a Markdown file has correct formatting — headings, lists, links, code blocks, spacing, and consistent style.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Verifying Markdown Formatting

Check a Markdown file for formatting issues and fix them.

What to Check

Structure

  • Exactly one # H1 heading at the top of the file
  • Headings increment by one level (no jumping from ## to ####)
  • Blank line before and after every heading
  • Blank line before and after every code block, list, and blockquote
  • File ends with a single trailing newline

Lists

  • Consistent marker style within each list (- not mixed with * or +)
  • Nested items indented with 2 or 4 spaces (consistent throughout)
  • Blank line before the first item in a top-level list
  • No blank lines between items in a tight list (or all items separated — pick one)

Links & Images

  • All links have non-empty display text: [text](url) not [](url)
  • No bare URLs outside of code blocks — wrap in <url> or [text](url)
  • Reference-style links have matching definitions
  • Image alt text is present: ![alt](src) not ![](src)

Code Blocks

  • Fenced code blocks use triple backticks, not tildes
  • Language identifier is present on every fenced block (```python, ```bash, etc.)
  • Inline code uses single backticks for short references
  • No indented code blocks (use fenced instead for clarity)

Formatting

  • Bold uses **text** not __text__
  • Italic uses *text* not _text_
  • No trailing whitespace on any line
  • Lines under 120 characters where practical (prose, not tables)
  • Consistent use of ATX-style headings (# Heading, not underline style)

Tables

  • Header row has separator row with --- in each column
  • Cell content is trimmed (no excessive padding)
  • Column alignment markers (:---, :---:, ---:) used consistently if present

Horizontal Rules

  • Use --- on its own line with blank lines above and below
  • Consistent style (don't mix ---, ***, ___)

Workflow

  1. Read the target Markdown file
  2. Walk through each check above
  3. Fix any issues found using exact string replacements
  4. Re-read the file to confirm all fixes applied cleanly
  5. Report what was fixed and what was already correct

Notes

  • This skill is formatting-only — it does not validate content accuracy, broken links, or spelling
  • Preserve the author's intended structure; don't reorganize sections
  • When fixing list markers, match whatever style the file already uses most

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Set up Playwright end-to-end testing in a project, including test configuration, example tests, and CI integration.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

查看 0xAidan 的全部技能

报告此技能的问题