jeremylongshore/tons-of-skills-marketplace / plugins/examples/jeremy-plugin-tool/skills/plugin-validator
plugin-validator
VerifiedValidate automatically validates AI assistant code plugin structure, schemas, and compliance when user mentions validate plugin, check plugin, or plugin errors. runs comprehensive validation specific to AI assistant-code-plugins repository standards. Use when validating configurations or code. Trigger with phrases like 'validate', 'check', or 'verify'.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.1 KB |
| assets/README.md | markdown | 526 B |
| references/ARD.md | markdown | 4.3 KB |
| references/PRD.md | markdown | 3.7 KB |
| references/README.md | markdown | 581 B |
| references/errors.md | markdown | 319 B |
| references/examples.md | markdown | 752 B |
| references/validation-checks.md | markdown | 2.7 KB |
| references/validation-report-format.md | markdown | 792 B |
| scripts/README.md | markdown | 623 B |
| scripts/validate_plugin_marketplace.pyexecutable | script | 2.6 KB |
scripts/validate_plugin_marketplace.py
View on GitHub#!/usr/bin/env python3
"""
Jeremy Plugin Tool — Marketplace-Grade Validator (thin delegating wrapper).
This script used to carry its own 725-line validation implementation with a
6-field required set (missing compatibility + tags) that diverged from the
authoritative validator. It now delegates to scripts/validate-skills-schema.py
at the repository root, run at the marketplace tier (the IS 8-field required
set + 100-point rubric).
CLI surface (preserved from the previous implementation):
python3 validate_plugin_marketplace.py [plugin_path] [--verbose|-v] [--fail-on-warn]
plugin_path defaults to "." (current directory, validated in plugin mode).
Exit codes: 0 = pass, 1 = errors (unchanged).
Author: Jeremy Longshore <jeremy@intentsolutions.io>
"""
import argparse
import subprocess
import sys
from pathlib import Path
def find_main_validator() -> Path | None:
"""Resolve scripts/validate-skills-schema.py by walking up from this file."""
current = Path(__file__).resolve().parent
for _ in range(10):
candidate = current / "scripts" / "validate-skills-schema.py"
if candidate.exists():
return candidate
if current.parent == current:
break
current = current.parent
return None
def main() -> int:
parser = argparse.ArgumentParser(
description="Jeremy Plugin Tool - Marketplace-Grade Validator (delegates to validate-skills-schema.py)"
)
parser.add_argument("plugin_path", nargs="?", default=".", help="Plugin directory or repository root")
parser.add_argument("--verbose", "-v", action="store_true", help="Print per-file OK lines")
parser.add_argument("--fail-on-warn", action="store_true", help="Treat warnings as errors")
args = parser.parse_args()
print(
"DEPRECATED: this wrapper delegates to scripts/validate-skills-schema.py "
"(the authoritative validator); invoke it directly for the full flag surface.",
file=sys.stderr,
)
target = Path(args.plugin_path)
if not target.exists():
print(f"ERROR: Path does not exist: {target.resolve()}", file=sys.stderr)
return 1
validator = find_main_validator()
if validator is None:
print(
"ERROR: Cannot find scripts/validate-skills-schema.py — run from within the claude-code-plugins repo",
file=sys.stderr,
)
return 1
cmd = [sys.executable, str(validator), "--marketplace"]
if args.verbose:
cmd.append("--verbose")
if args.fail_on_warn:
cmd.append("--fail-on-warn")
cmd.append(str(target))
return subprocess.run(cmd).returncode
if __name__ == "__main__":
sys.exit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |