Test skill integration with Claude Code ecosystem (conflict detection and compatibility)
Validates skill integration with Claude Code ecosystem (conflict detection and compatibility)
/plugin marketplace add basher83/lunar-claude/plugin install meta-claude@lunar-claudeskill/Test skill integration with Claude Code ecosystem (conflict detection and compatibility).
/meta-claude:skill:validate-integration $ARGUMENTS
Arguments:
$1: Path to the skill directory to validate (required)Validates that the skill integrates cleanly with the Claude Code ecosystem:
Note: This is integration validation - it tests ecosystem compatibility, not runtime behavior.
Your task is to perform integration validation checks on the skill at the provided path.
Verify that the skill directory contains a valid SKILL.md file:
!test -f "$1/SKILL.md" && echo "SKILL.md exists" || echo "Error: SKILL.md not found"
If SKILL.md does not exist, report error and exit.
Read the SKILL.md frontmatter to extract key metadata. The frontmatter format is:
---
name: skill-name
description: Skill description text
---
Extract the following from the skill at $1/SKILL.md:
Use this metadata for conflict detection and overlap analysis.
Search for existing skills with the same name across the marketplace.
Find all SKILL.md files:
!find "$(git rev-parse --show-toplevel)/plugins" -type f -name "SKILL.md"
For each existing skill, perform the following analysis:
$1/SKILL.md)Detect these types of conflicts:
Analyze skill descriptions to identify overlapping functionality:
Compare:
Overlap categories:
Analysis approach:
Extract key terms from both descriptions:
Calculate semantic overlap score using Jaccard similarity:
Categorize overlap based on score:
Flag if overlap exceeds threshold (>70% duplicate, >50% overlapping)
Verify the skill can work with existing slash commands by checking for:
Find all slash command references:
!rg -o '/[a-z][a-z0-9-]+\b' "$1/SKILL.md"
For each referenced command, perform these checks:
Verify compatibility with other meta-claude components.
Analyze integration with these meta-claude components:
Perform these integration checks:
Examples of what to verify:
/meta-claude:skill:create, verify it existsEvaluate whether the skill complements existing capabilities:
Assessment criteria:
Red flags:
Generate a structured report in the following format:
## Integration Validation Report: <skill-name>
**Overall Status:** PASS | FAIL
### Summary
[1-2 sentence overview of integration validation results]
### Validation Results
- Naming Conflicts: PASS | FAIL
- Functionality Overlap: PASS | FAIL
- Command Composition: PASS | FAIL
- Component Integration: PASS | FAIL
- Ecosystem Fit: PASS | FAIL
### Conflicts Found
#### Critical (Must Resolve)
[Conflicts that prevent integration]
- [ ] Conflict description with affected component
#### Warning (Should Review)
[Potential issues that need attention]
- [ ] Issue description with recommendation
#### Info (Consider)
[Minor considerations or enhancements]
- [ ] Suggestion for better integration
### Integration Details
**Existing Skills Analyzed:** [count]
**Commands Referenced:** [list]
**Agents Referenced:** [list]
**Conflicts Detected:** [count]
**Overlap Analysis:**
- Duplicate functionality: [list]
- Overlapping functionality: [list]
- Complementary skills: [list]
### Recommendations
[Specific, actionable suggestions for improving integration]
### Next Steps
[What to do based on validation results]
If SKILL.md not found:
Error: SKILL.md not found at $1
Report this error and advise verifying the path is correct or running /meta-claude:skill:create first.
If integration validation passes:
Report the following:
If integration validation fails:
Report the following:
Conflict Severity Levels:
Integration validation PASSES if:
Integration validation FAILS if:
Skill with clean integration:
/meta-claude:skill:validate-integration plugins/meta/meta-claude/skills/docker-security
# Output: Integration Validation: PASS
# - No naming conflicts detected
# - Functionality is complementary to existing skills
# - All referenced commands exist
# - Compatible with meta-claude components
# - Fills gap in security analysis domain
Skill with naming conflict:
/meta-claude:skill:validate-integration /path/to/duplicate-skill
# Output: Integration Validation: FAIL
#
# Conflicts Found:
# Critical:
# - Skill name 'skill-factory' already exists in plugins/meta/meta-claude/skills/skill-factory
# - Exact duplicate functionality: both create SKILL.md files
# Recommendation: Choose different name or consolidate with existing skill
Skill with functionality overlap:
/meta-claude:skill:validate-integration /path/to/overlapping-skill
# Output: Integration Validation: FAIL
#
# Conflicts Found:
# Warning:
# - 75% description overlap with 'python-code-quality' skill
# - Both skills handle Python linting and formatting
# - Referenced command '/run-pytest' does not exist
# Recommendation: Consider consolidating or clearly differentiating scope
Skill with minor concerns:
/meta-claude:skill:validate-integration /path/to/new-skill
# Output: Integration Validation: PASS
#
# Info:
# - Skill name similar to 'ansible-best-practice' (note singular vs plural)
# - Could complement 'ansible-best-practices' skill with cross-references
# - Consider mentioning relationship in description
/meta-claude:skill:validate-runtime passes