run-tests
Installation
SKILL.md
Test Runner
This project is a Claude Code plugins marketplace. "Tests" here means verifying the repository structure, version consistency, JSON syntax, and SKILL.md/agent frontmatter validity — equivalent to the /verify-plugins command logic.
Process
- Determine test scope:
- If
$ARGUMENTScontains--base-commit <sha>: rungit diff --name-only <sha>to get changed files (includes committed, staged, and unstaged changes) - Otherwise: run
git diff --name-only HEADto detect changed files (if HEAD is unavailable or no changed files detected, run full verification) - This marketplace is small and structural; any change touching
.claude-plugin/marketplace.json,plugins/**,skills/**, or.claude-plugin/plugin.jsonshould trigger full verification. If only unrelated files (e.g.README.md,CHANGELOG.md,docs/**) changed, still run full verification — it is fast
- If
- Spawn a subagent (Agent tool, subagent_type:
general-purpose) to execute verification - Return the subagent's structured summary to the caller