narrow-patch-authoring
CommunityCreate minimal, evidence-backed code patches fast.
Software Engineering#bug fixing#git commits#patch authoring#root cause fix#minimal code changes#invariant preservation#forensic debugging
AuthorSanchez-78
Version1.0.0
Installs0
System Documentation
What problem does it solve?
When fixing production bugs, developers often add unnecessary refactoring, tech debt cleanup, or address symptoms instead of root causes, leading to larger, riskier changes that introduce new issues and slow down code reviews.
Core Features & Use Cases
- Root Cause-Only Fixes: Enforces changes that exclusively address the identified root cause from forensic evidence, with no unrelated modifications.
- Invariant Preservation Checks: Includes a self-review checklist to ensure existing system behavior, position entry/exit, and dashboard metrics remain intact after the patch.
- Evidence-Backed Commits: Requires commit messages that cite concrete forensic evidence (logs, code paths, state) for full traceability.
- Use Case: For a developer debugging a timeout bug in a crypto trading bot's paper trade executor, use this skill to create a 2-line patch that fixes the wrong variable reference, without cleaning up unused functions or renaming variables for clarity.
Quick Start
Use the narrow-patch-authoring skill to create a minimal patch that fixes the root cause of the timeout bug identified in the latest forensic report, without adding any unrelated changes or refactoring.
Dependency Matrix
Required Modules
None requiredComponents
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: narrow-patch-authoring Download link: https://github.com/Sanchez-78/crypto-trading-bot/archive/main.zip#narrow-patch-authoring Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.