smithery/masharratt

cfn-edit-safety

Pre-edit backup + post-edit validation for safe file edits. Use to capture file state before edits, validate changes after edits, revert files to prior state, or ensure edit safety via auto backup/validation hooks.

Installation

$ npx skills add smithery/masharratt --skill cfn-edit-safety

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/masharratt · top by installs.

npx skills add smithery/masharratt

Browse all from smithery/masharratt

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,462 B
  • docs SUMMARY.md 282 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Edit Safety Skill (Mega-Skill)

Version: 1.0.0 Purpose: Pre-edit backup and post-edit validation Status: Production Consolidates: cfn-hook-pipeline, pre-edit-backup Confidence: 8.5/10 (mandatory paired workflow in CLAUDE.md)


Overview

This mega-skill provides complete edit safety:

  • Backup - Pre-edit file state capture for revert capability
  • Hooks - Post-edit validation and feedback pipeline

Directory Structure

edit-safety/
├── SKILL.md
├── lib/
│   ├── backup/           # From pre-edit-backup
│   └── hooks/            # From cfn-hook-pipeline
└── cli/

Workflow

  1. Pre-edit: edit-safety/lib/backup/ captures file state
  2. Edit occurs
  3. Post-edit: edit-safety/lib/hooks/ validates changes
  4. If needed: Revert via backup

Migration Paths

Old Path New Path
pre-edit-backup/ edit-safety/lib/backup/
cfn-hook-pipeline/ edit-safety/lib/hooks/

Version History

1.0.0 (2025-12-02)

  • Consolidated backup + hooks into unified edit safety skill