claude-plugin-validation
БесплатноБез исполняемых скриптовНе проверенComprehensive validation system for Claude Code plugins to ensure compliance with official plugin development guidelines and prevent installation failures
Об этом скилле
Overview
This skill provides comprehensive validation for Claude Code plugins to ensure they meet official development guidelines, prevent installation failures, and maintain compatibility across different versions. It focuses on critical validation areas that commonly cause plugin breakage.
When to Apply
Use this skill when:
- Preparing a plugin for release
- Debugging plugin installation failures
- Updating plugin structure or manifest
- Validating compatibility with Claude Code versions
- Conducting quality assurance checks
- Investigating plugin loading issues
Claude Code Plugin Guidelines Validation
1. Plugin Manifest (plugin.json) Validation
Critical Requirements:
- Required Fields:
name,version,description,author - Valid JSON Syntax: Must pass JSON parsing without errors
- Semantic Versioning: Use
x.y.zformat (no pre-release identifiers) - Version Consistency: Must match version references in documentation
- Character Encoding: UTF-8 encoding required
- File Size: Under 1MB recommended for performance
Validation Checks:
{
"required_fields": ["name", "version", "description", "author"],
"optional_fields": ["repository", "license", "homepage", "keywords"],
"version_pattern": "^\\d+\\.\\d+\\.\\d+$",
"max_file_size": 1048576,
"encoding": "utf-8"
}
Common Issues that Cause Installation Failures:
- Missing required fields
- Invalid JSON syntax (trailing commas, unescaped characters)
- Incorrect version format
- Special characters in description without proper escaping
- File encoding issues
2. Directory Structure Validation
Required Structure:
plugin-root/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest (REQUIRED)
├── agents/ # Agent definitions (optional)
├── skills/ # Skill definitions (optional)
├── commands/ # Command definitions (optional)
└── lib/ # Python utilities (optional)
Validation Rules:
.claude-plugin/plugin.jsonmust exist and be valid JSON- Directory names must match plugin system conventions
- Files must use
.mdextension for agents/skills/commands - No circular directory references
- Proper case sensitivity handling
3. File Format Compliance
Agent Files (agents/*.md):
---
name: agent-name
description: When to invoke this agent (action-oriented)
tools: Read,Write,Edit,Bash,Grep,Glob # optional
model: inherit # optional
---
# Agent Title
Core responsibilities...
## Skills Integration
Reference skills by name...
## Approach
Detailed instructions...
## Handoff Protocol
How to return results...
Skill Files (skills/*/SKILL.md):
---
name: Skill Name
description: What this skill provides (200 char max)
version: 1.0.0
---
## Overview
What, when, and why...
## Domain-Specific Sections
2-5 sections with guidelines, examples, standards...
## When to Apply
Trigger conditions...
Command Files (commands/*.md):
- Should not start with dot (.)
- Must contain usage examples
- Should include
## Usagesection - Must be valid Markdown
4. YAML Frontmatter Validation
Required YAML Structure:
---
name: string # Required for agents/skills
description: string # Required for agents/skills
version: string # Required for skills
tools: array # Optional for agents
model: string # Optional for agents
---
YAML Validation Rules:
- Valid YAML syntax (no tabs for indentation)
- Proper string escaping
- No duplicate keys
- Valid data types (string, array, etc.)
- UTF-8 encoding
5. Cross-Platform Compatibility
File Path Handling:
- Use forward slashes in documentation
- Handle Windows path separators (\) in scripts
- Case sensitivity considerations
- Maximum path length (260 chars Windows, 4096 Linux/Mac)
Character Encoding:
- All files must be UTF-8 encoded
- No BOM (Byte Order Mark)
- Proper Unicode handling in JSON
- Escape special characters correctly
Line Ending Compatibility:
- Git configuration:
git config --global core.autocrlf false - Use LF line endings in source files
- Batch scripts: CRLF endings required
- Shell scripts: LF endings required
6. Plugin Dependency Validation
External Dependencies:
- List all Python dependencies in requirements
- Validate package availability and versions
- Check for conflicting dependencies
- Ensure cross-platform package availability
Claude Code Compatibility:
- Check for deprecated Claude Code features
- Validate agent tool usage
- Ensure skill loading compatibility
- Verify command naming conventions
7. Installation Failure Prevention
Pre-Installation Validation:
# Validate plugin before distribution
python -c "
import json
import os
# Check plugin manifest
try:
with open('.claude-plugin/plugin.json', 'r') as f:
manifest = json.load(f)
required = ['name', 'version', 'description', 'aut
Установить claude-plugin-validation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл claude-plugin-validation?
Comprehensive validation system for Claude Code plugins to ensure compliance with official plugin development guidelines and prevent installation failures
Как установить скилл claude-plugin-validation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-plugin-validation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic