udecode/plate

hard-cut

Remove a feature completely with no backward compatibility. Use when the user says "hard cut", "rip it out", "delete it", "unship", "kill this feature", or wants dead code removed instead of deprecated. Delete the surface, callers, tests, docs, comments, fallbacks, and stubs.

First seen Apr 4, 2026

Installation

$ npx skills add udecode/plate --skill hard-cut

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from udecode/plate · top by installs.

npx skills add udecode/plate

Browse all from udecode/plate

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 16.6K
License LICENSE
Default branch main
Open issues 10
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
skiller
{"source":".agents\/rules\/hard-cut.mdc"}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,766 B
  • docs SUMMARY.md 292 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 11 installs

SKILL.md

Hard Cut

Use this when a feature should die, not linger.

Rules

  • Delete the surface. Do not deprecate it.
  • Do not leave throw new Error("Not implemented"), placeholder notices,

"feature removed" banners, or TODOs about bringing it back unless the user explicitly asks.

  • Do not keep compatibility aliases, deprecated shims, fallback parsing,

migration bridges, or dead exports.

  • Delete tests for deleted behavior. Keep tests only for the behavior that

still exists.

  • Delete comments that describe deleted code or mourn the old feature.
  • If removal exposes adjacent dead code, keep cutting until the graph is clean.

Sweep

  1. Find the real surface area:

- exports - commands and flags - routes - UI entrypoints - feature flags - docs and examples

  1. Trace references with rg.
  2. Delete the implementation and the glue:

- call sites - types - state - tests - docs - comments

  1. Grep again for the removed name and obvious aliases.
  2. Run the narrowest honest verification for the surviving product.

Smells

  • deprecated notices
  • not-implemented throws
  • stub handlers
  • dead enum or union members
  • permanently-false feature-flag branches
  • unused env vars and config
  • tests that only prove the deleted feature used to exist

Bias

If the choice is between deleting more code and leaving a zombie seam, delete more code.