writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
incident-response-and-change-managementManage production incidents, emergency changes, rollout freezes, recovery decisions, incident timelines, blameless postmortems, and corrective-action closure. Use when a service is degraded, a deployment or infrastructure change fails, an urgent change is requested, or an operational incident needs coordination.
Independent GitHub snapshot · Automated classification · Original documentation governs
Treat customer impact, data loss, security exposure, and uncontrolled blast radius as incidents. Stabilize first; diagnose second; improve last. Never use an incident as authority to bypass access controls, erase evidence, or make an unreviewed destructive change.
Reference basis: Google SRE error-budget policy for balancing reliability work, release decisions, and post-incident follow-up.
| Class | Use | Minimum gate |
|---|---|---|
| Standard | Repeated, low-risk, documented action | Approved runbook and preflight evidence |
| Normal | Planned state or behavior change | PR/review, rollback, maintenance window where needed |
| Emergency | Active incident containment or recovery | Incident commander approval, recorded rationale, retrospective review |
Emergency does not mean unlogged. It means the approval is time-bound and recorded in the incident timeline.
Publish a factual, blameless postmortem for material incidents. Include impact, detection, timeline, contributing system conditions, what worked, what did not, and concrete actions. Actions need an owner, priority, due date, acceptance test, and link to the implementation PR or runbook. Do not close an action because a document was written; close it when the preventive control is verified.
Route configuration, Terraform, CI/CD, Vault, DNS, and backup changes to their owning standards. Use error-budget consumption and repeated incident class to decide whether to freeze releases or prioritize reliability work.
Every material release or operational fault MUST close through one traceable loop:
impact -> containment -> evidence -> bounded change -> review/approval
-> CI/preflight -> deployment -> boundary verification
-> monitoring window -> postmortem action closure
The incident record must preserve the triggering release/tag, source SHA, environment route, workflow/PR links, Vault role/path used, test and health evidence, rollback point, and the owner plus expiry of any cleanup decision. Do not declare recovery from a green process or downstream UI alone; verify the user-facing boundary and each relevant dependency boundary. If the corrective change is made during an incident, represent it in the owning repository through the normal PR/release path or record an explicit revert plan and follow-up owner.
An action is closed only when its preventive control has passed its acceptance test and the evidence is linked back to the incident. A document, a successful workflow dispatch, or an unchanged dashboard is not closure evidence by itself.
Treat release-reference and branch cleanup as a normal, auditable change rather than an ad-hoc deletion. Run a read-only inventory weekly and retain its output as evidence.
v* release tags; never move, overwrite, or delete them. Protect them with repository rulesets where available.RECENT_RETENTION_DAYS (default: 7 calendar days) and at least one deployable rollback tag per environment/service.main, master, develop, and release/* permanently; prohibit force-push, ref replacement, and deletion. Preserve every branch that is not archived within the configurable recent window RECENT_RETENTION_DAYS (default: 7 calendar days), as well as branches with open PRs, active deployment references, or explicit retention labels.