跳到正文
cccskills
免费在 GitHub 公开

fail-recover

Use when the user asks to restore service from a known failure with a prescribed recovery operation. Not for design-time failure definition or open-ended debugging.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.1 KB
  • agents/openai.yaml166 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Fail recover

Contract

FieldBound contract
TriggerUser needs to restore service from a specific known failure using a prescribed recovery operation.
AuthorityReversible local: writes only the named local target; rollback is undo via the recorded rollback path. No remote mutation. State and follow the rollback path before mutating.
Side effectThe single prescribed recovery operation applied to the local configuration target. No scope widening, no retry with a different action.
DoneThe recovery operation is applied to the target artifact and the health signal confirms service restoration.

Inputs

Required:

  • The known failure symptom: the observable condition that identifies the failure (error message, metric threshold, health-check output).
  • The prescribed recovery operation: the single bounded action to apply.
  • The authority source for the prescription: where the recovery operation is documented (a runbook, an incident postmortem, a vendor advisory, a playbook entry). Named explicitly so the operation can be validated.
  • The target configuration artifact: the local file, setting, or service the operation changes.

Optional:

  • An explicit rollback path. If absent, derive and record one before any mutation.
  • A health signal or verification mechanism: the command, endpoint, or metric that confirms restoration. If absent, ask the user to name one before applying the operation.

Procedure

  1. Verify the observed symptom matches the known failure. Compare the observed condition against the documented symptom. If they do not match, stop. Done when: the symptom matches the known failure, or the skill stops with the mismatch reported.
  2. Validate the prescribed recovery operation against the named authority source. Confirm the operation is the one documented for this failure and that it targets only the named local artifact. If the authority source does not prescribe this operation for this symptom, stop. Done when: the operation is validated as prescribed and scoped to the named target.
  3. Record the explicit rollback path that reverses the recovery operation. If the user did not supply one, derive it from the operation's inverse and record it before any mutation. Done when: the rollback path is recorded.
  4. Apply the recovery operation to the named local target only. Done when: the recovery operation is applied to the named target.
  5. Verify restoration using the specified health signal or verification mechanism. Run the health check, query the endpoint, or read the metric. Done when: the health signal confirms service restoration, or the check fails and rollback is triggered.

Failure and recovery

  • Symptom mismatch: the observed condition does not match the known failure. Stop; apply no recovery operation.
  • Invalid prescription: the authority source does not document this operation for this symptom, or the operation targets something other than the named artifact. Stop; apply nothing.
  • Health check fails after application: reverse the named local change via the recorded rollback path. Report the remaining symptom, the action taken, and the rollback result. Do not retry with a widened scope or an unvalidated action.
  • Missing health signal: if no verification mechanism is named and the user cannot supply one, stop before applying the operation. Restoration cannot be confirmed without a health signal.
  • Partial result: no partial application is reported as done. Report what was applied and the remaining failure.
  • Rollback: reverse the named local change via the recorded rollback path. Never swallow errors or assert the done predicate when it does not hold.

Output

Terminal classification: restored or not-restored. Include the recovery operation applied, the authority source cited, the named local target changed, the rollback path, the health signal used, and the remaining symptom when not restored.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.

中文简介正在准备中。当前显示原文说明。

OutlineDriven/odin-claude-plugin372026年9月29日 更新

Use when configuring ADC sampling time, DMA-driven ADC, calibration, or DAC channel setup on bare-metal MCUs. Not for the DMA stream itself: use dma-baremetal.

中文简介正在准备中。当前显示原文说明。

OutlineDriven/odin-claude-plugin372026年9月29日 更新

af-xdp

免费

Use when creating AF_XDP sockets, configuring UMEM and XSK rings, writing an XDP redirect program, or choosing copy versus zero-copy mode. Not for full kernel bypass: use dpdk.

中文简介正在准备中。当前显示原文说明。

OutlineDriven/odin-claude-plugin372026年9月29日 更新

Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from telemetry: use engineering-retrospective.

中文简介正在准备中。当前显示原文说明。

OutlineDriven/odin-claude-plugin372026年9月29日 更新

Use when a redacted, trimmed agent transcript must be appended to a GitHub PR or issue body, with human approval and preview. Not for automated or model-initiated insertion.

中文简介正在准备中。当前显示原文说明。

OutlineDriven/odin-claude-plugin372026年9月29日 更新

agents-md

免费

Use when a repo needs agent setup, AGENTS.md added or made lean, CLAUDE.md audited, or agent instructions scored or pruned. Not for remote, credential, publish, deploy, or irreversible changes.

中文简介正在准备中。当前显示原文说明。

OutlineDriven/odin-claude-plugin372026年9月29日 更新

查看 OutlineDriven 的全部技能

报告此技能的问题