agentsclimarketplace

Surgical changes

Skill yakoshiq/skills/skills/surgical-changes

Implement fixes and small features as the smallest coherent change that fully solves the requested problem. Use when scope control, behavioral preservation, reviewability, or avoiding opportunistic cleanup matters.From its SKILL.md

Install
npx -y skills add yakoshiq/skills --skill surgical-changes

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 22 days oldThe repository was created 22 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.5 KB, 455 tokens by cl100k_base, as published. Nobody here has run it

Surgical Changes

Solve the requested problem completely, with no unrelated improvement hidden in the diff. Smallest coherent change means the narrowest correct change, not the fewest edited lines or a patch over the symptom.

Set the boundary

Before editing, identify:

  • the observable bug or requested outcome;
  • the symbols, tests, and boundary that must change;
  • the behavior that must remain unchanged.

Classify each contemplated edit:

  1. Required - directly fixes or implements the request.
  2. Coupled - needed so the required change compiles, remains correct, or can be tested at the nearest meaningful boundary.
  3. Adjacent - useful cleanup or another defect, but not causally necessary.

Only required and coupled edits belong in the diff. If you cannot explain why a hunk is needed for the request, leave it out.

Change only what the cause requires

  • Follow local names, control flow, error style, types, and test idioms, even when you would choose differently in new code.
  • Fix the root cause within the established boundary. Do not duplicate policy or add a brittle special case merely to minimize line count.
  • Preserve public call-shape, defaults, return values, failure semantics, effect order, and serialization unless the request requires changing them.
  • Do not rename or move neighboring code, reformat untouched regions, introduce an abstraction or dependency, tighten unrelated types, or rewrite nearby errors opportunistically.
  • Do not mix feature work, refactoring, and cleanup. If a supporting refactor is necessary, keep it to the smallest enabling step and state why it is coupled.

Verify the seam

  • Add or update a focused test that fails before the change when the repo has tests.
  • Exercise the changed path at the nearest boundary where its behavior is observable; do not broaden into a test-suite redesign.
  • Run the narrowest relevant checks, then inspect the final diff. Every hunk should trace back to the request.

Keep discoveries out of the diff

Report adjacent defects or cleanup opportunities separately with a path or symbol and a brief impact. Do not fix them without the user expanding scope.

Ship the change, focused verification, and any separate follow-up notes - no unrelated polish.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,750. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.