risk-assessment-before-destructive-changes

Record formal risk assessments for destructive commands before execution.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/ilderaj/superpowering-with-files --skill risk-assessment-before-destructive-changes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: risk-assessment-before-destructive-changes
Source: https://github.com/ilderaj/superpowering-with-files/tree/main/harness/core/skills/risk-assessment-before-destructive-changes
Command: npx skills add https://github.com/ilderaj/superpowering-with-files --skill risk-assessment-before-destructive-changes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Destructive work can erase data or destabilize systems; this skill ensures a formal risk assessment is created and logged before execution.

Core Features & Use Cases

  • Record the exact destructive command, target paths, and blast radius.
  • Capture a writable checkpoint path and rollback steps in the active task plan.
  • Ensure durable decision logs by updating planning/active/<task-id>/task_plan.md and enabling rollback.

Quick Start

Create a risk assessment in the active task plan before executing any destructive command.

Frequently Asked Questions about risk-assessment-before-destructive-changes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document a risk assessment before running destructive shell commands?

To document a risk assessment before destructive shell commands, log the exact command, target paths, blast radius, checkpoint path, and rollback steps in the active task plan file.

What is the best way to prevent data loss when executing git reset hard or rm rf?

The best way to prevent data loss during git reset hard or rm rf operations is to record a formal risk assessment capturing the blast radius and rollback steps in your task plan before execution.

How do I create a rollback plan for destructive file rewrites and chmod operations?

To create a rollback plan for destructive file rewrites and chmod operations, define a writable checkpoint path and document the exact rollback steps in planning/active/<task-id>/task_plan.md.

When do I need to record a formal risk assessment for destructive changes?

You need to record a formal risk assessment for destructive changes whenever executing operations like rm -rf, git clean, git reset --hard, chmod, or broad file rewrites to ensure a durable decision log.

Does executing destructive changes require a specific task plan file format?

Executing destructive changes requires updating the planning/active/<task-id>/task_plan.md file format to log the exact command, target, blast radius, checkpoint, and rollback steps.

What should I record in a task plan to enable safe rollback after destructive operations?

To enable safe rollback after destructive operations, record the exact command, target paths, blast radius, writable checkpoint path, and rollback steps in your active task plan.