Validates SpecWeave plugin installation when EXPLICITLY requested by user. Ensures marketplace registered, core plugin installed, and context-specific plugins available. ONLY activates for explicit validation requests - does NOT auto-activate for workflow commands to avoid false positives. Activates ONLY for plugin validation, environment setup, validate plugins, check plugins, specweave init, fresh setup, marketplace registration.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
Purpose: 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 specweave-github
/plugin install specweave-payments
/plugin install specweave-frontend
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