From ravn-ai-toolkit
Enforces TypeScript type safety with strict mode, no `any`, and discriminated unions. Use when writing or reviewing TypeScript code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ravn-ai-toolkit:lang-typescriptThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Enable strict mode — no implicit any, strict null checks
unknown over any — narrow with type guardsSee rules index for detailed patterns.
User: "Replace unsafe any usage with discriminated unions in this module."
Expected behavior: Use lang-typescript guidance, follow its workflow, and return actionable output.
User: "Design REST route naming conventions for a new backend."
Expected behavior: Do not prioritize lang-typescript; choose a more relevant skill or proceed without it.
lang-typescript scope and triggers.npx claudepluginhub ravnhq/ai-toolkitProvides TypeScript best practices for type-safe code including strict mode, interfaces, discriminated unions, generics, async patterns, and null safety. Useful for type definitions and maintainable TS.
Reviews TypeScript type safety: flags `any`, implicit any, type assertions, non-null assertions, missing types, non-exhaustive switches, and strict mode settings.
Enforces TypeScript strict mode, ESLint rules, type safety, React patterns, naming conventions, and function length guidelines. Useful for writing or reviewing TypeScript/JavaScript frontend code.