cc-safety-net — TypeScript Style Guide with Good/Bad Pairs

claude-md-exampleAI & models

Your AI writes TypeScript that follows a clear set of conventions, expressed as short Good/Bad code pairs instead of long explanations. The rules cover things like inlining single-use variables, avoiding unnecessary destructuring, and using early returns instead of else blocks. A section on the Knip tool shows common failure modes and their exact fixes, so your AI can correct those errors when they come up.

Unavailable. Delivery for this kind is on the roadmap — not serving yet.

Add to setup to save this item as a reference. Ahel cannot run it, and signing in will not install it.

What your AI can do with it

  • Write TypeScript that inlines single-use variables instead of giving them their own names
  • Skip unnecessary destructuring when pulling values out of objects
  • Structure functions with early returns instead of else blocks
  • Name Drizzle database columns in snake_case
  • Spot common Knip failures and apply the exact fixes the guide shows

Getting started

  1. Save this item in Your setup as a reference.
  2. Read the source or reference documentation for its setup requirements. Saving it here does not connect it to your AI.
  3. Check this page for availability before trying to install it through Ahel.

Signals

GitHub stars
2k
Forks
84
Last commit
Oct 2026
Advanced
Item type
claude-md-example
Key
cc-safety-net-style-guide
Source
github.com/kenryu42/cc-safety-net