verifying-markdown-formatting — скилл для Claude Code: проверка
Скилл проходит по Markdown-файлу чек-листом и правит форматирование: заголовки, списки, ссылки, код-блоки, пробелы. Пригодится перед коммитом README или документации.
npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a claude-codeЧто делает verifying-markdown-formatting
Скилл читает целевой файл и идёт по списку проверок. Структура: ровно один # H1 в начале, уровни заголовков растут на единицу, пустая строка до и после каждого заголовка, код-блока, списка и цитаты, один перевод строки в конце файла.
Списки: один маркер на весь список, вложенность в 2 или 4 пробела, пустая строка перед первым элементом верхнего уровня. Ссылки без пустого текста и голые URL вне код-блоков — повод поправить. Код-блоки только на тройных бэктиках и с языком, жирный через **text**, курсив через *text*, без хвостовых пробелов. Таблицы и горизонтальные линии тоже в списке.
Дальше агент правит найденное точными заменами строк, перечитывает файл и отчитывается, что исправлено, а что уже было в порядке. Скилл только про форматирование: точность содержимого, битые ссылки и орфографию он не проверяет. Структуру автора не перестраивает, а при выборе маркера списка берёт тот, что в файле уже встречается чаще.
Какие задачи решает
- привести README к одному стилю заголовков и списков
- убрать хвостовые пробелы и лишние пустые строки
- добавить язык всем fenced-блокам
- найти ссылки с пустым текстом и голые URL
- выровнять таблицы и горизонтальные линии
Примеры запросов агенту
- проверь форматирование в
docs/setup.mdи исправь найденное - пройди по чек-листу скилла для
README.md - поправь Markdown в
CHANGELOG.md, структуру не трогай
Как установить verifying-markdown-formatting
1Через Skills CLI (Vercel)
npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a claude-code2Вручную: положить файлы
~/.claude/skills/verifying-markdown-formatting/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/verifying-markdown-formatting/
1Через Skills CLI (Vercel)
npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a codex2Вручную: положить файлы
.agents/skills/verifying-markdown-formatting/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a cursor2Вручную: положить файлы
.cursor/skills/verifying-markdown-formatting/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install spencerpauly/awesome-cursor-skills verifying-markdown-formatting2Вручную: положить файлы
.github/skills/verifying-markdown-formatting/SKILL.md1Через Skills CLI (Vercel)
npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a gemini-cli2Командой платформы
gemini skills install https://github.com/spencerpauly/awesome-cursor-skills --path resources/verifying-markdown-formattingВручную: положить файлы
.devin/skills/verifying-markdown-formatting/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора59
Похожие
Рядом в теме «Тексты и документация»
Всё по теме «Тексты и документация» →Вопросы о verifying-markdown-formatting
Как установить verifying-markdown-formatting в Claude?
Выполните npx skills add spencerpauly/awesome-cursor-skills --skill verifying-markdown-formatting -a claude-code. Скилл окажется в ~/.claude/skills/verifying-markdown-formatting/SKILL.md.
Что делает verifying-markdown-formatting?
Проверяет Markdown-файл по чек-листу: заголовки, списки, ссылки и картинки, код-блоки, таблицы, горизонтальные линии, пробелы. Найденные огрехи правит точными заменами строк и перечитывает файл.
Скилл проверяет содержимое или только разметку?
Только разметку. Точность текста, битые ссылки и орфографию он не валидирует, а структуру разделов автора сохраняет как есть.
Исходный текст
SKILL.md · CC0-1.0
--- name: verifying-markdown-formatting description: Verify that a Markdown file has correct formatting — headings, lists, links, code blocks, spacing, and consistent style. user-invocable: true --- # 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: `` not `` ### 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
© spencerpauly · CC0-1.0 · spencerpauly/awesome-cursor-skills