Skip to content

dirien/yet-another-agent-harness / .claude/skills/markdownlint

markdownlint

Verified

Validate markdown files against formatting standards. Auto-detects and installs markdownlint-cli if missing. Checks project config or falls back to sensible defaults. Supports auto-fix mode. Use when creating or modifying markdown files, validating documentation, or enforcing markdown conventions.

FileKindSize
SKILL.mdskill md3.8 KB
references/markdownlint-config.jsonconfig38 B
references/markdownlint-rules.mdmarkdown2.7 KB

references/markdownlint-rules.md

View on GitHub
<!-- Copyright 2025-2026 Richard Shade. Licensed under Apache-2.0. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
# Markdownlint Rules Reference

Reference for markdownlint rules commonly encountered during validation.
The default config for this skill is minimal — it only overrides line length
to 120 characters. All other rules use markdownlint's built-in defaults.
Projects should customize with their own `.markdownlint.json` as needed.

## Commonly triggered rules

| Rule | Name | Description | Why It Matters |
| ---- | ---- | ----------- | -------------- |
| MD001 | heading-increment | Heading levels increment by one | Proper document structure |
| MD012 | no-multiple-blanks | No multiple consecutive blank lines | Consistent spacing |
| MD013 | line-length | Line length (default config: 120 chars) | Readable lines |
| MD022 | blanks-around-headings | Blank lines around headings | Better readability |
| MD025 | single-title | Only one top-level heading (h1) | Clear document title |
| MD031 | blanks-around-fences | Blank lines around code blocks | Visual separation |
| MD032 | blanks-around-lists | Blank lines around lists | Clear boundaries |
| MD040 | fenced-code-language | Fenced code blocks should have language | Syntax highlighting |
| MD047 | single-trailing-newline | Files end with single newline | POSIX standard |

For the full list of rules, see the
[markdownlint rules documentation](https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md).

## Auto-fixable rules

Running `markdownlint --fix` automatically resolves these rules:

MD007, MD009, MD010, MD011, MD012, MD022, MD023, MD026, MD027, MD030,
MD031, MD032, MD037, MD038, MD044, MD047, MD049, MD050

Structural issues like MD001 (heading-increment) and MD025 (single-title)
require manual fixes because the correct resolution depends on the intended
document structure.

## Common fixes

**MD001 — heading-increment:**

```text
Wrong:
# Title
### Subsection (skipped h2)

Fixed:
# Title
## Section
### Subsection
```

**MD022 — blanks-around-headings:**

```text
Wrong:
Some text
## Heading
More text

Fixed:
Some text

## Heading

More text
```

**MD032 — blanks-around-lists:**

```text
Wrong:
Some text
- item 1
- item 2
More text

Fixed:
Some text

- item 1
- item 2

More text
```

**MD047 — single-trailing-newline:**

```text
Fix: ensure file ends with exactly one newline character (no blank
lines at end, no missing newline)
```

## Default config

This is the same content as `markdownlint-config.json` in this directory.
The config is intentionally minimal — only line length is overridden.
Projects should add their own `.markdownlint.json` for style preferences
(heading style, list markers, emphasis style, etc.).

```json
{
  "MD013": { "line_length": 120 }
}
```
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 198kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 198kUpdated Claude CodeCodexVerifiedInstall