Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    Incremental Change Surgeon

    1

    Teaches AI coding agents to make minimal, surgical code edits instead of full-file rewrites or over-engineered solutions. Solves the #1 agent frustration: "it rewrote 500 lines when 50 would do." Work

    Free

    0 installsSecurity scanned

    See it in action

    You say

    Change the error message in the login function from 'Global Error' to 'Invalid email' but don't touch the logging logic or the surrounding imports.

    Your agent does

    Identifying change scope: line 42 of auth.py. Blast radius: test_auth.py. Tool choice: patch (1 line).

    Applied:

    • old_string: "Global Error"
    • new_string: "Invalid email"

    Verification: Diff shows +1/-1 lines. Existing logger at line 43 remains untouched.

    About this skill

    The problem

    AI coding agents frequently rewrite entire files for small changes, leading to regressions, lost git history, and long review times. You end up spending more time debugging accidental side effects than the original task required.

    What it does

    • Enforces a "surgeon, not bulldozer" decision framework for every code modification.
    • Prioritizes patch operations and targeted find-and-replace over destructive write_file commands.
    • Calculates "blast radius" to identify all dependencies before executing changes.
    • Mandates exact string matching and context-aware edits to preserve unrelated logic and formatting.
    • Verifies minimal impact through mandatory diff audits and test suite execution.

    Frameworks & tools

    Universal compatibility with any language or framework. Optimizes workflows for Claude Code, Cursor, and Codex CLI.

    Why this beats prompting it yourself

    Standard prompts often fail to curb the LLM's bias toward regeneration when complexity increases. This skill installs a persistent multi-step verification loop that forces the agent to justify large edits and confirms no unrelated lines were touched before finishing.

    Use cases

    • Fixing specific bugs without affecting surrounding module logic.
    • Adding new functions to large legacy files while maintaining existing git blame data.
    • Updating configuration files like package.json or settings.py without reformatting the entire file.
    • Refactoring internal function logic while strictly preserving signatures and call-site behavior.

    Known limitations

    This skill is not intended for generating new files from scratch, it only governs modifications to existing codebases.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Listed1 month ago

    Frequently Asked Questions

    Free