safe-edit

Back up files and save diffs before applying edits.

1|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Doyajin174/myskills --skill safe-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safe-edit
Source: https://github.com/Doyajin174/myskills/tree/main/.public/skills/safe-edit
Command: npx skills add https://github.com/Doyajin174/myskills --skill safe-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures safe, reversible edits by automatically backing up affected files, saving diffs, and enforcing modular code structure.

Core Features & Use Cases

  • Backups & diffs: Timestamped backups and pre-change diffs.
  • Agent-driven implementation: Use specialized agents for complex edits.
  • Modularization enforcement: Warn when edits exceed 200 lines and propose refactors.

Quick Start

Edit a file with automatic backup, diff, and modularization plan if large changes are detected.