confirm-edit

Community

Verify repo context before risky multi-file edits.

Authormykcs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Confirming the correct Git repository and branch before applying multi-file edits prevents wasting time and accidentally modifying the wrong codebase, especially when working across multiple local paths and sites.

Core Features & Use Cases

  • Repository Context Validation: Checks origin URL, current branch, working tree status, and upstream divergence before proceeding.
  • Edit Safety Guardrails: Triggers for risky cases like batch edits across 3+ files or any changes under the specified path groups (~/Repo/webs/ and ~/Repo/mykcs/).
  • Operator Confirmation Workflow: Uses a clear confirmation template so the user can approve or provide an alternative target before the edits run.

Quick Start

Call confirm-edit before you start multi-file changes by telling the AI to confirm the target repository context and wait for your Enter confirmation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: confirm-edit
Download link: https://github.com/mykcs/myk-skills/archive/main.zip#confirm-edit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.