format-cc
Formats Claude Code files with markdownlint, prettier, and shellcheck. Use when user asks to "format my files", "fix markdown formatting", "clean up…
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
$ npx -y skills add pdugan20/claudelint --skill validate-all --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/validate-allContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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:*)
Runs `claudelint check-all` to validate all Claude Code project files including CLAUDE.md, skills, settings, hooks, MCP servers, and plugin manifests.
claudelint check-all $ARGUMENTS
Available flags:
**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
**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
**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
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
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
For troubleshooting, see [common issues](./references/common-issues.md). For customization, see [configuration](./references/configuration.md).
A linter for Claude Code projects. Validates CLAUDE.md files, skills, settings, hooks, MCP servers, plugins, and more.
Repo: pdugan20/claudelint
Formats Claude Code files with markdownlint, prettier, and shellcheck. Use when user asks to "format my files", "fix markdown formatting", "clean up…
Interactively helps users optimize their CLAUDE.md files. Use when user asks to "optimize my CLAUDE.md", "my CLAUDE.md is too long", "improve organization", or…
Validates CLAUDE.md files for size, imports, and structure. Use when user asks to "check my CLAUDE.md", "why is my CLAUDE.md too long", "validate imports", or…
Validates Claude Code hooks.json files for schema, events, and commands. Use when user asks to "check my hooks", "validate hooks.json", "hook errors", "why…
Validates MCP server configuration files (.mcp.json). Use when user asks to "check my .mcp.json", "why isn't my MCP working", ".mcp.json errors", "validate MCP…
Validates Claude Code plugin manifest files (plugin.json). Use when user asks to "check my plugin.json", "validate plugin.json", "plugin errors", or "why isn't…