zero-tech-debt
trycompai/crm/.agents/skills/zero-tech-debt/SKILL.md
Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.
Skill11k starsChanged 57 days ago
What's in it
- Zero Tech Debt
- Steps
- Rules
--- 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.
More agent context in trycompai/crm
40 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- ai-elements.agents/skills/ai-elements/SKILL.md
- ai-sdk.agents/skills/ai-sdk/SKILL.md
- better-accessibility.agents/skills/better-accessibility/SKILL.md
- better-auth-best-practices.agents/skills/better-auth-best-practices/SKILL.md
- better-colors.agents/skills/better-colors/SKILL.md
- better-interface.agents/skills/better-interface/SKILL.md
- better-layout.agents/skills/better-layout/SKILL.md
- better-typography.agents/skills/better-typography/SKILL.md
- better-ui.agents/skills/better-ui/SKILL.md
- better-writing.agents/skills/better-writing/SKILL.md
- code-refactor-review.agents/skills/code-refactor-review/SKILL.md
- create-draft-pr.agents/skills/create-draft-pr/SKILL.md
- diffs.agents/skills/diffs/SKILL.md
- eve.agents/skills/eve/SKILL.md
- ga-pr.agents/skills/ga-pr/SKILL.md
- ga.agents/skills/ga/SKILL.md
- gh-stack.agents/skills/gh-stack/SKILL.md
- install-anti-slop.agents/skills/install-anti-slop/SKILL.md
- nestjs-best-practices.agents/skills/nestjs-best-practices/SKILL.md
- nestjs-trpc.agents/skills/nestjs-trpc/SKILL.md
- no-use-effect.agents/skills/no-use-effect/SKILL.md
- nuqs.agents/skills/nuqs/SKILL.md
- pit-of-success.agents/skills/pit-of-success/SKILL.md
- posthog-instrumentation.agents/skills/posthog-instrumentation/SKILL.md
- prepare-branch-context.agents/skills/prepare-branch-context/SKILL.md
- prisma-database-setup.agents/skills/prisma-database-setup/SKILL.md
- seo-audit.agents/skills/seo-audit/SKILL.md
- shadcn.agents/skills/shadcn/SKILL.md
- skill-creator.agents/skills/skill-creator/SKILL.md
- turborepo.agents/skills/turborepo/SKILL.md
- typescript-advanced-types.agents/skills/typescript-advanced-types/SKILL.md
- ux-flow-plan.agents/skills/ux-flow-plan/SKILL.md
- vercel-composition-patterns.agents/skills/vercel-composition-patterns/SKILL.md
- vercel-react-best-practices.agents/skills/vercel-react-best-practices/SKILL.md
- web-design-guidelines.agents/skills/web-design-guidelines/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

