Skip to content
Agentmart
Submit a tool

markuplint-setup

Set up Markuplint in a project from scratch.

Skill by markuplint

IndexedMIT★ 629
Write a review

Chalk Labs

Need help deploying markuplint-setup?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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-setup

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

Set up Markuplint in a project from scratch. Detects framework, creates config, runs initial lint, and guides the user through rule adoption with Bulk Suppressions support.

Use cases: code-review

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-setup

What's inside

Skill name
markuplint-setup
Description
Set up Markuplint in a project from scratch. Detects framework, creates config, runs initial lint, and guides the user through rule adoption with Bulk Suppressions support.
License
MIT
Instructions
154 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# markuplint-setup

Set up Markuplint in a project from scratch.

## When to Use

- "Set up markuplint" / "Add markuplint to this project"
- "I want to lint my HTML"
- "Install markuplint"

## Steps

### 1. Check Existing Installation

- Check `package.json` for `markuplint` and `@markuplint/*` packages
- Check for config files (`.markuplintrc*`, `markuplint.config.*`)
- If already installed, tell the user and suggest `/markuplint-configure` instead

### 2. Detect Project Type

Scan the project:

- **Package manager**: check for `package-lock.json` / `yarn.lock` / `pnpm-lock.yaml`
- **Framework**: check `package.json` dependencies for `react`, `vue`, `svelte`, `astro`, `@alpinejs/csp`, etc. Also check file extensions (`.jsx`, `.tsx`, `.vue`, `.svelte`, `.astro`, `.pug`, `.php`)
- **Monorepo**: check for `workspaces` in `package.json` or `lerna.json` / `nx.json` / `turbo.json`

### 3. Choose Preset and Packages

Use `WebFetch` to get the latest supported syntaxes and preset information:

- Presets: fetch https://markuplint.dev/docs/guides/presets
- Framework parsers: fetch https://markuplint.dev/docs/guides/beyond-html

If installing a prerelease version (`alpha` / `beta` / `rc`), use `https://next.markuplint.dev` as the doc base instead — the stable site does not document prerelease behavior.

**Use AskUserQuestion to confirm:**

1. Detected framework — is it correct?
2. Which preset to use? (recommend based on framework)

### 4. Install Packages

Install using the detected package manager. Example:

```shell
npm install -D markuplint @markuplint/jsx-parser @markuplint/react-spec
```

**Do NOT use `npx markuplint --init`** — it requires interactive terminal input.

### 5. Create Configuration File

Write `.markuplintrc` directly. Keep it minimal — only include what's needed for the detected framework.

Static HTML needs no `parser` or `specs`:

```json
{
  "extends": ["markuplint:recommended"]
}
```

Framework projects need parser and spec:

```json
{
  "extends": ["markuplint:recommended-react"],
  "parser": {
    "\\.[jt]sx$": "@markuplint/jsx-parser"
  },
  "specs": {
    "\\.[jt]sx$": "@markuplint/react-spec"
  }
}
```

Refer to https://markuplint.dev/docs/guides/beyond-html for the exact parser/spec package names and file patterns for each framework.

#### When to use JavaScript/TypeScript config

If the project uses external config plugins or shared configs that require fine-grained merging, recommend `markuplint.config.ts` (or `.js`) with spread syntax — similar to ESLint's flat config pattern:

```ts
import type { Config } from '@markuplint/ml-config';
import reactConfig from '@example/markuplint-config-react';

const config: Config = {
  ...reactConfig,
  rules: {
    ...reactConfig.rules,
    'class-naming': '/^[a-z][a-z0-9-]*$/',
  },
};

export default config;
```

This gives full control over merge order and avoids the limitations of JSON `extends` (which uses a fixed merge strategy). Use JSON for simple setups; use JS/TS when composing multiple configs.

### 6. Run Initial Lint

Run Markuplint and capture the results:

```shell
npx markuplint "$ARGUMENTS" --format JSON
```

If `$ARGUMENTS` is empty, ask the user for the target glob (e.g., `"src/**/*.html"`).

Summarize:
- Total violation count
- Breakdown by rule (which rules have the most violations)
- Whether violations are concentrated in specific files/directories

### 7. Rule-by-Rule Adoption Decision

**Use AskUserQuestion for each rule that has violations.** Present rules one at a time (or batch related rules).

For each rule, explain what it checks (fetch the rule page if needed: `https://markuplint.dev/docs/rules/{rule-id}`) and offer options:

From markuplint/markuplint, MIT.

More from markuplint/markuplint

Signals

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

From GitHub (fetched Oct 24, 2026).

Details

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

More from markuplint

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get markuplint-setup running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying markuplint-setup?

CallGet help
Cite this page

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