agentleFS
bruuuuucebruuuuuce/mana/skills/incident-risk-forecast/SKILL.md

incident-risk-forecast

Skill2 starsChanged 4 months agoMITView on GitHub

Forecasts likely production incidents, escalations, alert noise, support tickets, or degraded behavior from a planned change.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before release or pre-commit for high-impact branches.

    line 44
  2. Distinctive:

    When a change affects payment flows, critical jobs, error handling, retries, timeouts, idempotency, observability, or customer-visible …

    line 45
  3. Distinctive:

    When support and operations need early warning about possible incident patterns.

    line 46
  4. Very specific:

    Read .mana/global/known-pitfalls/, integration-map.md, testing-policy.md, and engineering-guards.md when available.

    line 80
  5. Very specific:

    Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Incident Risk Forecast

Purpose

Answer the operational question: "If this change causes trouble in production, what are the most likely symptoms, triggers, blind spots, and mitigations?"

When To Use It

  • Before release or pre-commit for high-impact branches.
  • When a change affects payment flows, critical jobs, error handling, retries, timeouts, idempotency, observability, or customer-visible behavior.
  • When support and operations need early warning about possible incident patterns.

Inputs

  • release_scope
  • branch_diff
  • monitoring_context
  • known_pitfalls
  • test_evidence

Outputs

  • incident_risk_forecast
  • monitoring_questions
  • mitigation_actions

Execution Logic

  1. Inspect changed behavior, degraded-path handling, retries, timeouts, database writes, external dependencies, and observability.
  2. Map likely production symptoms to root-cause candidates and detection signals.
  3. Identify missing dashboards, alerts, logs, runbooks, and rollback limitations.
  4. Recommend mitigations and owners without performing external changes.

Decision Rules

  • blocker: critical production symptom with no detection, rollback, mitigation, or owner.
  • warning: plausible incident path with incomplete monitoring or test evidence.
  • info: support note, runbook hint, or low-risk observation.

Failure Modes

  • Missing observability access limits confidence.
  • Historical incidents may not be represented in the repository.
  • The forecast is risk-oriented and may over-report plausible but unlikely failures.

Required Human Review

Application Manager and Team Leader review operational risks. SRE/Operations reviews monitoring and runbook gaps where applicable.

Service Context Layer

Read .mana/global/known-pitfalls/, integration-map.md, testing-policy.md, and engineering-guards.md when available.

Output Standard

Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts. Use templates/standard-agent-skill-report.template.md when no more specific template exists.

Internal reasoning must use compact caveman mode: terse fragments, evidence-first notes, no long narrative, and no private chain-of-thought in final artifacts. Maintain a context budget: keep a short working summary with objective, base branch or PR, issue keys, workspace path, checked evidence, open hypotheses, discarded hypotheses, and next checks instead of accumulating raw transcripts, full diffs, repeated file dumps, or copied tool output.

Example Output

skill: incident-risk-forecast
status: warning
summary: "Most likely incident is duplicate downstream retry after timeout."
findings:
  - severity: warning
    symptom: "Increased duplicate authorization attempts"
    detection_gap: "No dashboard metric for retry deduplication outcome"
    mitigation: "Add pre-release dashboard check and support note"
human_review_required: true

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.