Test skill by attempting to load it in Claude Code context (runtime validation)
Test skill by attempting to load it in Claude Code context (runtime validation)
/plugin marketplace add basher83/lunar-claude/plugin install meta-claude@lunar-claudeskill-pathskill/Test skill by attempting to load it in Claude Code context (runtime validation).
/meta-claude:skill:validate-runtime <skill-path>
The skill path is available as $ARGUMENTS in the command context.
Validates that the skill actually loads and functions in Claude Code runtime:
Note: This is runtime validation - it tests actual loading behavior, not just static analysis.
Your task is to perform runtime validation checks on the skill at the provided path.
Your task is to check that the skill directory contains a valid SKILL.md file:
!test -f $ARGUMENTS/SKILL.md && echo "SKILL.md exists" || echo "Error: SKILL.md not found"
If SKILL.md does not exist, report error and exit.
Your task is to read the SKILL.md file and check for markdown syntax issues:
Common syntax issues to detect:
Your task is to extract and parse the YAML frontmatter block:
---
name: skill-name
description: Skill description text
---
Validation checks:
---name, descriptionYour task is to evaluate whether the skill description would trigger appropriately:
Check for:
Example good descriptions:
Example poor descriptions:
Your task is to check that the skill content follows progressive disclosure principles:
Key aspects:
Warning signs:
Your task is to simulate loading the skill content to verify it would work in Claude's context:
Checks:
Your task is to create a structured report with the following format:
## Runtime Validation Report: <skill-name>
**Overall Status:** PASS | FAIL
### Summary
[1-2 sentence overview of runtime validation results]
### Test Results
- Markdown Syntax: PASS | FAIL
- Frontmatter Parsing: PASS | FAIL
- Description Triggering: PASS | FAIL
- Progressive Disclosure: PASS | FAIL
- Context Loading: PASS | FAIL
### Issues Found
#### Critical (Must Fix)
[Issues that prevent skill from loading]
- [ ] Issue description with specific location
#### Warning (Should Fix)
[Issues that could cause problems]
- [ ] Issue description with specific location
#### Info (Consider Fixing)
[Minor issues or suggestions]
- [ ] Issue description
### Details
[Specific details about each test, including:]
- File size: X KB
- Frontmatter fields: name, description, [other fields]
- Content sections: [list of main sections]
- Code blocks: [count and languages]
### Recommendations
[Specific, actionable suggestions for fixing issues]
If SKILL.md not found:
Error: SKILL.md not found at $ARGUMENTS
Action: Verify path is correct or run /meta-claude:skill:create first
If runtime validation passes:
If runtime validation fails:
Issue Severity Levels:
Runtime validation PASSES if:
Runtime validation FAILS if:
Valid skill with good runtime characteristics:
/meta-claude:skill:validate-runtime plugins/meta/meta-claude/skills/skill-creator
# Output: Runtime Validation: PASS
# - All syntax checks passed
# - Frontmatter parsed successfully
# - Description triggers appropriately
# - Progressive disclosure structure confirmed
# - Skill loads into context successfully
Skill with runtime issues:
/meta-claude:skill:validate-runtime /path/to/broken-skill
# Output: Runtime Validation: FAIL
#
# Issues Found:
# Critical:
# - YAML frontmatter has syntax error on line 3 (unclosed string)
# - Code block at line 47 is unclosed (missing closing backticks)
# Warning:
# - Description is too broad: "General development tasks"
# - Progressive disclosure violated: 200 lines before first heading
Skill with minor warnings:
/meta-claude:skill:validate-runtime /path/to/working-skill
# Output: Runtime Validation: PASS
#
# Info:
# - Consider adding language identifier to code block at line 89
# - Description could be more specific about trigger conditions
/meta-claude:skill:review-compliance (static validation), this tests live
loading