validate-cc-md SKILL.md skillA

validate-cc-md from pdugan20/claudelint is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add pdugan20/claudelint/validate-cc-md@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
pdugan20/claudelint
Path
skills/validate-cc-md/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Feb 19, 2026
First version recorded
Feb 11, 2026
Size
5,417 bytes
Repository stars
14
License
MIT

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 "fix CLAUDE.md errors". Checks file size limits (30KB warning, 50KB error), @import directives, frontmatter in .claude/rules/, and section organization.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Validate CLAUDE.md Files

Runs `claudelint validate-claude-md` to validate CLAUDE.md files including:

- File size limits (30KB warning, 50KB error)
- @import directive validation
- Frontmatter validation in .claude/rules/ files
- Section organization

## Usage

```bash
claudelint validate-claude-md $ARGUMENTS
```

## Options

- `--path <path>` - Validate specific CLAUDE.md file
- `--verbose` - Show detailed output
- `--warnings-as-errors` - Treat warnings as errors
- `--explain` - Show detailed explanations and fix suggestions

## Examples

### Example 1: Claude says context is too large

**User says**: "Claude keeps saying my instructions are too long and won't load them"
**What happens**:

1. Skill runs `claudelint validate-claude-md`
2. Shows CLAUDE.md is 52KB (exceeds 50KB hard limit)
3. Identifies 3 largest sections: API docs (18KB), Git workflow (12KB), Testing guide (8KB)
4. Shows how to split: create .claude/rules/api.md and add `@import .claude/rules/api.md`

**Result**: User splits sections, CLAUDE.md now 28KB, Claude loads it successfully

### Example 2: Import shows "file not found" in Claude
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add pdugan20/claudelint/validate-cc-md@sha256:a7168d9cd3f24bef

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hmuavp4t3p7zeuwp.svg)](https://markdownregistry.com/a/art_hmuavp4t3p7zeuwp)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Feb 11, 2026 and Feb 19, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-02-19 22dd244 5,417 BA view · diff
v1.0.02026-02-16 7643dd5 5,381 BA view · diff
v1.0.02026-02-15 761e89c 5,412 BA view · diff
v1.0.02026-02-12 c3bc544 5,457 BA view · diff
v1.0.02026-02-11 6e195a5 5,439 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5417 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pdugan20/claudelint · 14 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hmuavp4t3p7zeuwp
GET https://markdownregistry.com/api/v1/resolve?ref=pdugan20/claudelint/validate-cc-md
GET https://markdownregistry.com/api/v1/blob/a7168d9cd3f24befb7c225ea061df5a37dba8fadae601d1454bc07550e9bd50e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from pdugan20/claudelint

check-upstream SKILL.md skill
pdugan20/claudelint · .agents/skills/check-upstream/SKILL.md · Refreshes the Claude Code docs baseline, runs the conformance check, and recommends schema and rule updates. Use when…
git:20260913.c2fd2b9 · audit A · 14 stars
AGENTS.md AGENTS.md file
pdugan20/claudelint · AGENTS.md
git:20260913.6ec4ef7 · audit A · 14 stars
CLAUDE.md CLAUDE.md file
pdugan20/claudelint · CLAUDE.md
git:20260727.016b46d · audit B · 14 stars
format-cc SKILL.md skill
pdugan20/claudelint · skills/format-cc/SKILL.md · Formats Claude Code files with markdownlint, prettier, and shellcheck. Use when user asks to "format my files", "fix…
v1.0.0 · audit A · 14 stars
optimize-cc-md SKILL.md skill
pdugan20/claudelint · skills/optimize-cc-md/SKILL.md · Interactively helps users optimize their CLAUDE.md files. Use when user asks to "optimize my CLAUDE.md", "my CLAUDE.md…
v1.0.0 · audit A · 14 stars
validate-all SKILL.md skill
pdugan20/claudelint · skills/validate-all/SKILL.md · Runs comprehensive claudelint validation on all Claude Code project files. Use when user asks to "check everything"…
v1.0.0 · audit A · 14 stars
validate-hooks SKILL.md skill
pdugan20/claudelint · skills/validate-hooks/SKILL.md · Validates Claude Code hooks.json files for schema, events, and commands. Use when user asks to "check my hooks"…
v1.0.0 · audit A · 14 stars
validate-mcp SKILL.md skill
pdugan20/claudelint · skills/validate-mcp/SKILL.md · Validates MCP server configuration files (.mcp.json). Use when user asks to "check my .mcp.json", "why isn't my MCP…
v1.0.0 · audit A · 14 stars
validate-plugin SKILL.md skill
pdugan20/claudelint · skills/validate-plugin/SKILL.md · Validates Claude Code plugin manifest files (plugin.json). Use when user asks to "check my plugin.json", "validate…
v1.0.0 · audit A · 14 stars
validate-settings SKILL.md skill
pdugan20/claudelint · skills/validate-settings/SKILL.md · Validates Claude Code settings.json files for schema, permissions, and security. Use when user asks to "check my…
v1.0.0 · audit A · 14 stars
validate-skills SKILL.md skill
pdugan20/claudelint · skills/validate-skills/SKILL.md · Validates Claude Code skills for schema, naming, documentation, and security. Use when user asks to "check my skill"…
v1.0.0 · audit A · 14 stars
AGENTS.md@src AGENTS.md file
pdugan20/claudelint · src/AGENTS.md
git:20260727.016b46d · audit A · 14 stars

Every file in pdugan20/claudelint

Browse by kind, by grade A, or by owner.