Infrastructure Thinking
Use this skill when the user needs higher-quality reasoning around infrastructure work: incident triage, root-cause analysis, migration choices, risk trade-offs, or when requirements are vague and the next step is unclear.
This skill is about thinking quality and decision hygiene. Pair it with domain skills (infra-kit.domain.k8s-doctor, infra-kit.domain.iac, infra-kit.domain.helm, infra-kit.domain.github, infra-kit.workflow.audit) once the problem is framed and the next tests/actions are explicit.
Output Rules
- When producing an incident workspace, decision record, or structured analysis, write it to Markdown file(s) in the repo (not only chat output).
- If the content is large, split it into multiple Markdown files and keep each file narrow.
- Prefer a stable location such as
docs/infra-thinking/<topic>/.
Outcomes
- Turn a vague infra problem into a crisp problem statement and a short list of testable hypotheses
- Separate facts, assumptions, and unknowns so investigation stays evidence-driven
- Choose actions using reversibility and risk (safe-to-try first, high-blast-radius last)
- Produce decisions that are explainable: constraints, alternatives, trade-offs, and why now
Where This Fits In The Flow
- Use at the start when requirements are vague, signals conflict, or you need hypotheses and tests.
- Use to turn the ticket into crisp inputs for
infra-kit.workflow spec.md / plan.md.
Workflow
- Establish the context and goal.
- Write a one-paragraph problem statement:
- symptom
- impact (users/SLO)
- time window
- scope boundary (what is explicitly out of scope)
- Build an evidence table:
- Facts: confirmed from logs/metrics/code/commands
- Assumptions: believed true but not verified
- Unknowns: blocking questions
- Generate 3-7 hypotheses. Each hypothesis must have a proposed test and expected observation.
- Prioritize tests by:
- fastest-to-disprove first
- biggest blast-radius reduction first
- highest expected information gain first
- Run a bias and failure-mode check before committing to a path:
- confirmation bias: what evidence would change my mind
- anchoring: what else could explain this
- availability: am I over-weighting the last incident
- pre-mortem: if this plan fails, why
- Decide using reversibility:
- reversible step: do now, learn, iterate
- irreversible step: require stronger evidence, rollback plan, and explicit approval
- Communicate as BLUF:
- Bottom line
- key evidence
- next 1-3 actions
- risks and rollback
Hallucination Guardrails
- Do not claim a cause without evidence. If the cause is not proven, present competing hypotheses and what would falsify each.
- When referencing defaults or behavior of cloud/Kubernetes/tooling, require version context or cite an authoritative source.
- Always label assumptions as assumptions.
Templates
Incident Triage
- Problem:
- Impact: <users/SLO/cost>
- Timeline:
- Facts:
- Hypotheses + tests:
- Next actions (safe-to-try first):
- If wrong, rollback:
Decision Record (lightweight)
- Decision:
- Why now:
- Options considered:
- Constraints:
- Trade-offs:
- Risks + mitigations:
- Reversibility + rollback:
References
1---2name: infra-kit-workflow-thinking3description: Apply structured thinking, bias checks, and decision frameworks to infrastructure troubleshooting, change planning, and architecture trade-offs.4---56# Infrastructure Thinking78Use this skill when the user needs higher-quality reasoning around infrastructure work: incident triage, root-cause analysis, migration choices, risk trade-offs, or when requirements are vague and the next step is unclear.910This skill is about thinking quality and decision hygiene. Pair it with domain skills (`infra-kit.domain.k8s-doctor`, `infra-kit.domain.iac`, `infra-kit.domain.helm`, `infra-kit.domain.github`, `infra-kit.workflow.audit`) once the problem is framed and the next tests/actions are explicit.1112## Output Rules1314- When producing an incident workspace, decision record, or structured analysis, write it to Markdown file(s) in the repo (not only chat output).15- If the content is large, split it into multiple Markdown files and keep each file narrow.16- Prefer a stable location such as `docs/infra-thinking/<topic>/`.1718## Outcomes1920- Turn a vague infra problem into a crisp problem statement and a short list of testable hypotheses21- Separate facts, assumptions, and unknowns so investigation stays evidence-driven22- Choose actions using reversibility and risk (safe-to-try first, high-blast-radius last)23- Produce decisions that are explainable: constraints, alternatives, trade-offs, and why now2425## Where This Fits In The Flow2627- Use at the start when requirements are vague, signals conflict, or you need hypotheses and tests.28- Use to turn the ticket into crisp inputs for `infra-kit.workflow` `spec.md` / `plan.md`.2930## Workflow31321. Establish the context and goal.332. Write a one-paragraph problem statement:34 - symptom35 - impact (users/SLO)36 - time window37 - scope boundary (what is explicitly out of scope)383. Build an evidence table:39 - Facts: confirmed from logs/metrics/code/commands40 - Assumptions: believed true but not verified41 - Unknowns: blocking questions424. Generate 3-7 hypotheses. Each hypothesis must have a proposed test and expected observation.435. Prioritize tests by:44 - fastest-to-disprove first45 - biggest blast-radius reduction first46 - highest expected information gain first476. Run a bias and failure-mode check before committing to a path:48 - confirmation bias: what evidence would change my mind49 - anchoring: what else could explain this50 - availability: am I over-weighting the last incident51 - pre-mortem: if this plan fails, why527. Decide using reversibility:53 - reversible step: do now, learn, iterate54 - irreversible step: require stronger evidence, rollback plan, and explicit approval558. Communicate as BLUF:56 - Bottom line57 - key evidence58 - next 1-3 actions59 - risks and rollback6061## Hallucination Guardrails6263- Do not claim a cause without evidence. If the cause is not proven, present competing hypotheses and what would falsify each.64- When referencing defaults or behavior of cloud/Kubernetes/tooling, require version context or cite an authoritative source.65- Always label assumptions as assumptions.6667## Templates6869### Incident Triage7071- Problem: <one paragraph>72- Impact: <users/SLO/cost>73- Timeline: <what changed when>74- Facts:75- Hypotheses + tests:76- Next actions (safe-to-try first):77- If wrong, rollback:7879### Decision Record (lightweight)8081- Decision: <what we are choosing>82- Why now:83- Options considered:84- Constraints:85- Trade-offs:86- Risks + mitigations:87- Reversibility + rollback:8889## References