Skip to content
OpenSmartRoute
Skillv1.0.0

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/val

by masharratt(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from masharratt/claude-flow-novice (.claude/skills/cfn-edit-safety/SKILL.md). Install upstream with npx skills add masharratt/claude-flow-novice --skill cfn-edit-safety. Copyright stays with the author.

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/masharratt-claude-flow-novice-cfn-edit-safety/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

masharratt-claude-flow-novice-cfn-edit-safety.ocm.jsonjson
{
  "ocm": "1",
  "id": "masharratt-claude-flow-novice-cfn-edit-safety",
  "kind": "skill",
  "name": "cfn-edit-safety",
  "description": "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.",
  "publisher": "masharratt",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "mega-skill",
      "backup",
      "hooks",
      "validation",
      "safety",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/masharratt/claude-flow-novice",
      "path": ".claude/skills/cfn-edit-safety/SKILL.md",
      "ref": "c9816b2c9f400db14b74fc215bb6b8e9909790b5",
      "url": "https://github.com/masharratt/claude-flow-novice/blob/c9816b2c9f400db14b74fc215bb6b8e9909790b5/.claude/skills/cfn-edit-safety/SKILL.md",
      "key": "masharratt/claude-flow-novice/.claude/skills/cfn-edit-safety/SKILL.md"
    }
  },
  "instructions": "# Edit Safety Skill (Mega-Skill)\n\n**Version:** 1.0.0\n**Purpose:** Pre-edit backup and post-edit validation\n**Status:** Production\n**Consolidates:** cfn-hook-pipeline, pre-edit-backup\n**Confidence:** 8.5/10 (mandatory paired workflow in CLAUDE.md)\n\n---\n\n## Overview\n\nThis mega-skill provides complete edit safety:\n- **Backup** - Pre-edit file state capture for revert capability\n- **Hooks** - Post-edit validation and feedback pipeline\n\n---\n\n## Directory Structure\n\n```\nedit-safety/\n├── SKILL.md\n├── lib/\n│   ├── backup/           # From pre-edit-backup\n│   └── hooks/            # From cfn-hook-pipel",
  "cost": {
    "context_tokens": 269
  }
}

Fetch it by URL: GET /api/v1/registry/masharratt-claude-flow-novice-cfn-edit-safety/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.