Validates SpecWeave plugin installation when EXPLICITLY requested by user. Use for checking if plugins are installed correctly, validating marketplace registration, or troubleshooting missing plugins. Only triggers on explicit requests to avoid false positives during normal workflow.
Validates SpecWeave plugin installations and automatically installs missing components when explicitly requested.
/plugin marketplace add anton-abyzov/specweave/plugin install sw@specweavePurpose: Validate and install SpecWeave plugins when explicitly requested by the user.
Activation: Triggers ONLY when user explicitly requests plugin validation (e.g., "validate plugins", "check plugins", or runs specweave validate-plugins command). Does NOT auto-activate for workflow commands to prevent false positive errors.
This skill ensures that your SpecWeave environment is properly configured with all required plugins BEFORE you start working. It prevents frustrating errors and wasted time from missing components.
~/.claude/settings.jsonspecweave plugin is installedā ONLY activates when explicitly requested:
specweave validate-pluginsspecweave init (initial setup only)ā Does NOT auto-activate for:
/sw:increment commands/sw:do commandsWhat: Checks if SpecWeave marketplace is registered in Claude Code
Where: ~/.claude/settings.json
Expected:
{
"extraKnownMarketplaces": {
"specweave": {
"source": {
"source": "github",
"repo": "anton-abyzov/specweave",
"path": ".claude-plugin"
}
}
}
}
If missing: Auto-creates the configuration
What: Verifies specweave plugin is installed
Command: /plugin list --installed | grep "specweave"
Expected: Plugin appears in the list
If missing: Suggests /plugin install specweave
What: Scans your increment description for keywords Examples:
| Your Description | Detected Keywords | Suggested Plugin |
|---|---|---|
| "Add GitHub sync" | github, sync | specweave-github |
| "Stripe billing with React UI" | stripe, billing, react, ui | specweave-payments, specweave-frontend |
| "Deploy to Kubernetes" | kubernetes, deploy | specweave-kubernetes |
| "Add Jira integration" | jira, integration | specweave-jira |
Full Keyword Map (15+ plugins):
Scenario: You cloned a project to a new VM and want to start working.
Action: Run /sw:increment "Add authentication"
What Happens:
š Validating SpecWeave environment...
ā Missing components detected:
⢠SpecWeave marketplace not registered
⢠Core plugin (specweave) not installed
š¦ Installing missing components...
ā
Marketplace registered (.claude/settings.json)
ā
Core plugin installed (specweave v0.9.4)
š Environment ready! Proceeding with increment planning...
Scenario: You're adding a new feature that uses GitHub and React.
Action: Run /sw:increment "Add GitHub sync with React UI"
What Happens:
š Validating SpecWeave environment...
ā
Marketplace registered
ā
Core plugin installed (specweave v0.9.4)
š Detected context plugins from your description:
⢠specweave-github (keywords: github, sync)
⢠specweave-frontend (keywords: react, ui)
ā Missing context plugins:
⢠specweave-github
⢠specweave-frontend
š¦ Would you like to install these plugins?
They provide specialized expertise for your use case.
1. Yes, install now (recommended)
2. No, skip for now (limited capabilities)
Your choice [1]:
Scenario: You want to check your environment without running a command.
Action: Run specweave validate-plugins --verbose
What Happens:
[PluginValidator] Checking marketplace registration...
[PluginValidator] Marketplace registered ā
[PluginValidator] Checking core plugin (specweave)...
[PluginValidator] Core plugin installed ā (0.9.4)
ā
All plugins validated!
⢠Core plugin: installed (v0.9.4)
⢠Cache: miss
Scenario: You want to see what would be installed without actually installing.
Action: Run specweave validate-plugins --context="Add Stripe billing" --dry-run
What Happens:
š Validating SpecWeave environment...
ā
Marketplace registered
ā
Core plugin installed
š Detected context plugins:
⢠specweave-payments (keywords: stripe, billing)
ā Missing: specweave-payments
š” Dry-run mode: No changes made.
To install, remove --dry-run flag.
Basic validation:
specweave validate-plugins
Auto-install missing components:
specweave validate-plugins --auto-install
With context detection:
specweave validate-plugins --context="Add GitHub sync for mobile app"
Dry-run (preview only):
specweave validate-plugins --dry-run --context="Add Stripe billing"
Verbose mode:
specweave validate-plugins --verbose
Combined flags:
specweave validate-plugins --auto-install --context="Deploy to Kubernetes" --verbose
Symptom: Validation fails with "command not found"
Solution:
claude --version/plugin install commandSymptom: Marketplace is registered but validation fails
Solution:
~/.claude/settings.json structureSymptom: Auto-install tries but fails
Solution:
/plugin install specweaveSymptom: Context detection suggests irrelevant plugin
Example: Description "Add GitHub Actions" suggests specweave-github (but you meant CI/CD, not issue tracking)
Solution:
Validation Speed:
Caching:
~/.specweave/validation-cache.jsonValidation can be configured in .specweave/config.json:
{
"pluginValidation": {
"enabled": true, // Enable/disable validation (default: true)
"autoInstall": true, // Auto-install missing components (default: true)
"verbose": false, // Show detailed logs (default: false)
"cacheValidation": true, // Cache results (default: true)
"cacheTTL": 300 // Cache TTL in seconds (default: 300 = 5 min)
}
}
Disable validation (not recommended):
{
"pluginValidation": {
"enabled": false
}
}
All SpecWeave commands validate plugins before execution (STEP 0):
/sw:increment - Validates before PM agent runs/sw:do - Validates before task execution/sw:next - Validates before next increment/sw:done - Validates before completionWorkflow:
User: /sw:increment "Add feature"
ā
[STEP 0: Plugin Validation]
ā (only proceeds if valid)
[STEP 1: PM Agent Planning]
ā
[STEP 2: Architect Design]
ā
[STEP 3: Implementation]
ā Zero manual setup - Plugins install automatically ā Seamless migration - Works across local/VM/Cloud IDE ā Context-aware - Suggests relevant plugins based on your work ā Clear errors - No more cryptic "command not found" messages ā Fast - Caching ensures minimal overhead (<2s cached, <5s uncached) ā Non-blocking - Can skip validation if needed (not recommended)
1. Offline Mode
2. Development Mode
3. Concurrent Validation
4. Partial Installation
If auto-install fails, follow these steps:
Edit ~/.claude/settings.json:
{
"extraKnownMarketplaces": {
"specweave": {
"source": {
"source": "github",
"repo": "anton-abyzov/specweave",
"path": ".claude-plugin"
}
}
}
}
In Claude Code, run:
/plugin install specweave
Close and reopen Claude Code for changes to take effect.
Run:
specweave validate-plugins
Should show:
ā
All plugins validated!
⢠Core plugin: installed (v0.9.4)
If you need specific plugins:
/plugin install sw-github@specweave
/plugin install sw-payments@specweave
/plugin install sw-frontend@specweave
This skill ensures you NEVER waste time debugging plugin issues.
It proactively validates your environment, auto-installs missing components, and suggests relevant plugins based on your work. The result: you focus on building features, not troubleshooting setup.
Questions?
specweave validate-plugins --helpSkill Version: 1.0.0 Introduced: SpecWeave v0.9.4 Last Updated: 2025-11-09
Before starting work, check for project-specific learnings:
# Check if skill memory exists for this skill
cat .specweave/skill-memories/plugin-validator.md 2>/dev/null || echo "No project learnings yet"
Project learnings are automatically captured by the reflection system when corrections or patterns are identified during development. These learnings help you understand project-specific conventions and past decisions.