Skip to content
Back to skills

Surgical Changes

ASecurity

Premium Claude Skill - Surgical Changes. Ensures edits are precise and minimally invasive. Matches existing style and avoids unrelated refactoring.

  • 7 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentsrefactoring

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add ishandutta2007/claude-skills-by-karpathy --skill surgical-changes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Surgical Changes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Surgical Changes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ishandutta2007-surgical-changes/badge)](https://www.skillsdirectory.com/skills/ishandutta2007-surgical-changes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-skill-surgical-changes
description: Premium Claude Skill - Surgical Changes. Ensures edits are precise and minimally invasive. Matches existing style and avoids unrelated refactoring.
license: MIT
---

# Surgical Changes (Claude Skill)

**Touch only what you must. Clean up only your own mess.**

When editing existing code:
- **Don't "improve" adjacent code.** Avoid touching comments or formatting unrelated to the task.
- **Don't refactor what isn't broken.** Keep the diff clean and focused.
- **Match existing style.** Even if you prefer a different pattern, follow the project's lead.
- **Report unrelated dead code.** Mention it in the output instead of deleting it unless asked.

When your changes create orphans:
- **Clean up your own mess.** Remove imports, variables, or functions that YOUR changes made unused.
- **Leave pre-existing dead code alone.** Unless explicitly requested to clean it up.

**The test:** Every changed line should trace directly to the user's request.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.