claude-md-optimizer
Use this agent when the user wants to autonomously validate and optimize their CLAUDE.md files. This agent runs claudelint validation, analyzes results, and…
Agent skills must be an array of skill names
> /plugin marketplace add pdugan20/claudelint > /plugin install claudelint@claudelint
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Agent skills must be an array of skill names
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.
Repo: pdugan20/claudelint
Use this agent when the user wants to autonomously validate and optimize their CLAUDE.md files. This agent runs claudelint validation, analyzes results, and…
Hook configuration in agents.json violates schema requirements