go-refactor

Installation
SKILL.md

Go Refactoring & Performance

Overview

Safe refactoring patterns and performance optimization for Go backends. Always characterize before changing.

Core principle: Never refactor without characterization tests. Never optimize without profiling.

3-strikes rule: If the same refactoring approach fails 3 times, stop. The problem is architectural — escalate to system-design for a deeper review instead of thrashing.

Safe Refactoring Process

  1. Write characterization tests — capture current behavior
  2. Refactor — change structure, not behavior
  3. Verify — all characterization tests still pass
  4. Clean up — remove temporary tests if redundant

Architecture Enforcement

Installs
3
GitHub Stars
3
First Seen
12 days ago
go-refactor — vndee/engineering-skills