Typescript Style Guide

Style, review, and refactoring standards for TypeScript codebases. Trigger when `.ts`, `.tsx`, `.d.ts`, or `tsconfig*.json` files are created, changed, or reviewed and TS-specific quality rules (type safety, narrowing, async/error handling, module boundaries) must be enforced. Do not use for JavaScript-only modules that are outside TypeScript type-check scope. In mixed JS/TS repositories, this skill owns `tsconfig`-scoped modules. For shared JS/TS configuration files (for example `package.json`, shared lint/test config), run together with `javascript-style-guide` when both JS and TS artifacts change in the same pull request. Use when this capability is needed.

tomevault-io d766685 2 files · 5.7 KB Updated

File contents

tomevault-io/skills-registry/tree/main/kentoshimizu--sw-agent-skills--typescript-style-guide commit d766685a00

Frequently asked questions

npx skillmds@latest add tomevault-io/typescript-style-guide