[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F75EP52YCZKK1PJRG45NSK":3,"skill-same:01M6F75EP52YCZKK1PJRG45NSK":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6F75EP52YCZKK1PJRG45NSK","guidewire-incident-runbook",null,"Incident response runbook for Guidewire InsuranceSuite production incidents.\nUse when responding to production issues, outages, or degraded performance.\nTrigger with phrases like \"guidewire incident\", \"production issue\",\n\"outage response\", \"incident runbook\", \"troubleshooting guidewire\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fguidewire-pack\u002Fskills\u002Fguidewire-incident-runbook\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"runbook","guidewire incident runbook","incident","edit","when","for","incidents","with","trigger","io","issue","use","performance","write","read","curl","grep","troubleshooting","Bash","Production","issues","incident response","2026-11-10 10:12:30",false,"---\nname: guidewire-incident-runbook\ndescription: |\n  Incident response runbook for Guidewire InsuranceSuite production incidents.\n  Use when responding to production issues, outages, or degraded performance.\n  Trigger with phrases like \"guidewire incident\", \"production issue\",\n  \"outage response\", \"incident runbook\", \"troubleshooting guidewire\".\nallowed-tools: Read, Write, Edit, Bash(curl:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Guidewire Incident Runbook\n\n## Overview\n\nProduction incident response procedures for Guidewire InsuranceSuite including triage, diagnosis, resolution, and post-incident review.\n\n## Incident Severity Levels\n\n| Severity | Definition | Response Time | Examples |\n|----------|------------|---------------|----------|\n| SEV-1 | Complete outage | 15 minutes | All users cannot access system |\n| SEV-2 | Major degradation | 30 minutes | Critical workflow blocked |\n| SEV-3 | Partial degradation | 2 hours | Non-critical feature unavailable |\n| SEV-4 | Minor issue | 24 hours | Cosmetic or low-impact issue |\n\n## Incident Response Flow\n\n```\n┌─────────────────────────────────────────────────────────────────────────────────┐\n│                          Incident Response Workflow                              │\n├─────────────────────────────────────────────────────────────────────────────────┤\n│                                                                                  │\n│  ┌───────────┐    ┌───────────┐    ┌───────────┐    ┌───────────┐              │\n│  │  DETECT   │───▶│  TRIAGE   │───▶│  RESPOND  │───▶│  RESOLVE  │              │\n│  │           │    │           │    │           │    │           │              │\n│  │ • Alert   │    │ • Severity│    │ • Diagnose│    │ • Fix     │              │\n│  │ • Monitor │    │ • Impact  │    │ • Mitigate│    │ • Verify  │              │\n│  │ • Report  │    │ • Assign  │    │ • Escalate│    │ • Document│              │\n│  └───────────┘    └───────────┘    └───────────┘    └───────────┘              │\n│        │                │                │                │                     │\n│        └────────────────┴────────────────┴────────────────┘                     │\n│                                    │                                            │\n│                         ┌──────────▼──────────┐                                 │\n│                         │    POST-INCIDENT    │                                 │\n│                         │                     │                                 │\n│                         │ • Review            │                                 │\n│                         │ • Root Cause        │                                 │\n│                         │ • Action Items      │                                 │\n│                         └─────────────────────┘                                 │\n│                                                                                  │\n└─────────────────────────────────────────────────────────────────────────────────┘\n```\n\n## Common Incident Scenarios\n\n### Scenario 1: API Unavailability\n\n**Symptoms:**\n- HTTP 503 responses\n- Connection timeouts\n- \"Service Unavailable\" errors\n\n**Diagnosis Steps:**\n\n```bash\n# 1. Check Guidewire Cloud Console health\ncurl -s https:\u002F\u002Fgcc.guidewire.com\u002Fapi\u002Fv1\u002Fstatus \\\n  -H \"Authorization: Bearer ${TOKEN}\" | jq\n\n# 2. Check application health endpoints\ncurl -s \"${POLICYCENTER_URL}\u002Fcommon\u002Fv1\u002Fsystem-info\" \\\n  -H \"Authorization: Bearer ${TOKEN}\"\n\n# 3. Review recent logs\n# In Guidewire Cloud Console: Observability > Logs\n# Query: level:ERROR AND timestamp:[now-15m TO now]\n\n# 4. Check for recent deployments\n# GCC: Deployments > Recent Activity\n```\n\n**Resolution Steps:**\n\n1. **If Guidewire infrastructure issue:**\n   - Check [Guidewire Status Page](https:\u002F\u002Fstatus.guidewire.com)\n   - Open support ticket with Guidewire\n   - Notify stakeholders of vendor issue\n\n2. **If integration\u002Fconfiguration issue:**\n   ```bash\n   # Check integration health\n   curl -s \"${API_URL}\u002Fhealth\" | jq\n\n   # Restart affected services (if self-managed components)\n   kubectl rollout restart deployment\u002Fintegration-service\n   ```\n\n3. **If capacity issue:**\n   - Scale up instances in GCC\n   - Review rate limiting settings\n   - Implement request throttling\n\n### Scenario 2: High Error Rate\n\n**Symptoms:**\n- Elevated 4xx\u002F5xx responses\n- Failed transactions\n- User-reported errors\n\n**Diagnosis Steps:**\n\n```typescript\n\u002F\u002F Error analysis script\nasync function analyzeErrors(timeRange: string = '1h'): Promise\u003CErrorAnalysis> {\n  const logs = await fetchLogs({\n    level: 'ERROR',\n    timeRange,\n    limit: 1000\n  });\n\n  \u002F\u002F Group by error type\n  const byType = logs.reduce((acc, log) => {\n    const key = log.context?.error_type || 'unknown';\n    acc[key] = (acc[key] || 0) + 1;\n    return acc;\n  }, {} as Record\u003Cstring, number>);\n\n  \u002F\u002F Group by endpoint\n  const byEndpoint = logs.reduce((acc, log) => {\n    const key = log.context?.endpoint || 'unknown';\n    acc[key] = (acc[key] || 0) + 1;\n    return acc;\n  }, {} as Record\u003Cstring, number>);\n\n  \u002F\u002F Find most common error\n  const topError = Object.entries(byType)\n    .sort((a, b) => b[1] - a[1])[0];\n\n  return {\n    totalErrors: logs.length,\n    errorsByType: byType,\n    errorsByEndpoint: byEndpoint,\n    topError: topError ? { type: topError[0], count: topError[1] } : null,\n    sampleErrors: logs.slice(0, 10)\n  };\n}\n```\n\n**Resolution Steps:**\n\n1. **Authentication errors (401):**\n   ```bash\n   # Verify OAuth configuration\n   curl -s \"${GW_HUB_URL}\u002Foauth\u002Ftoken\" \\\n     -d \"grant_type=client_credentials&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}\" \\\n     | jq\n\n   # Check if credentials were rotated\n   # Verify client ID\u002Fsecret in secret manager\n   ```\n\n2. **Validation errors (422):**\n   ```bash\n   # Review recent code changes\n   git log --oneline --since=\"2 hours ago\"\n\n   # Check if data schema changed\n   # Review API response details for specific fields\n   ```\n\n3. **Server errors (500):**\n   ```bash\n   # Check application logs for stack traces\n   # Review memory\u002FCPU utilization\n   # Check database connection pool\n   ```\n\n### Scenario 3: Performance Degradation\n\n**Symptoms:**\n- Slow page loads\n- High API latency\n- Timeout errors\n\n**Diagnosis Steps:**\n\n```gosu\n\u002F\u002F Performance diagnostic Gosu script\npackage gw.incident.diagnosis\n\nuses gw.api.database.Query\nuses gw.api.util.Logger\n\nclass PerformanceDiagnostics {\n  private static final var LOG = Logger.forCategory(\"PerformanceDiagnostics\")\n\n  static function runDiagnostics() : DiagnosticReport {\n    var report = new DiagnosticReport()\n\n    \u002F\u002F Check database connection pool\n    report.DatabasePoolStatus = checkDatabasePool()\n\n    \u002F\u002F Check slow queries\n    report.SlowQueries = findSlowQueries()\n\n    \u002F\u002F Check memory usage\n    report.MemoryStatus = checkMemory()\n\n    \u002F\u002F Check active sessions\n    report.ActiveSessions = countActiveSessions()\n\n    return report\n  }\n\n  private static function checkDatabasePool() : String {\n    var pool = gw.api.database.DatabaseConnectionPool.getInstance()\n    var available = pool.AvailableConnections\n    var total = pool.TotalConnections\n    var waiting = pool.WaitingThreads\n\n    if (waiting > 10) {\n      return \"CRITICAL: ${waiting} threads waiting for connections\"\n    } else if (available \u003C total * 0.1) {\n      return \"WARNING: Only ${available}\u002F${total} connections available\"\n    }\n    return \"OK: ${available}\u002F${total} connections available\"\n  }\n\n  private static function checkMemory() : String {\n    var runtime = Runtime.getRuntime()\n    var used = (runtime.totalMemory() - runtime.freeMemory()) \u002F 1024 \u002F 1024\n    var max = runtime.maxMemory() \u002F 1024 \u002F 1024\n    var usedPercent = (used * 100.0 \u002F max) as int\n\n    if (usedPercent > 90) {\n      return \"CRITICAL: ${usedPercent}% memory used (${used}MB\u002F${max}MB)\"\n    } else if (usedPercent > 80) {\n      return \"WARNING: ${usedPercent}% memory used (${used}MB\u002F${max}MB)\"\n    }\n    return \"OK: ${usedPercent}% memory used (${used}MB\u002F${max}MB)\"\n  }\n}\n```\n\n**Resolution Steps:**\n\n1. **Database bottleneck:**\n   ```sql\n   -- Find long-running queries\n   SELECT pid, now() - query_start AS duration, query\n   FROM pg_stat_activity\n   WHERE state = 'active'\n     AND now() - query_start > interval '30 seconds'\n   ORDER BY duration DESC;\n\n   -- Kill long-running query if necessary\n   SELECT pg_terminate_backend(pid);\n   ```\n\n2. **Memory pressure:**\n   ```bash\n   # Trigger garbage collection (if necessary)\n   # This is typically managed by JVM\n\n   # Consider scaling up instances\n   # In GCC: Infrastructure > Scaling > Adjust instance size\n   ```\n\n3. **Integration bottleneck:**\n   ```bash\n   # Check external service health\n   for endpoint in $INTEGRATION_ENDPOINTS; do\n     curl -s -w \"\\\\n%{time_total}s\" \"${endpoint}\u002Fhealth\"\n   done\n\n   # Enable circuit breaker if external service is slow\n   ```\n\n### Scenario 4: Data Integrity Issue\n\n**Symptoms:**\n- Incorrect calculations\n- Missing data\n- Data inconsistency between systems\n\n**Diagnosis Steps:**\n\n```gosu\n\u002F\u002F Data integrity check\npackage gw.incident.data\n\nuses gw.api.database.Query\nuses gw.api.util.Logger\n\nclass DataIntegrityChecker {\n  private static final var LOG = Logger.forCategory(\"DataIntegrity\")\n\n  static function checkPolicyIntegrity() : List\u003CString> {\n    var issues = new ArrayList\u003CString>()\n\n    \u002F\u002F Check for policies without accounts\n    var orphanPolicies = Query.make(Policy)\n      .compare(Policy#Account, Equals, null)\n      .select()\n      .Count\n\n    if (orphanPolicies > 0) {\n      issues.add(\"Found ${orphanPolicies} policies without accounts\")\n    }\n\n    \u002F\u002F Check for claims without policies\n    var orphanClaims = Query.make(Claim)\n      .compare(Claim#Policy, Equals, null)\n      .select()\n      .Count\n\n    if (orphanClaims > 0) {\n      issues.add(\"Found ${orphanClaims} claims without policies\")\n    }\n\n    \u002F\u002F Check for premium calculation mismatches\n    var premiumMismatches = Query.make(PolicyPeriod)\n      .select()\n      .where(\\pp -> pp.TotalPremiumRPT != pp.calculatePremium())\n      .Count\n\n    if (premiumMismatches > 0) {\n      issues.add(\"Found ${premiumMismatches} premium calculation mismatches\")\n    }\n\n    return issues\n  }\n}\n```\n\n**Resolution Steps:**\n\n1. **Immediate mitigation:**\n   - Disable affected functionality if critical\n   - Notify affected users\n   - Create support ticket\n\n2. **Data correction:**\n   ```gosu\n   \u002F\u002F Careful: Run in test environment first!\n   gw.transaction.Transaction.runWithNewBundle(\\bundle -> {\n     \u002F\u002F Fix specific data issue\n     var affectedRecords = Query.make(Entity)\n       .compare(Entity#Field, Equals, badValue)\n       .select()\n\n     affectedRecords.each(\\record -> {\n       var r = bundle.add(record)\n       r.Field = correctValue\n       LOG.info(\"Corrected record: ${r.PublicID}\")\n     })\n   })\n   ```\n\n## Incident Communication Templates\n\n### Initial Notification (SEV-1\u002FSEV-2)\n\n```\nINCIDENT: [Brief Description]\nSEVERITY: SEV-[1\u002F2]\nSTATUS: Investigating\n\nIMPACT:\n- [Describe user impact]\n- [Number of users\u002Fsystems affected]\n\nCURRENT STATUS:\n- Issue detected at [TIME]\n- Team is actively investigating\n- Next update in 30 minutes\n\nINCIDENT COMMANDER: [Name]\nCONTACT: [Slack channel \u002F Bridge call]\n```\n\n### Status Update\n\n```\nINCIDENT UPDATE: [Brief Description]\nSTATUS: [Investigating \u002F Mitigating \u002F Resolved]\n\nUPDATES SINCE LAST COMMUNICATION:\n- [Update 1]\n- [Update 2]\n\nCURRENT ACTIONS:\n- [Action being taken]\n\nNEXT STEPS:\n- [Planned action]\n- Next update: [TIME]\n```\n\n### Resolution Notification\n\n```\nINCIDENT RESOLVED: [Brief Description]\n\nDURATION: [Start time] - [End time] ([X] hours [Y] minutes)\n\nROOT CAUSE:\n[Brief description of root cause]\n\nRESOLUTION:\n[What was done to fix the issue]\n\nIMPACT SUMMARY:\n- [Number of affected users\u002Ftransactions]\n- [Business impact if known]\n\nFOLLOW-UP ACTIONS:\n- Post-incident review scheduled for [DATE]\n- [Any immediate follow-up items]\n```\n\n## Post-Incident Review Template\n\n```markdown\n# Post-Incident Review: [Incident Title]\n\n## Incident Summary\n- **Date:** [Date]\n- **Duration:** [Start] - [End]\n- **Severity:** SEV-[X]\n- **Incident Commander:** [Name]\n\n## Timeline\n| Time | Event |\n|------|-------|\n| HH:MM | [Event description] |\n| HH:MM | [Event description] |\n\n## Root Cause\n[Detailed description of the root cause]\n\n## Impact\n- **Users Affected:** [Number]\n- **Transactions Affected:** [Number]\n- **Revenue Impact:** [If applicable]\n\n## What Went Well\n- [Positive aspect 1]\n- [Positive aspect 2]\n\n## What Could Be Improved\n- [Improvement area 1]\n- [Improvement area 2]\n\n## Action Items\n| Action | Owner | Due Date |\n|--------|-------|----------|\n| [Action description] | [Name] | [Date] |\n\n## Lessons Learned\n[Key takeaways for the team]\n```\n\n## Emergency Contacts\n\n| Role | Name | Contact |\n|------|------|---------|\n| Primary On-Call | [Rotation] | PagerDuty |\n| Secondary On-Call | [Rotation] | PagerDuty |\n| Engineering Manager | [Name] | [Phone] |\n| Guidewire Support | - | support.guidewire.com |\n| Security Incident | Security Team | security@company.com |\n\n## Output\n\n- Incident detection and triage procedures\n- Common scenario resolution steps\n- Communication templates\n- Post-incident review process\n\n## Resources\n\n- [Guidewire Support Portal](https:\u002F\u002Fsupport.guidewire.com)\n- [Guidewire Status Page](https:\u002F\u002Fstatus.guidewire.com)\n- [Guidewire Cloud Console](https:\u002F\u002Fgcc.guidewire.com)\n\n## Next Steps\n\nFor data handling procedures, see `guidewire-data-handling`.\n","# Guidewire Incident Runbook\n\n## Overview\n\nProduction incident response procedures for Guidewire InsuranceSuite including triage, diagnosis, resolution, and post-incident review.\n\n## Incident Severity Levels\n\n| Severity | Definition | Response Time | Examples |\n|----------|------------|---------------|----------|\n| SEV-1 | Complete outage | 15 minutes | All users cannot access system |\n| SEV-2 | Major degradation | 30 minutes | Critical workflow blocked |\n| SEV-3 | Partial degradation | 2 hours | Non-critical feature unavailable |\n| SEV-4 | Minor issue | 24 hours | Cosmetic or low-impact issue |\n\n## Incident Response Flow\n\n```\n┌─────────────────────────────────────────────────────────────────────────────────┐\n│                          Incident Response Workflow                              │\n├─────────────────────────────────────────────────────────────────────────────────┤\n│                                                                                  │\n│  ┌───────────┐    ┌───────────┐    ┌───────────┐    ┌───────────┐              │\n│  │  DETECT   │───▶│  TRIAGE   │───▶│  RESPOND  │───▶│  RESOLVE  │              │\n│  │           │    │           │    │           │    │           │              │\n│  │ • Alert   │    │ • Severity│    │ • Diagnose│    │ • Fix     │              │\n│  │ • Monitor │    │ • Impact  │    │ • Mitigate│    │ • Verify  │              │\n│  │ • Report  │    │ • Assign  │    │ • Escalate│    │ • Document│              │\n│  └───────────┘    └───────────┘    └───────────┘    └───────────┘              │\n│        │                │                │                │                     │\n│        └────────────────┴────────────────┴────────────────┘                     │\n│                                    │                                            │\n│                         ┌──────────▼──────────┐                                 │\n│                         │    POST-INCIDENT    │                                 │\n│                         │                     │                                 │\n│                         │ • Review            │                                 │\n│                         │ • Root Cause        │                                 │\n│                         │ • Action Items      │                                 │\n│                         └─────────────────────┘                                 │\n│                                                                                  │\n└─────────────────────────────────────────────────────────────────────────────────┘\n```\n\n## Common Incident Scenarios\n\n### Scenario 1: API Unavailability\n\n**Symptoms:**\n- HTTP 503 responses\n- Connection timeouts\n- \"Service Unavailable\" errors\n\n**Diagnosis Steps:**\n\n```bash\n# 1. Check Guidewire Cloud Console health\ncurl -s https:\u002F\u002Fgcc.guidewire.com\u002Fapi\u002Fv1\u002Fstatus \\\n  -H \"Authorization: Bearer ${TOKEN}\" | jq\n\n# 2. Check application health endpoints\ncurl -s \"${POLICYCENTER_URL}\u002Fcommon\u002Fv1\u002Fsystem-info\" \\\n  -H \"Authorization: Bearer ${TOKEN}\"\n\n# 3. Review recent logs\n# In Guidewire Cloud Console: Observability > Logs\n# Query: level:ERROR AND timestamp:[now-15m TO now]\n\n# 4. Check for recent deployments\n# GCC: Deployments > Recent Activity\n```\n\n**Resolution Steps:**\n\n1. **If Guidewire infrastructure issue:**\n   - Check [Guidewire Status Page](https:\u002F\u002Fstatus.guidewire.com)\n   - Open support ticket with Guidewire\n   - Notify stakeholders of vendor issue\n\n2. **If integration\u002Fconfiguration issue:**\n   ```bash\n   # Check integration health\n   curl -s \"${API_URL}\u002Fhealth\" | jq\n\n   # Restart affected services (if self-managed components)\n   kubectl rollout restart deployment\u002Fintegration-service\n   ```\n\n3. **If capacity issue:**\n   - Scale up instances in GCC\n   - Review rate limiting settings\n   - Implement request throttling\n\n### Scenario 2: High Error Rate\n\n**Symptoms:**\n- Elevated 4xx\u002F5xx responses\n- Failed transactions\n- User-reported errors\n\n**Diagnosis Steps:**\n\n```typescript\n\u002F\u002F Error analysis script\nasync function analyzeErrors(timeRange: string = '1h'): Promise\u003CErrorAnalysis> {\n  const logs = await fetchLogs({\n    level: 'ERROR',\n    timeRange,\n    limit: 1000\n  });\n\n  \u002F\u002F Group by error type\n  const byType = logs.reduce((acc, log) => {\n    const key = log.context?.error_type || 'unknown';\n    acc[key] = (acc[key] || 0) + 1;\n    return acc;\n  }, {} as Record\u003Cstring, number>);\n\n  \u002F\u002F Group by endpoint\n  const byEndpoint = logs.reduce((acc, log) => {\n    const key = log.context?.endpoint || 'unknown';\n    acc[key] = (acc[key] || 0) + 1;\n    return acc;\n  }, {} as Record\u003Cstring, number>);\n\n  \u002F\u002F Find most common error\n  const topError = Object.entries(byType)\n    .sort((a, b) => b[1] - a[1])[0];\n\n  return {\n    totalErrors: logs.length,\n    errorsByType: byType,\n    errorsByEndpoint: byEndpoint,\n    topError: topError ? { type: topError[0], count: topError[1] } : null,\n    sampleErrors: logs.slice(0, 10)\n  };\n}\n```\n\n**Resolution Steps:**\n\n1. **Authentication errors (401):**\n   ```bash\n   # Verify OAuth configuration\n   curl -s \"${GW_HUB_URL}\u002Foauth\u002Ftoken\" \\\n     -d \"grant_type=client_credentials&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}\" \\\n     | jq\n\n   # Check if credentials were rotated\n   # Verify client ID\u002Fsecret in secret manager\n   ```\n\n2. **Validation errors (422):**\n   ```bash\n   # Review recent code changes\n   git log --oneline --since=\"2 hours ago\"\n\n   # Check if data schema changed\n   # Review API response details for specific fields\n   ```\n\n3. **Server errors (500):**\n   ```bash\n   # Check application logs for stack traces\n   # Review memory\u002FCPU utilization\n   # Check database connection pool\n   ```\n\n### Scenario 3: Performance Degradation\n\n**Symptoms:**\n- Slow page loads\n- High API latency\n- Timeout errors\n\n**Diagnosis Steps:**\n\n```gosu\n\u002F\u002F Performance diagnostic Gosu script\npackage gw.incident.diagnosis\n\nuses gw.api.database.Query\nuses gw.api.util.Logger\n\nclass PerformanceDiagnostics {\n  private static final var LOG = Logger.forCategory(\"PerformanceDiagnostics\")\n\n  static function runDiagnostics() : DiagnosticReport {\n    var report = new DiagnosticReport()\n\n    \u002F\u002F Check database connection pool\n    report.DatabasePoolStatus = checkDatabasePool()\n\n    \u002F\u002F Check slow queries\n    report.SlowQueries = findSlowQueries()\n\n    \u002F\u002F Check memory usage\n    report.MemoryStatus = checkMemory()\n\n    \u002F\u002F Check active sessions\n    report.ActiveSessions = countActiveSessions()\n\n    return report\n  }\n\n  private static function checkDatabasePool() : String {\n    var pool = gw.api.database.DatabaseConnectionPool.getInstance()\n    var available = pool.AvailableConnections\n    var total = pool.TotalConnections\n    var waiting = pool.WaitingThreads\n\n    if (waiting > 10) {\n      return \"CRITICAL: ${waiting} threads waiting for connections\"\n    } else if (available \u003C total * 0.1) {\n      return \"WARNING: Only ${available}\u002F${total} connections available\"\n    }\n    return \"OK: ${available}\u002F${total} connections available\"\n  }\n\n  private static function checkMemory() : String {\n    var runtime = Runtime.getRuntime()\n    var used = (runtime.totalMemory() - runtime.freeMemory()) \u002F 1024 \u002F 1024\n    var max = runtime.maxMemory() \u002F 1024 \u002F 1024\n    var usedPercent = (used * 100.0 \u002F max) as int\n\n    if (usedPercent > 90) {\n      return \"CRITICAL: ${usedPercent}% memory used (${used}MB\u002F${max}MB)\"\n    } else if (usedPercent > 80) {\n      return \"WARNING: ${usedPercent}% memory used (${used}MB\u002F${max}MB)\"\n    }\n    return \"OK: ${usedPercent}% memory used (${used}MB\u002F${max}MB)\"\n  }\n}\n```\n\n**Resolution Steps:**\n\n1. **Database bottleneck:**\n   ```sql\n   -- Find long-running queries\n   SELECT pid, now() - query_start AS duration, query\n   FROM pg_stat_activity\n   WHERE state = 'active'\n     AND now() - query_start > interval '30 seconds'\n   ORDER BY duration DESC;\n\n   -- Kill long-running query if necessary\n   SELECT pg_terminate_backend(pid);\n   ```\n\n2. **Memory pressure:**\n   ```bash\n   # Trigger garbage collection (if necessary)\n   # This is typically managed by JVM\n\n   # Consider scaling up instances\n   # In GCC: Infrastructure > Scaling > Adjust instance size\n   ```\n\n3. **Integration bottleneck:**\n   ```bash\n   # Check external service health\n   for endpoint in $INTEGRATION_ENDPOINTS; do\n     curl -s -w \"\\\\n%{time_total}s\" \"${endpoint}\u002Fhealth\"\n   done\n\n   # Enable circuit breaker if external service is slow\n   ```\n\n### Scenario 4: Data Integrity Issue\n\n**Symptoms:**\n- Incorrect calculations\n- Missing data\n- Data inconsistency between systems\n\n**Diagnosis Steps:**\n\n```gosu\n\u002F\u002F Data integrity check\npackage gw.incident.data\n\nuses gw.api.database.Query\nuses gw.api.util.Logger\n\nclass DataIntegrityChecker {\n  private static final var LOG = Logger.forCategory(\"DataIntegrity\")\n\n  static function checkPolicyIntegrity() : List\u003CString> {\n    var issues = new ArrayList\u003CString>()\n\n    \u002F\u002F Check for policies without accounts\n    var orphanPolicies = Query.make(Policy)\n      .compare(Policy#Account, Equals, null)\n      .select()\n      .Count\n\n    if (orphanPolicies > 0) {\n      issues.add(\"Found ${orphanPolicies} policies without accounts\")\n    }\n\n    \u002F\u002F Check for claims without policies\n    var orphanClaims = Query.make(Claim)\n      .compare(Claim#Policy, Equals, null)\n      .select()\n      .Count\n\n    if (orphanClaims > 0) {\n      issues.add(\"Found ${orphanClaims} claims without policies\")\n    }\n\n    \u002F\u002F Check for premium calculation mismatches\n    var premiumMismatches = Query.make(PolicyPeriod)\n      .select()\n      .where(\\pp -> pp.TotalPremiumRPT != pp.calculatePremium())\n      .Count\n\n    if (premiumMismatches > 0) {\n      issues.add(\"Found ${premiumMismatches} premium calculation mismatches\")\n    }\n\n    return issues\n  }\n}\n```\n\n**Resolution Steps:**\n\n1. **Immediate mitigation:**\n   - Disable affected functionality if critical\n   - Notify affected users\n   - Create support ticket\n\n2. **Data correction:**\n   ```gosu\n   \u002F\u002F Careful: Run in test environment first!\n   gw.transaction.Transaction.runWithNewBundle(\\bundle -> {\n     \u002F\u002F Fix specific data issue\n     var affectedRecords = Query.make(Entity)\n       .compare(Entity#Field, Equals, badValue)\n       .select()\n\n     affectedRecords.each(\\record -> {\n       var r = bundle.add(record)\n       r.Field = correctValue\n       LOG.info(\"Corrected record: ${r.PublicID}\")\n     })\n   })\n   ```\n\n## Incident Communication Templates\n\n### Initial Notification (SEV-1\u002FSEV-2)\n\n```\nINCIDENT: [Brief Description]\nSEVERITY: SEV-[1\u002F2]\nSTATUS: Investigating\n\nIMPACT:\n- [Describe user impact]\n- [Number of users\u002Fsystems affected]\n\nCURRENT STATUS:\n- Issue detected at [TIME]\n- Team is actively investigating\n- Next update in 30 minutes\n\nINCIDENT COMMANDER: [Name]\nCONTACT: [Slack channel \u002F Bridge call]\n```\n\n### Status Update\n\n```\nINCIDENT UPDATE: [Brief Description]\nSTATUS: [Investigating \u002F Mitigating \u002F Resolved]\n\nUPDATES SINCE LAST COMMUNICATION:\n- [Update 1]\n- [Update 2]\n\nCURRENT ACTIONS:\n- [Action being taken]\n\nNEXT STEPS:\n- [Planned action]\n- Next update: [TIME]\n```\n\n### Resolution Notification\n\n```\nINCIDENT RESOLVED: [Brief Description]\n\nDURATION: [Start time] - [End time] ([X] hours [Y] minutes)\n\nROOT CAUSE:\n[Brief description of root cause]\n\nRESOLUTION:\n[What was done to fix the issue]\n\nIMPACT SUMMARY:\n- [Number of affected users\u002Ftransactions]\n- [Business impact if known]\n\nFOLLOW-UP ACTIONS:\n- Post-incident review scheduled for [DATE]\n- [Any immediate follow-up items]\n```\n\n## Post-Incident Review Template\n\n```markdown\n# Post-Incident Review: [Incident Title]\n\n## Incident Summary\n- **Date:** [Date]\n- **Duration:** [Start] - [End]\n- **Severity:** SEV-[X]\n- **Incident Commander:** [Name]\n\n## Timeline\n| Time | Event |\n|------|-------|\n| HH:MM | [Event description] |\n| HH:MM | [Event description] |\n\n## Root Cause\n[Detailed description of the root cause]\n\n## Impact\n- **Users Affected:** [Number]\n- **Transactions Affected:** [Number]\n- **Revenue Impact:** [If applicable]\n\n## What Went Well\n- [Positive aspect 1]\n- [Positive aspect 2]\n\n## What Could Be Improved\n- [Improvement area 1]\n- [Improvement area 2]\n\n## Action Items\n| Action | Owner | Due Date |\n|--------|-------|----------|\n| [Action description] | [Name] | [Date] |\n\n## Lessons Learned\n[Key takeaways for the team]\n```\n\n## Emergency Contacts\n\n| Role | Name | Contact |\n|------|------|---------|\n| Primary On-Call | [Rotation] | PagerDuty |\n| Secondary On-Call | [Rotation] | PagerDuty |\n| Engineering Manager | [Name] | [Phone] |\n| Guidewire Support | - | support.guidewire.com |\n| Security Incident | Security Team | security@company.com |\n\n## Output\n\n- Incident detection and triage procedures\n- Common scenario resolution steps\n- Communication templates\n- Post-incident review process\n\n## Resources\n\n- [Guidewire Support Portal](https:\u002F\u002Fsupport.guidewire.com)\n- [Guidewire Status Page](https:\u002F\u002Fstatus.guidewire.com)\n- [Guidewire Cloud Console](https:\u002F\u002Fgcc.guidewire.com)\n\n## Next Steps\n\nFor data handling procedures, see `guidewire-data-handling`.\n",{"name":5,"author":46,"license":15,"version":47,"description":48,"allowed-tools":49},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Incident response runbook for Guidewire InsuranceSuite production incidents.\nUse when responding to production issues, outages, or degraded performance.\nTrigger with phrases like \"guidewire incident\", \"production issue\",\n\"outage response\", \"incident runbook\", \"troubleshooting guidewire\".\n","Read, Write, Edit, Bash(curl:*), Grep","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fguidewire-pack\u002Fskills\u002Fguidewire-incident-runbook",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill guidewire-incident-runbook",{"tool":65,"command":66},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill guidewire-incident-runbook",{"tool":68,"command":69},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill guidewire-incident-runbook","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fguidewire-pack\u002Fskills\u002Fguidewire-incident-runbook\u002FSKILL.md",true,[],[74,107,141,164,190,217],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":87,"publishedAt":106},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[82],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,26,104,105],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","you","fonts","2026-11-11 15:11:14",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":117,"publishedAt":41},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[114],{"categoryNo":115,"categoryName":116,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000009","前端开发",[118,119,94,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,30,99,135,136,137,138,24,139,140],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","single-file","simple","ui components","multi","jsx","suite",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":145,"sourceHtmlUrl":146,"categories":147,"keywords":152,"publishedAt":41},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[148,151],{"categoryNo":149,"categoryName":150,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":115,"categoryName":116,"taxonomyType":85,"taxonomyTypeDesc":86},[153,154,155,122,156,157,119,158,92,159,132,160,161,162,163,26,24],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":168,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":41},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[172,173,174,175,176,177,178,179,30,180,181,182,183,184,185,186,26,187,188,189,24,23],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":78,"licenseFileUrl":194,"sourceHtmlUrl":195,"categories":196,"keywords":200,"publishedAt":41},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[197],{"categoryNo":198,"categoryName":199,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000023","Skill与智能体开发",[201,202,203,204,205,206,207,208,209,210,211,212,213,214,26,24,215,23,216],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":218,"name":219,"nameZh":6,"description":220,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":221,"sourceHtmlUrl":222,"categories":223,"keywords":225,"publishedAt":41},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[224],{"categoryNo":198,"categoryName":199,"taxonomyType":85,"taxonomyTypeDesc":86},[219,226,227,228,229,230,231,159,232,233,30,234,235,236,237,24,238],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]