From tac
Creates structured Markdown patch plans for minimal, targeted code fixes: analyzes issue via git diff/grep, lists files/steps/validation, estimates risk. Use post-review for small changes.
npx claudepluginhub melodic-software/claude-code-plugins --plugin tacThis skill is limited to using the following tools:
Create a minimal, surgical patch plan to address a specific issue.
Creates minimal patch plans for targeted code fixes from reviews or bugs, analyzing with git/grep and templating precise changes with validation steps.
Manages persistent lightweight patch tracks for small fixes, cleanups, and observations outside main milestones. Supports create, list, close, fix, accept, reject via /hw:patch commands in .pipeline/patches/.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Create a minimal, surgical patch plan to address a specific issue.
review_change_request: $1 - Description of the issue to fixspec_path: $2 (optional) - Path to original specificationCreate a PATCH - minimal scope, surgical fix, targeted change.
"This is a PATCH - keep the scope minimal. Only fix what's described in the review_change_request and nothing more."
Parse the review_change_request:
Do NOT expand scope beyond this specific issue.
If spec_path is provided, read it for context:
# See current changes
git diff --stat
# Find relevant files
grep -r "related_term" src/
Ask: "What is the smallest change that fixes this?"
Write to: specs/patch/patch-{descriptive-name}.md
# Patch: [Concise patch title]
## Metadata
- Review Change Request: [from input]
- Spec Path: [if provided]
## Issue Summary
**Problem**: [What's broken - specific]
**Solution**: [Minimal fix approach]
## Files to Modify
[Only files that need changes - specific and minimal]
- `path/to/file.ts`: [What change is needed]
## Implementation Steps
IMPORTANT: Execute every step in order, top to bottom.
### Step 1: [Specific action]
[Exact code change needed]
### Step 2: [Specific action]
[Exact code change needed]
## Validation
Execute every command to validate patch is complete:
- [Specific test command]
- [Manual verification step]
## Patch Scope
- **Lines of code to change**: [estimate]
- **Risk level**: [low/medium/high]
- **Testing required**: [minimal/standard/extensive]
Return ONLY the path to the patch plan file created:
specs/patch/patch-fix-button-disabled-state.md
Keep Minimal:
Risk Assessment:
| Lines | Risk |
|---|---|
| 1-10 | Low |
| 10-50 | Medium |
| 50+ | High - reconsider scope |
Patches typically follow review:
/review → Identifies blocker issue
↓
/patch → Creates surgical fix plan (THIS COMMAND)
↓
/implement → Executes patch plan
↓
/review → Re-verifies fix