Skip to content

/validate-all

Runs comprehensive claudelint validation on all Claude Code project files. Use when user asks to "check everything", "run all validators", "full audit", "validate my entire project", or "what's wrong with my config". Validates CLAUDE.md, skills, settings, hooks, MCP servers, and

From plugin
claudelint
149 skills13 agents1 command1 hook

Claude Code

$ npx -y skills add pdugan20/claudelint --skill validate-all --agent claude-code

SKILL.md

validate-all.SKILL.md
name: validate-all
description: Runs comprehensive claudelint validation on all Claude Code project files. Use when user asks to "check everything", "run all validators", "full audit", "validate my entire project", or "what's wrong with my config". Validates CLAUDE.md, skills, settings, hooks, MCP servers, and plugin manifests.
version: 1.0.0
argument-hint: "[flags]"
allowed-tools:
  - Bash(claudelint:*)

Validate Claude Code Project

Runs `claudelint check-all` to validate all Claude Code project files including CLAUDE.md, skills, settings, hooks, MCP servers, and plugin manifests.

Usage

claudelint check-all $ARGUMENTS

Options

Available flags:

  • `--verbose` - Show detailed validation output
  • `--warnings-as-errors` - Treat warnings as errors
  • `--explain` - Show detailed explanations and fix suggestions
  • `--format <format>` - Output format: stylish, json, compact (default: stylish)
  • `--config <path>` - Path to custom config file
  • `--fast` - Fast mode: skip expensive checks
  • `--color` / `--no-color` - Control color output

Examples

Example 1: Plugin won't load after changes

**User says**: "I just updated my CLAUDE.md and added a new skill, but now my plugin isn't loading" **What happens**:

1. Skill runs `claudelint check-all` 2. Finds CLAUDE.md exceeds 50KB (blocking issue) 3. Finds new skill has wrong capitalization in allowed-tools 4. Shows both issues need fixing before plugin will load

**Result**: User identifies why plugin broke and fixes both issues

Example 2: Pre-commit validation failed

**User says**: "My git pre-commit hook is failing but I don't know which validator is the problem" **What happens**:

1. Skill runs `claudelint check-all --verbose` 2. Shows validate-mcp failed: invalid transport type "sse" (deprecated) 3. Shows validate-hooks passed, validate-skills passed, etc. 4. Points to specific .mcp.json file and line number

**Result**: User fixes the one failing validator (MCP config) and commit succeeds

Example 3: After npm install, verify everything still works

**User says**: "I just upgraded claude-code-lint, make sure I didn't break anything" **What happens**:

1. Skill runs `claudelint check-all` 2. Detects new rules flagging previously-allowed patterns 3. Shows deprecation warnings for old syntax 4. Suggests migration path for deprecated features

**Result**: User knows what needs updating after version upgrade

Command Examples

Basic validation:

claudelint check-all

Verbose output with explanations:

claudelint check-all --verbose --explain

JSON output for CI/CD:

claudelint check-all --format json

Use custom config:

claudelint check-all --config .claudelintrc.custom.json

Treat warnings as errors (strict mode):

claudelint check-all --warnings-as-errors

What Gets Validated

The validate skill checks:

1. **CLAUDE.md files** - File size, imports, frontmatter, sections 2. **Skills** - SKILL.md schema, naming, documentation, security 3. **Settings** - settings.json schema, permissions, environment variables 4. **Hooks** - hooks.json schema, events, commands 5. **MCP Servers** - .mcp.json schema, transport config, variables 6. **Plugins** - plugin.json schema, semantic versioning, references

Exit Codes

  • `0` - No errors or warnings
  • `1` - Warnings found (or warnings treated as errors)
  • `2` - Errors found or fatal error (invalid config, crash)

For troubleshooting, see [common issues](./references/common-issues.md). For customization, see [configuration](./references/configuration.md).

See Also

  • [validate-cc-md](../validate-cc-md/SKILL.md) - Validate only CLAUDE.md files
  • [validate-skills](../validate-skills/SKILL.md) - Validate only skills
  • [validate-settings](../validate-settings/SKILL.md) - Validate only settings
  • [format-cc](../format-cc/SKILL.md) - Format Claude files with prettier/markdownlint
Read more
@pdugan20
Ships withclaudelint

A linter for Claude Code projects. Validates CLAUDE.md files, skills, settings, hooks, MCP servers, plugins, and more.

Stars on GitHub

Momentum

stars in total
14
Star history of pdugan20/claudelint on GitHub, a chart by star-history.com

Other skills on claudelint.

format-cc
Auto-invoked

format-cc

Formats Claude Code files with markdownlint, prettier, and shellcheck. Use when user asks to "format my files", "fix markdown…

@pdugan20@pdugan20Install Skill
optimize-cc-md
Auto-invoked

optimize-cc-md

Interactively helps users optimize their CLAUDE.md files. Use when user asks to "optimize my CLAUDE.md", "my CLAUDE.md is too…

@pdugan20@pdugan20Install Skill
validate-cc-md
Auto-invoked

validate-cc-md

Validates CLAUDE.md files for size, imports, and structure. Use when user asks to "check my CLAUDE.md", "why is my CLAUDE.md too…

@pdugan20@pdugan20Install Skill
validate-hooks
Auto-invoked

validate-hooks

Validates Claude Code hooks.json files for schema, events, and commands. Use when user asks to "check my hooks", "validate…

@pdugan20@pdugan20Install Skill
validate-mcp
Auto-invoked

validate-mcp

Validates MCP server configuration files (.mcp.json). Use when user asks to "check my .mcp.json", "why isn't my MCP working",…

@pdugan20@pdugan20Install Skill
validate-plugin
Auto-invoked

validate-plugin

Validates Claude Code plugin manifest files (plugin.json). Use when user asks to "check my plugin.json", "validate plugin.json",…

@pdugan20@pdugan20Install Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about validate-all.

Which coding agents can use validate-all?
validate-all installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.