Skip to content
Agentmart
Submit a tool

markuplint

Reference knowledge for Markuplint HTML linter.

Skill by markuplint

IndexedMIT★ 629
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/markuplint-markuplint

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Reference knowledge for Markuplint HTML linter. Covers violation interpretation, CLI usage, config patterns, and documentation URLs. Auto-loaded when working with HTML linting.

Use cases: frontend, code-review, documentation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/markuplint

What's inside

Skill name
markuplint
Description
Reference knowledge for Markuplint HTML linter. Covers violation interpretation, CLI usage, config patterns, and documentation URLs. Auto-loaded when working with HTML linting.
License
MIT
Instructions
125 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Markuplint

Reference knowledge for working with Markuplint.

## What is Markuplint

An HTML linter that checks conformance with HTML Standard, WAI-ARIA, and project-specific rules. Supports JSX, Vue, Svelte, Astro, Pug, PHP, and more via parser plugins.

- Official site: https://markuplint.dev
- GitHub: https://github.com/markuplint/markuplint
- Playground: https://playground.markuplint.dev

**Documentation base URL**: check the installed version with `npx markuplint --version`. If it contains `alpha`, `beta`, or `rc`, replace `https://markuplint.dev` with `https://next.markuplint.dev` in every documentation URL below — the stable site does not document prerelease behavior.

## Reading Violation Messages

Format: `message (ruleId) [named-rule]`

```
The attribute name is duplicated (no-duplicate-attr) [html-standard/attr-duplication]
```

- **`ruleId`** (`no-duplicate-attr`) — the base rule. Always present.
- **`named-rule`** (`html-standard/attr-duplication`) — preset-defined alias. Present only for named rules. The `namespace/` prefix indicates which preset defined it (e.g., `a11y/`, `html-standard/`, `performance/`).
- **`severity`** — `error` (exit code 1), `warning` (exit code 0 by default), or `info`.

To look up any rule: `https://markuplint.dev/docs/rules/{ruleId}`

## CLI Quick Reference

```shell
# Basic lint
npx markuplint "src/**/*.html"

# JSON output (for programmatic use)
npx markuplint "src/**/*.html" --format JSON

# Auto-fix (rules that support it)
npx markuplint "src/**/*.html" --fix

# Preview fixes without writing
npx markuplint "src/**/*.html" --fix-dry-run

# Suppress current violations for gradual adoption
npx markuplint "src/**/*.html" --suppress

# Clean up fixed suppressions
npx markuplint "src/**/*.html" --prune-suppressions

# GitHub Actions annotations
npx markuplint "src/**/*.html" --format GitHub

# Limit output for large projects
npx markuplint "src/**/*.html" --max-count=50
```

Always quote glob patterns to prevent shell expansion.

## Config Patterns

### Disable a named rule

```json
{ "rules": { "a11y/html-lang": false } }
```

### Disable all rules in a namespace

```json
{ "rules": { "a11y/*": false } }
```

### Change severity

```json
{ "rules": { "a11y/html-lang": "warning" } }
```

### Element-specific rules

`nodeRules` — targets the matched element. `childNodeRules` — targets descendants (add `"inheritance": true` for all descendants, not just direct children).

### Ancestor matching

Use `:is(selector *)`. Do NOT use `:closest()` — it is deprecated.

```json
{ "selector": "div:is(nav *)" }
```

## Common Issues and Fixes

### OGP / Open Graph `property` attribute

The `property` attribute is not in the HTML spec. See: https://markuplint.dev/docs/rules/no-unknown-attr#the-open-graph-protocol

### `no-unknown-attr` with frameworks

Install the framework's spec plugin (e.g., `@markuplint/react-spec`). See: https://markuplint.dev/docs/guides/beyond-html#why-need-the-spec-plugins

### `no-unescaped-char` false positives with template engines

Default mode only flags a literal `<`. The `strict` option (also flagging `>`, `"`, a bare `&`) can trigger false positives with some template syntaxes. Disable partially, turn off `strict`, or report: https://markuplint.dev/docs/rules/no-unescaped-char

### `--init` is interactive only

`npx markuplint --init` requires terminal input. AI agents should write `.markuplintrc` directly.

## Documentation URLs

| Topic | URL |
| --- | --- |
| All rules | `https://markuplint.dev/docs/rules` |
| Specific rule | `https://markuplint.dev/docs/rules/{rule-id}` |
| Presets | `https://markuplint.dev/docs/guides/presets` |
| Framework setup | `https://markuplint.dev/docs/guides/beyond-html` |
| Config properties | `https://markuplint.dev/docs/configuration/properties` |
| Selectors | `https://markuplint.dev/docs/guides/selectors` |
| CLI options | `https://markuplint.dev/docs/guides/cli` |

From markuplint/markuplint, MIT.

More from markuplint/markuplint

Compare and alternatives

    Featured in

    Signals

    Stars
    629
    Forks
    70
    Open issues
    52
    Last commit (this folder)
    Aug 26, 2026 (2 months ago)
    Last release
    Oct 21, 2026 (6 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from markuplint

    Cite this page

    markuplint skill. Agent Mart. https://agentmart.dev/skills/markuplint-markuplint (last updated 2026-10-24)