Skip to content
Development
Command

/validate-plugin

Validate plugin structure, schema, and naming. Use for plugin creation, debugging, or verification.

From plugin
claude-night-market
325163 skills59 agents163 commands1 MCP
Install
$ npx -y skills add athola/claude-night-market --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/validate-plugin

Context preview

What this command does when you run it.

Validate plugin structure, schema, and naming. Use for plugin creation, debugging, or verification.

Command definition

validate-plugin.md
name: validate-plugin
description: Validate plugin structure, schema, and naming. Use for plugin creation, debugging, or verification.
usage: /validate-plugin [plugin-path]

Validate Plugin Structure

This command validates a Claude Code plugin's structure against the official documentation requirements.

Usage

# Validate current directory
/validate-plugin

# Validate specific plugin
/validate-plugin ~/claude-night-market/plugins/archetypes

# Validate relative path
/validate-plugin ../my-plugin

What It Checks

The validator performs detailed checks:

Critical Requirements

  • `.claude-plugin/plugin.json` exists and is valid JSON
  • Required `name` field is present
  • Plugin name follows kebab-case convention
  • Referenced files and paths exist
  • Directories are in correct locations (not nested in `.claude-plugin/`)

Warnings

  • Path format (should be relative with `./`)
  • Semantic versioning format
  • Directory structure matches references

Recommendations

  • Recommended metadata fields (version, description, author, license)
  • Enhanced Claude configuration options
  • Skill frontmatter completeness

Examples

Validate Current Plugin

cd ~/claude-night-market/plugins/archetypes
/validate-plugin

Batch Validate Multiple Plugins

for plugin in ~/claude-night-market/plugins/*; do
  /validate-plugin "$plugin"
done

Implementation

Run the Python validation script:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate_plugin.py "${1:-.}"
Read more
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

Get the whole plugin, auto-invoked
Stats
325
Stars
0
Views
35
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: athola/claude-night-market