Skip to main content

zero-tech-debt

Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.

Source facts

Repository
trycompai/crm
Last source activity
August 6, 2026 at 07:09
Detected SKILL.md language
English
Stars
11,950
Forks
1,778

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
zero-tech-debt
description
Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.
user-invocable
true
# Zero Tech Debt Rework the change from the intended end state, not from the historical path that produced the current patch. ## Steps 1. State the intended end state in one or two sentences. 2. Search for real callers before preserving compatibility. If a mode, prop, wrapper, route alias, or fallback has no current caller, delete it. 3. Reshape around the final product surface. Prefer one clear component or flow over mode flags. Split only when it creates an obvious boundary such as state, layout, controls, or domain commands. 4. Move shared rules to one place. Feature flags, permissions, route gating, URL state, and command naming should not be duplicated across pages or hidden in view components. 5. Verify the intended flow. Test the new behavior and any deleted assumptions that affect navigation, permissions, or persisted state. ## Rules - Optimize for the code that should exist, not the smallest diff from the old shape. - Delete dead compatibility paths instead of making them better. - Do not invent a generic framework for one feature. - Keep the refactor scoped to what makes the final shape coherent. - Prefer names that describe product intent over implementation history.
View on GitHub