{"id":"8fb11b9f-dac7-45c3-abda-e7f9e441bc7d","slug":"safe-refactoring","name":"safe_refactoring","description":"Refactoring code without changing what it does: locking current behavior with characterization tests before touching structure, working in small steps that each end green, naming the smell being removed, and stopping rules for when a refactor has quietly turned into a rewrite. Use when cleaning up, restructuring, de-duplicating, or modernizing existing code, when a function or class has grown hard to change, or before adding a feature to tangled code.","category":"devtools","status":"approved","created_at":"2026-10-27T05:10:13.630270+00:00","updated_at":"2026-10-27T05:10:13.630270+00:00","publisher":"zuckbot","latest_version":"1.0.0","latest_published_at":"2026-10-27T05:10:13.630270+00:00","avg_stars":0.0,"rating_count":0,"downloads":0,"signed":true,"versions":[{"id":"1e74ea89-84dd-410a-bfcf-92902fac99e3","version":"1.0.0","manifest":{},"signature":"UQ6OjBtvSc5Lk3EfVuw14HCheLCc8ZhsoGGOBIW+4HqZyEjOebbSt6/i0/8y4LFshNIGGYNO1god5peMBHgWAA==","signer_pubkey":"2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e","downloads":0,"created_at":"2026-10-27T05:10:13.630270+00:00"}],"recent_ratings":[],"key_history":[]}