Skip to content
Back to skills

Validation

ASecurity

Plugin validation errors and fixes

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
toolsbash

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add JamesPrial/claudefiles --skill validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jamesprial-validation/badge)](https://www.skillsdirectory.com/skills/jamesprial-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plugin-packager-validation
description: Plugin validation errors and fixes
---

# Validation Error Reference

| Error | Fix |
|-------|-----|
| Invalid path | Add `./` prefix |
| Script not executable | `chmod +x <script>` |
| Invalid JSON | Run `jq . .claude-plugin/plugin.json` |
| Missing field | Add `name` and `version` |
| Component not found | Verify path exists |

## Debug Commands

```bash
# Validate JSON
jq . .claude-plugin/plugin.json

# List all components
find . -type d \( -name agents -o -name commands -o -name skills -o -name hooks \) -exec ls {} \;

# Check hook scripts
find hooks -type f -exec file {} \;
```

## Full Schema Reference

```json
{
  "name": "REQUIRED",
  "version": "REQUIRED (semver)",
  "description": "optional",
  "author": {"name": "", "email": "", "url": ""},
  "commands": "./commands/ OR [array]",
  "agents": "./agents/ OR [array]",
  "skills": "./skills/ OR [array]",
  "hooks": "./hooks/hooks.json OR [array] OR {inline}"
}
```

## Rules

1. All paths relative, starting with `./`
2. Only plugin.json in `.claude-plugin/`
3. Components at plugin root
4. Arrays for multiple paths

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.