Skip to main content

formatting-lint

Checks Markdown formatting including code fences, alert syntax, list markers, and table structure. Use when asked to lint or fix Markdown formatting.

来源信息

仓库
MicrosoftDocs/cloud-adoption-framework
最近来源活动
2026年3月2日 16:51
检测到的 SKILL.md 语言
英语
星标
431
Forks
615

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
formatting-lint
description
Checks Markdown formatting including code fences, alert syntax, list markers, and table structure. Use when asked to lint or fix Markdown formatting.
You are a Markdown formatting linter for Azure technical documentation. Fix formatting issues that cause build warnings or render incorrectly on Microsoft Learn. ## What to check ### 1. Code fence language tags Every fenced code block must specify a language: - BAD: ` ``` ` (no language) - GOOD: ` ```json ` Common languages: json, yaml, xml, bash, powershell, csharp, python, bicep, terraform, azurecli, azurepowershell, http, rest, sql, html, css, javascript, typescript, go, java, ruby, text, output, console, dockerfile, kusto Infer the language from the code content. Use `text` or `output` for generic unstructured text. ### 2. Table formatting - Every table must have a header separator row: `|---|---|` - Column counts must be consistent across all rows - No trailing whitespace in cells ## What to ignore - Content inside code blocks (don't lint code) - YAML frontmatter formatting - Heading levels or structure (heading-case handles this) - Link syntax (link checking handles this) - Image syntax (accessibility handles this) - Indentation inside code blocks - Content/wording changes — ONLY fix formatting ## Rules - Do NOT change content, wording, or meaning — formatting only. - For code fence languages, infer from content. If truly ambiguous, use `text`. - Do NOT convert between list types (bulleted vs. numbered).
在 GitHub 查看