claude-md-optimizer
AgentUse this agent when the user wants to autonomously validate and optimize their CLAUDE.md files. This agent runs claudelint…
Agent skills must be an array of skill names
Claude Code
> /plugin marketplace add pdugan20/claudelint> /plugin install claudelint@claudelint
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
description: "Agent skills must be an array of skill names"
<RuleHeader description="Agent skills must be an array of skill names" severity="error" :fixable="false" :configurable="false" category="Agents" />
This rule enforces that the `skills` field in agent markdown frontmatter is a valid array of strings. Each entry should be a skill name corresponding to a directory under `.claude/skills/`. Validation is delegated to the AgentFrontmatterSchema.shape.skills Zod schema. Proper formatting ensures the agent framework can correctly resolve and load skill definitions.
Skills as a single string instead of array
--- name: deploy-agent description: Handles deployment pipelines skills: run-tests ---
Skills with non-string entries
--- name: deploy-agent description: Handles deployment pipelines skills: - 42 - true ---
Skills as a valid array of skill names
--- name: deploy-agent description: Handles deployment pipelines skills: - run-tests - deploy ---
Ensure `skills` is formatted as a YAML array of strings. Each entry should be the name of a skill directory under `.claude/skills/`.
This rule does not have any configuration options.
Available since: v0.2.0
A linter for Claude Code projects. Validates CLAUDE.md files, skills, settings, hooks, MCP servers, plugins, and more.
Use this agent when the user wants to autonomously validate and optimize their CLAUDE.md files. This agent runs claudelint…
Agent body content should meet minimum length requirements
Agent disallowedTools must be an array of tool names
Hook configuration in agents.json violates schema requirements
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…