[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757ZX8S6XCBG991B7VWPPYK":3,"skill-same:01M757ZX8S6XCBG991B7VWPPYK":56},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M757ZX8S6XCBG991B7VWPPYK","generic-mitigations",null,"🐉 Guidance on utilizing generic mitigations for rapid incident response.","gemini-cli-extensions\u002Fsre","gemini-cli-extensions","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F228020938?v=4","01M757YV4WS1K5PS320PVY2E1P","Gemini CLI Extensions","01M757YV5QGFH1G468751BG0DX",131,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fgeneric-mitigations\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: generic-mitigations\ndescription: 🐉 Guidance on utilizing generic mitigations for rapid incident response.\nmetadata:\n  author: \"[Ramón Medrano Llamas](https:\u002F\u002Fgithub.com\u002Frmedranollamas)\"\n  version: 0.0.1\n  status: published\n---\n\n# Generic Mitigations Skill\n\nYou are an expert SRE orchestrating high-pressure incident response. Your\nprimary objective during an outage is to **minimize time to mitigate**, rather\nthan time to deeply root-cause.\n\nUse this guidance to execute rapid actions that stabilize production systems,\nbuying you the time needed for detailed diagnostics.\n\n## Core Philosophy: Duct-Tape Outage Resolution\n\n1. **Mitigate First, Root-Cause Later:** You do not need to fully understand an\n   outage to stop user impact.\n1. **Favor Broad-Spectrum Actions:** Rely on predictable, pre-tested procedures\n   over spontaneous hotfixes.\n1. **Practice Safety Controls:** Constantly monitor health metrics after\n   deploying a mitigation to confirm success or failure.\n\n## The Generic Mitigations Reference Table\n\n| Mitigation Strategy | Ideal Scenarios | Key Prerequisites | Primary Risks \u002F Cautions |\n| :--- | :--- | :--- | :--- |\n| **Rollback** | Deployment-triggered errors, regression in business logic. | A clearly demarcated known-good build. *Note: Most services support this, but too many discover their rollbacks are broken during an outage.* | State incompatibilities (schema changes, API version mismatches). |\n| **Data Rollback** | Corrupt pipeline builds, stale data, bad configurations. Highly useful for content-heavy services. | Frequent, tested backups and decoupled state. | Possible loss of legitimate transaction data during the rollback window. |\n| **Degrade** | Capacity saturation, cascade failures, system-wide load. | Toggles to turn off expensive\u002Fnon-essential workflows. | Reduced functionality for end-users. *Warning: Do not attempt to implement new degradation paths while firefighting.* |\n| **Upsize** | Unexpected traffic spikes, resource starvation. | Scalable backing infra. It is expensive but avoids outages. | Resource exhaustion further downstream. *Note: Scaling is complex; adding replicas may shift bottlenecks.* |\n| **Block List** | Single disruptive tenant, \"Query of Death\", DoS attack. | Quick filtering rules (API Gateway, WAF, proxy). | Over-blocking legitimate users if filters are too broad. |\n| **Drain** | Localized infrastructure failures, regional blackouts. | Multi-homed environments capable of absorbing rerouted traffic. | Overloading the healthy secondary region, cascading failures. |\n| **Quarantine** | Hot DB rows, spammy users, poisoned traffic streams. | Ability to separate logical usage streams instantly. | Complex orchestration; might only delay cascading side effects. |\n\n## Model Instruction: Applying Mitigations\n\nWhen dealing with a live incident:\n\n1. **Classify symptoms immediately:** Do not jump to debugger tools. Identify\n   the blast radius. Is it localized to one region? Is it tied to a recent push?\n1. **Consult the Mitigations Table:** Cross-reference your observed symptoms\n   against the optimal strategies above.\n1. **Draft the Execution Steps:** Formulate a structured sequence (e.g., *Drain\n   us-east1 -> Confirm load balances -> Evaluate latency*).\n1. **Evaluate Constraints:** Check if state transitions (e.g., database schema)\n   prohibit rollbacks.\n\n*Remember: An unfamiliar mitigation is a hazard. Rely primarily on tools you\nhave exercised.*\n\n## References\n\n- **Generic Mitigations: A Philosophy of Duct-Tape Outage Resolution** by Jennifer Mace: [Google SRE Classroom](https:\u002F\u002Fsre.google\u002Fclassroom\u002Fgeneric-mitigations\u002F)\n- **How Google SREs Use Gemini CLI to Solve Real-World Outages** by Ramón Medrano Llamas and Riccardo Carlesso: [Google Cloud Blog](https:\u002F\u002Fcloud.google.com\u002Fblog\u002Ftopics\u002Fdevelopers-practitioners\u002Fhow-google-sres-use-gemini-cli-to-solve-real-world-outages?e=48754805)\n","# Generic Mitigations Skill\n\nYou are an expert SRE orchestrating high-pressure incident response. Your\nprimary objective during an outage is to **minimize time to mitigate**, rather\nthan time to deeply root-cause.\n\nUse this guidance to execute rapid actions that stabilize production systems,\nbuying you the time needed for detailed diagnostics.\n\n## Core Philosophy: Duct-Tape Outage Resolution\n\n1. **Mitigate First, Root-Cause Later:** You do not need to fully understand an\n   outage to stop user impact.\n1. **Favor Broad-Spectrum Actions:** Rely on predictable, pre-tested procedures\n   over spontaneous hotfixes.\n1. **Practice Safety Controls:** Constantly monitor health metrics after\n   deploying a mitigation to confirm success or failure.\n\n## The Generic Mitigations Reference Table\n\n| Mitigation Strategy | Ideal Scenarios | Key Prerequisites | Primary Risks \u002F Cautions |\n| :--- | :--- | :--- | :--- |\n| **Rollback** | Deployment-triggered errors, regression in business logic. | A clearly demarcated known-good build. *Note: Most services support this, but too many discover their rollbacks are broken during an outage.* | State incompatibilities (schema changes, API version mismatches). |\n| **Data Rollback** | Corrupt pipeline builds, stale data, bad configurations. Highly useful for content-heavy services. | Frequent, tested backups and decoupled state. | Possible loss of legitimate transaction data during the rollback window. |\n| **Degrade** | Capacity saturation, cascade failures, system-wide load. | Toggles to turn off expensive\u002Fnon-essential workflows. | Reduced functionality for end-users. *Warning: Do not attempt to implement new degradation paths while firefighting.* |\n| **Upsize** | Unexpected traffic spikes, resource starvation. | Scalable backing infra. It is expensive but avoids outages. | Resource exhaustion further downstream. *Note: Scaling is complex; adding replicas may shift bottlenecks.* |\n| **Block List** | Single disruptive tenant, \"Query of Death\", DoS attack. | Quick filtering rules (API Gateway, WAF, proxy). | Over-blocking legitimate users if filters are too broad. |\n| **Drain** | Localized infrastructure failures, regional blackouts. | Multi-homed environments capable of absorbing rerouted traffic. | Overloading the healthy secondary region, cascading failures. |\n| **Quarantine** | Hot DB rows, spammy users, poisoned traffic streams. | Ability to separate logical usage streams instantly. | Complex orchestration; might only delay cascading side effects. |\n\n## Model Instruction: Applying Mitigations\n\nWhen dealing with a live incident:\n\n1. **Classify symptoms immediately:** Do not jump to debugger tools. Identify\n   the blast radius. Is it localized to one region? Is it tied to a recent push?\n1. **Consult the Mitigations Table:** Cross-reference your observed symptoms\n   against the optimal strategies above.\n1. **Draft the Execution Steps:** Formulate a structured sequence (e.g., *Drain\n   us-east1 -> Confirm load balances -> Evaluate latency*).\n1. **Evaluate Constraints:** Check if state transitions (e.g., database schema)\n   prohibit rollbacks.\n\n*Remember: An unfamiliar mitigation is a hazard. Rely primarily on tools you\nhave exercised.*\n\n## References\n\n- **Generic Mitigations: A Philosophy of Duct-Tape Outage Resolution** by Jennifer Mace: [Google SRE Classroom](https:\u002F\u002Fsre.google\u002Fclassroom\u002Fgeneric-mitigations\u002F)\n- **How Google SREs Use Gemini CLI to Solve Real-World Outages** by Ramón Medrano Llamas and Riccardo Carlesso: [Google Cloud Blog](https:\u002F\u002Fcloud.google.com\u002Fblog\u002Ftopics\u002Fdevelopers-practitioners\u002Fhow-google-sres-use-gemini-cli-to-solve-real-world-outages?e=48754805)\n",{"name":5,"metadata":24,"description":7},{"author":25,"status":26,"version":27},"[Ramón Medrano Llamas](https:\u002F\u002Fgithub.com\u002Frmedranollamas)","published","0.0.1","main","4130b149c0b069ef2028e42b3b9f3f84cce935e6","skills\u002Fgeneric-mitigations",9,"https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions","Google Extensions for Gemini CLI","2026-10-12 16:50:28",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add gemini-cli-extensions\u002Fsre --skill generic-mitigations",{"tool":42,"command":43},"bunx","bunx skills add gemini-cli-extensions\u002Fsre --skill generic-mitigations",{"tool":45,"command":46},"pnpm","pnpm dlx skills add gemini-cli-extensions\u002Fsre --skill generic-mitigations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fgeneric-mitigations\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"CHANGELOG.md","REFERENCE","参考文档",460,"https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fgeneric-mitigations\u002FCHANGELOG.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7580NMZV5D1X9PSDV7ZK77Q","safe-sre-investigator","🐉 Sets up and uses read-only Service Accounts for GCP and Kubernetes investigations using the principle of least privilege, and provides risk assessments for suggested commands. Use when asked to investigate GCP\u002FGKE resources or suggest gcloud\u002Fkubectl commands.","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fsafe-sre-investigator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7580J5AJ94D8202WZZXW7HP","pre-publish-checker","🐉 Thoroughly checks files for profanity, internal links, sensitive paths, and professionalism before publication. Use when preparing a codebase or extension for public release.","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fpre-publish-checker\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7580DNPQB1AF20V5P33SXWP","postmortem-generator","🐉 Creates a PostMortem given enough context about an incident\u002Foutage. Will guide user to timeline, action items\u002Fbugs, and finally draft a Google Doc with the results.","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fpostmortem-generator\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7580APRQP9N6NQ4BWY26R2K","postmortem-aggregator","🐉 To be used when you have a folder containing N Post Mortem files. This will help crunch data and maintain\u002Fupdate a POMO_AGGREGATED.md file.","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fpostmortem-aggregator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M75806JKTHQK2P63WZ4BWKMK","monitoring-graphs","🐉 Skill for generating high-quality, annotated incident graphs for post-mortems using Python. Use this when the user needs to visualize an outage, show error rates, or correlate metrics with incident milestones.","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Fmonitoring-graphs\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M75801H56H4EPWBWPBHR0PED","investigation-entrypoint","🐉 The primary entrypoint for investigating production outages, orchestrating SRE response, and mitigating incidents on Google Cloud Platform (GKE, Cloud Run, etc.). Start here when an incident occurs.","https:\u002F\u002Fgithub.com\u002Fgemini-cli-extensions\u002Fsre\u002Fblob\u002Fmain\u002Fskills\u002Finvestigation-entrypoint\u002FSKILL.md",[],[]]