Bidirectional synchronization between SpecWeave increments and Azure DevOps work items (two-way sync by default). Activates ONLY when user asks questions about Azure DevOps integration or needs help configuring ADO sync. Does NOT activate for slash commands. For syncing, use /sw-ado:sync command instead.
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
README.mdPurpose: Seamlessly sync SpecWeave increments with Azure DevOps work items for unified project tracking.
Default Behavior: Bidirectional (two-way) sync - Changes in either system are automatically synchronized
⚠️ IMPORTANT: This skill provides HELP and GUIDANCE about Azure DevOps sync. For actual syncing, users should use the /sw-ado:sync command directly. This skill should NOT auto-activate when the command is being invoked.
Capabilities:
✅ Do activate when:
❌ Do NOT activate when:
/sw-ado:sync command (command handles it)# Check if installed
/plugin list --installed | grep specweave-ado
# Install if needed
/plugin install specweave-ado
Create PAT:
Set Token:
export AZURE_DEVOPS_PAT="your-token-here"
Add to .specweave/config.json:
{
"externalPM": {
"tool": "ado",
"enabled": true,
"config": {
"organization": "myorg",
"project": "MyProject",
"workItemType": "Epic",
"areaPath": "MyProject\\Team A",
"syncOnTaskComplete": true
}
}
}
/sw-ado:create-workitem <increment-id>Purpose: Create ADO work item from increment
Example:
/sw-ado:create-workitem 0005
Result:
specweave, increment-0005/sw-ado:sync <increment-id>Purpose: Sync increment progress with ADO work item
Example:
/sw-ado:sync 0005
Result:
/sw-ado:close-workitem <increment-id>Purpose: Close ADO work item when increment complete
Example:
/sw-ado:close-workitem 0005
Result:
/sw-ado:status <increment-id>Purpose: Check ADO sync status for increment
Example:
/sw-ado:status 0005
Result:
ADO Sync Status
===============
Increment: 0005-payment-integration
Work Item: #12345
URL: https://dev.azure.com/myorg/MyProject/_workitems/edit/12345
State: Active
Completion: 60% (6/10 tasks)
Last Synced: 2025-11-04 10:30:00
Sync Enabled: ✅
Trigger: Post-task-completion hook fires
Flow:
[x] T-005: Add payment tests## Progress Update
**Increment**: 0005-payment-integration
**Status**: 60% complete (6/10 tasks)
### Recently Completed
- [x] T-005: Add payment tests
### Remaining
- [ ] T-007: Add refund functionality
- [ ] T-008: Implement subscriptions
- [ ] T-009: Add analytics
- [ ] T-010: Security audit
---
🤖 Auto-updated by SpecWeave
Trigger: /sw:done command
Flow:
/sw:done 0005Use When: Large feature spanning multiple sprints
Mapping:
Use When: Medium-sized feature within a sprint
Mapping:
Use When: Small, single-sprint work
Mapping:
Enable: Set bidirectional: true in config
Flow: ADO → SpecWeave
Note: Bidirectional sync requires webhook or polling setup
.specweave/config.json:
{
"externalPM": {
"tool": "ado",
"enabled": true,
"config": {
"organization": "myorg",
"project": "MyProject",
"personalAccessToken": "${AZURE_DEVOPS_PAT}",
"workItemType": "Epic",
"areaPath": "MyProject\\Team A",
"iterationPath": "MyProject\\Sprint 1",
"syncOnTaskComplete": true,
"syncOnIncrementComplete": true,
"createWorkItemsAutomatically": true,
"bidirectional": false,
"tags": ["specweave", "increment"],
"customFields": {
"incrementId": "Custom.IncrementId"
}
}
}
}
Solution:
echo $AZURE_DEVOPS_PATSolution:
Solution:
Azure DevOps:
Config:
{
"externalPM": {
"config": {
"rateLimiting": {
"enabled": true,
"maxRequestsPerMinute": 150
}
}
}
}
AZURE_DEVOPS_PAT).env file (gitignored)/sw:inc - Create increment (auto-creates ADO work item if enabled)/sw:do - Execute tasks (auto-syncs progress to ADO)/sw:done - Complete increment (auto-closes ADO work item)/sw:status - Show increment status (includes ADO sync status)# User
"Create increment for payment integration"
# SpecWeave (if ADO enabled)
1. PM agent generates spec.md
2. Auto-create ADO Epic #12345
3. Link Epic to increment metadata
4. Display: "Created increment 0005 → ADO Epic #12345"
# User completed 3 tasks manually
# Now sync to ADO
/sw-ado:sync 0005
# Result: ADO Epic #12345 updated with 30% progress
/sw-ado:status 0005
# Output:
# Work Item: #12345
# URL: https://dev.azure.com/myorg/MyProject/_workitems/edit/12345
# State: Active
# Completion: 60%
# Last Synced: 5 minutes ago
Status: Ready to use Version: 0.1.0 Plugin: specweave-ado