本文へ移動
cccskills
無料GitHub で公開

agent-ops-recovery

Handle failures and errors during workflow. Use when build breaks, tests fail unexpectedly, or agent gets stuck. Semi-automatic recovery with user confirmation for destructive actions.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.4 KB
  • metadata.json1.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Error Recovery workflow

Trigger conditions

Use this skill when:

  • Build/lint fails unexpectedly after agent changes
  • Tests fail that were passing in baseline
  • Agent encounters ambiguity it cannot resolve
  • Implementation is stuck or going in circles

Recovery procedure

Step 1: Diagnose (invoke debugging)

For non-trivial failures, invoke agent-ops-debugging:

  1. Apply systematic debugging process:
    • Reproduce the issue consistently
    • Define expected vs actual behavior
    • Form hypothesis about root cause
  2. Use debugging output to inform recovery decision
  3. If root cause unclear after initial analysis, continue debugging before recovery

Step 2: Assess rollback options

  • Option A: Fix forward — issue is minor, can be resolved quickly
  • Option B: Partial rollback — revert specific file(s) to last good state
  • Option C: Full rollback — revert all agent changes since checkpoint
  • Option D: Escalate — document the issue, mark task blocked, ask user

Step 3: Propose action

Present options to user with:

  • What will be reverted/changed
  • Risk assessment
  • Recommendation

Step 4: Execute (with confirmation)

  • For non-destructive actions (fix forward): proceed
  • For destructive actions (rollback): ask user first
  • Update .agent/focus.md with recovery action taken

Destructive actions (require confirmation)

  • git reset
  • git checkout -- <file> (discard changes)
  • git revert
  • Deleting files
  • Overwriting files with previous versions

Non-destructive actions (can proceed)

  • git stash
  • Reading files
  • Running diagnostics
  • Updating focus/tasks with findings

Post-recovery

  1. Update .agent/focus.md with what happened
  2. Invoke agent-ops-tasks to create issue for root cause investigation
  3. Update .agent/memory.md with "pitfall to avoid" if applicable
  4. Re-run baseline comparison before continuing

Issue Discovery After Recovery

After recovery, invoke agent-ops-tasks discovery procedure:

  1. Create issue for the incident:

    📋 Recovery completed. Create issue to track root cause?
    
    Suggested:
    - [BUG] Investigate: {description of what failed}
      - What happened: {failure description}
      - Recovery action: {what was done}
      - Root cause: TBD
    
    Create this issue? [Y]es / [N]o
    
  2. If pattern detected, create prevention issue:

    This failure pattern has occurred before. Create improvement issue?
    
    - [CHORE] Add validation to prevent {failure type}
    - [TEST] Add regression test for {scenario}
    
    Create these? [A]ll / [S]elect / [N]one
    
  3. After creating issues:

    Created {N} issues for tracking. What's next?
    
    1. Investigate root cause now (BUG-0024@abc123)
    2. Continue with original work (defer investigation)
    3. Review recovery actions
    

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

[00] TnR ABSOLUTE RIGOR — Systemic Verification Doctrine. Forced cognitive exertion for high-stakes investigations. Mandates absolute deconstruction, mathematical proof chains, and ≥95% derived certainty. Zero-tolerance for heuristics or sentiment-based reasoning. Shortcuts are defined as intentional hallucinations.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

2agent

無料日本語概要

Configures 2-Agent workflow between PM and implementation roles. Use when user mentions 2-Agent, 2エージェント, PM連携設定, Cursor設定, Cursor連携, 2-agent運用. Do NOT load for: 単独運用, ワークフロー実行, ハンドオフ処理.

diegosouzapw/awesome-omni-skill622026年3月2日 更新

Appends relevant hashtags to journal entries based on content analysis. Intended for LLM execution.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

add-agent

無料

Add a new AI coding agent to Agent Sandbox. Creates all required files (Dockerfile, templates, CI, docs) and wires the agent into the CLI, proxy, and build system.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

Add a new property to the AI agents database. Use when the user wants to add, create, or introduce a new column, property, field, or feature to track across all agents in the comparison matrix. Handles all four required steps - database updates, groups.json, table display, and GitHub issue templates.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

Add new Agent templates to the meta-agent-skills framework.

日本語の概要は準備中です。原文の説明を表示しています。

diegosouzapw/awesome-omni-skill622026年3月2日 更新

diegosouzapw のスキルをすべて見る

このスキルの問題を報告する