.claude/skills/system-sync/SKILL.md
# /system-sync Skill Sync systems and architecture data with external sources (CMDB, Confluence, ServiceNow, Jira). ## When to Use This Skill Use `/system-sync` when you need to: - Sync system metadata from enterprise CMDB - Sync architecture documentation from Confluence - Sync ADRs from organization governance systems - Synchronize with multiple data sources - Create single source of truth for architecture data - Validate vault data against authoritative sources - Detect drift between local
npx skillsauth add DavidROliverBA/ArchitectKB .claude/skills/system-syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Sync systems and architecture data with external sources (CMDB, Confluence, ServiceNow, Jira).
Use /system-sync when you need to:
/system-sync <source> [filter] [options]
| Parameter | Description | Required |
|-----------|-------------|----------|
| source | Data source (cmdb, confluence, servicenow, jira, all) | Yes |
| filter | Filter by type, tag, or search term | Optional |
| --mode | Sync mode (fetch, validate, merge, publish) | Optional |
| --direction | Direction (pull, push, bidirectional) | Optional |
| --dry-run | Preview changes without applying | Optional |
Typical source: ServiceNow CMDB, BMC CMDB, or custom CMDB
What syncs:
Examples:
/system-sync cmdb --filter "type:Application" # Sync all applications
/system-sync cmdb --filter "environment:production" # Production systems only
/system-sync cmdb --dry-run # Preview changes
Typical source: YourOrg Enterprise Confluence (wiki documentation)
What syncs:
Examples:
/system-sync confluence --filter "space:ARCHITECTURE" # All architecture docs
/system-sync confluence --filter "label:adr" # All ADRs
/system-sync confluence --dry-run
Typical source: YourOrg Service Management (change, incident, CMDB)
What syncs:
Examples:
/system-sync servicenow --filter "service:DataPlatform" # DataPlatform service and dependents
/system-sync servicenow --mode validate # Check for conflicts
Typical source: YourOrg Engineering Jira (projects, issues, roadmaps)
What syncs:
Examples:
/system-sync jira --filter "project:MyDataIntegration" # MyDataIntegration project info
/system-sync jira --filter "type:ADR" # ADRs in Jira
/system-sync cmdb --mode fetch
What happens:
source: cmdb, lastSynced: <timestamp>Local fields preserved:
Remote fields updated:
/system-sync cmdb --mode validate
What happens:
Output example:
Validation Results: CMDB
────────────────────────────────
Total Systems: 25
✓ In Sync: 22
⚠ Out of Sync: 2
✗ Inconsistent: 1
Out of Sync:
- SAP S/4HANA
• Local: criticality=critical
• CMDB: criticality=high
• Action: Update local or CMDB
Inconsistent:
- DataPlatform
• Local: owner=John Smith
• CMDB: owner=Data Platform Team
• Action: Investigate
/system-sync cmdb --mode merge --dry-run
What happens:
Conflict resolution:
/system-sync confluence --mode publish
What happens:
publishedUrl fieldPublication options:
User specifies:
Source system
Sync filter
Sync mode
Dry-run?
The skill:
Connects to source
Queries records matching filter
For each record:
Creates sync report showing:
If dry-run:
If not dry-run:
Optionally:
/system-sync cmdb --filter "type:Application" --dry-run
Preview Output:
Sync Mode: Fetch (Pull from CMDB)
Filter: type="Application"
Dry-Run: Yes (preview only)
Proposed Changes:
────────────────
Create (New):
✓ ServiceNow (Service Management)
✓ Splunk (Log Management)
Update (Existing):
✓ SAP S/4HANA (update criticality: high → critical)
✓ DataPlatform (update owner, contacts)
✓ Snowflake (update deployment region)
Total: 5 records affected
User confirms → Changes applied:
source: cmdb, lastSynced: 2026-01-14T14:32:00Z/system-sync confluence --filter "label:architecture" --mode validate
Output:
Validation Mode: Confluence Architecture Documentation
Filter: label="architecture"
Results:
────────
✓ In Sync: 8 ADRs
⚠ Out of Sync: 2 pages
✗ Missing: 1 page not in local vault
Out of Sync Details:
- "ADR - API Gateway Selection"
• Confluence version: 5 (2026-01-10)
• Local version: 4 (2026-01-08)
• Recommendation: Fetch latest from Confluence
- "Architecture - Data Integration Platform"
• Confluence: Minor edits only
• Local: Significant additions (new scenarios)
• Recommendation: Publish local version to Confluence
Missing from Vault:
- "Page - Authorization Strategy Review"
• Last modified: 2025-12-15
• Status: Active
• Recommendation: Fetch into vault
/system-sync confluence --filter "type:Adr" --mode publish --direction push
Output:
Publication Mode: Local → Confluence
Filter: type="Adr"
Proposed Actions:
─────────────────
Create New Pages (Not Published):
✓ ADR - Snowflake as Analytics Warehouse
✓ ADR - Looker vs Tableau Selection
✓ ADR - Real-time Streaming Architecture
Update Existing Pages (Already Published):
✓ ADR - API Gateway Selection (version 5 → 6)
✓ ADR - SAP to AWS Connectivity (version 3 → 4)
Archive Deprecated (in Confluence, mark as deprecated):
✓ ADR - Tableau BI Platform (superseded by Looker)
Total: 10 pages affected
User confirms → Published to Confluence
/system-sync cmdb --mode merge
Intelligent merge:
Result:
Each sync generates a detailed report:
Sync Summary Report
═══════════════════════════════════════════════════════════
Source: CMDB (Configuration Management Database)
Mode: Fetch (Pull)
Filter: type="Application", environment="production"
Dry-Run: No (changes applied)
Timestamp: 2026-01-14T14:32:00Z
Records Processed: 25
Records Created: 3
Records Updated: 8
Records Unchanged: 14
Records with Errors: 0
─────────────────────────────────────────────────────────
Total Time: 3.2 seconds
Status: ✓ Success
New Records Created:
───────────────────
1. System - ServiceNow
• Name: ServiceNow Service Management
• Type: Platform
• Owner: IT Service Management
• Criticality: Medium
• Status: Active
2. System - Splunk
• Name: Splunk Log Management
• Type: Platform
• Owner: Operations & Engineering
• Criticality: High
• Status: Active
Records Updated:
────────────────
1. System - SAP S/4HANA
Changes:
• criticality: high → critical
• owner: "IT Applications" → "Finance IT"
• dataClassification: internal → confidential
2. System - DataPlatform
Changes:
• contacts (support): [John, Sarah] → [John, Sarah, Mike]
• status: active → active (no change)
Sync Errors (0):
────────────────
None
Unresolved Conflicts (0):
─────────────────────────
None
Warnings (1):
─────────────
1. System "Cloud Foundry" found in CMDB but no matching local note
Recommendation: Create new System note or add to exclusion filter
Records synced from external sources include:
# Sync Source Fields
source: cmdb | confluence | servicenow | jira
sourceId: "<unique-id-in-source>"
sourceUrl: "<url-to-source-record>"
sourceVersion: <version-number>
lastSynced: <ISO-timestamp>
syncMode: fetch | merge
# Authority
readOnly: false # Can local edits be synced back?
authoritative: <field-list> # Which fields come from source
/system-sync cmdb --fields "owner,criticality,contacts" --dry-run
Only sync specific fields, preserve local edits to other fields.
/system-sync cmdb --conflicts "ask|remote|local|newer|merge"
ask - Prompt user for each conflict (default)remote - Always take source valuelocal - Always keep local valuenewer - Take whichever was updated most recentlymerge - Intelligently merge (combine lists, keep both)/system-sync cmdb --schedule "daily at 02:00" --store
Configure recurring sync (stored in vault settings).
/system-sync cmdb --exclude "status:deprecated,tag:archived"
Skip records matching filter.
The /system-sync skill works with:
/system - Create/update System notes from synced data/integration - Update Integration notes with synced dependencies/diagram - Regenerate diagrams after sync/vault-maintenance - Detect orphaned notes after syncCommon sync errors and solutions:
| Error | Cause | Solution | |-------|-------|----------| | Authentication failed | Wrong credentials | Check API key/token in settings | | No matching records | Filter too restrictive | Broaden filter or check source data | | Cannot match records | Naming differs | Use source ID for matching, or manual map | | Field not found | Field doesn't exist in source | Update field mapping config | | Connection timeout | Network/firewall issue | Check network, retry, or use proxy |
After syncing, run these queries to verify:
// Find systems with mismatched owners
TABLE owner, cmdbOwner
FROM ""
WHERE type = "System" AND owner != cmdbOwner
// Find orphaned local systems (not in CMDB)
TABLE source, sourceId
FROM ""
WHERE type = "System" AND source != "cmdb"
After syncing:
/diagram --refresh)Sync sources configured in .claude/sync-config.yaml:
cmdb:
url: "https://cmdb.yourorg.internal/api"
auth: oauth2
updateFrequency: daily
confluence:
url: "https://confluence.yourorg.internal"
space: ARCHITECTURE
auth: oauth2
servicenow:
instance: "yourorg"
auth: oauth2
jira:
url: "https://jira.yourorg.internal"
projects: ["MyDataIntegration", "ModernizationProject", "DataPlatform"]
auth: oauth2
Invoke with: /system-sync <source>
Example: /system-sync cmdb --filter "environment:production" --dry-run → Preview sync of production systems
tools
--- context: fork --- # /youtube Save a YouTube video as both a Weblink (quick reference) and a detailed Page (full analysis). ## Usage ``` /youtube <url> /youtube <url> <optional title override> ``` ## Examples ``` /youtube https://www.youtube.com/watch?v=0TpON5T-Sw4 /youtube https://youtu.be/abc123 AWS re:Invent Keynote ``` ## Prerequisites This skill uses the MCP Docker YouTube tools: - `mcp__MCP_DOCKER__get_video_info` - Video metadata - `mcp__MCP_DOCKER__get_transcript` - Full trans
data-ai
Create and manage git worktrees for parallel agent sessions
testing
--- context: fork --- # /wipe Generate a context handoff summary, clear the session, and resume in a fresh conversation. Detects environment and provides automated (tmux) or manual workflow. ## Usage ``` /wipe /wipe quick # Minimal handoff, just essentials /wipe detailed # Comprehensive handoff with full context ``` ## Instructions When the user invokes `/wipe`: ### Phase 1: Detect Environment First, check the terminal environment: ```bash echo "Environment Detection:"
data-ai
--- context: fork --- # /weekly-summary Generate comprehensive weekly summary from daily notes, meetings, tasks, and project updates using parallel sub-agents. ## Usage ``` /weekly-summary /weekly-summary --last-week /weekly-summary --from 2026-01-01 --to 2026-01-07 /weekly-summary --output page # Create Page note instead of just outputting ``` ## Instructions This skill uses **5 parallel sub-agents** to gather data concurrently from different vault areas, then synthesizes a comprehensi