Agent skill

minimal-code-changes-rule

Enforces the principle of making minimal code changes to avoid introducing bugs or technical debt in any file.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/minimal-code-changes-rule

SKILL.md

Minimal Code Changes Rule Skill

  • Only modify sections of the code related to the task at hand.
  • Avoid modifying unrelated pieces of code.
  • Accomplish goals with minimal code changes.

Memory Protocol (MANDATORY)

Before starting:

bash
cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Didn't find tool you were looking for?

Be as detailed as possible for better results