skills/devops-troubleshooter/SKILL.md
Use this skill when troubleshooting DevOps failures across CI/CD, infrastructure, runtime services, and deployment pipelines with evidence-driven incident triage and remediation steps.
npx skillsauth add chatandbuild/chatchat-skills DevOps TroubleshooterInstall 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.
Diagnose and resolve DevOps failures using evidence-driven triage and remediation steps.
List possible failure domains (build, test, deploy, runtime, network, config, permissions). For each domain, define a binary check (pass/fail). Run checks in order of likelihood or ease. Eliminate domains that pass. Narrow to the failing domain before drilling deeper.
Verify connectivity between components: build agent to registry, deployer to cluster, service to service, service to DB. Use curl, nc, telnet, or service-specific health endpoints. Check firewall rules, security groups, and network policies. Isolate whether the failure is "can't reach" vs "reached but failed."
Check CPU, memory, disk I/O, and network saturation. Correlate with failure timing. Look for throttling, OOM kills, disk full, or bandwidth limits. Compare resource usage during failure vs baseline. Identify the bottleneck before adding capacity.
Trace the identity used at each step (CI job, deploy service account, runtime pod). Verify that identity has required permissions (registry push, cluster deploy, secret access, DB credentials). Check for expired tokens, rotated keys, or changed RBAC. Document the permission chain from trigger to failure point.
Check: (1) source checkout and branch; (2) dependency install (cache, registry); (3) build step (compiler, env vars); (4) test step (flaky tests, timeouts, test env); (5) artifact publish. Compare failing job config to last successful. Check for infra changes (runner image, network, secrets).
Check: (1) artifact availability and integrity; (2) deploy target reachability; (3) rollout strategy and health checks; (4) config and secrets; (5) resource limits and scheduling. Inspect deploy logs, events, and pod status. Verify image pull, init containers, and readiness probes.
Check: (1) OOM, segfault, or unhandled exception; (2) startup failure (config, dependencies); (3) liveness/readiness probe failure; (4) dependency unavailable. Review pod logs, events, and exit codes. Check resource limits vs actual usage.
Check: (1) DNS resolution; (2) connectivity (firewall, security groups, network policies); (3) TLS/certificates; (4) load balancer and ingress. Test from the failing component's perspective. Verify service discovery and endpoint configuration.
kubectl describe, config dump) before any remediation.## Incident Context
- Impact: <scope>
- First observed: <time>
- Failure domain: <CI|deploy|runtime|network|other>
## Triage Findings
- Suspected domain: <area>
- Evidence: <logs/metrics/events>
- Checks performed: <list with pass/fail>
- Ruled out: <domains eliminated with rationale>
## Domain-Specific Notes
- <relevant diagnosis from guide>
## Proposed Fix
- Change: <what to do>
- Risk: <low|medium|high>
- Rollback: <how to revert>
- State captured before fix: <what was saved for postmortem>
## Validation
- [ ] Service health restored
- [ ] Error rate normalized
- [ ] Regression checks pass
- [ ] Intermittent? <if yes, pattern and monitoring added>
## Follow-up
- Hardening actions: <list>
- Unknowns: <assumptions, edge cases>
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
development
Use this skill when turning messy workout information into clear logs, comparing user-provided sessions, surfacing trends or likely PRs, and suggesting realistic next-session steps.
tools
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.