typescript-style-guide

Enforce TypeScript style and architectural guidelines on TS files.

7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill typescript-style-guide-kentoshimizu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-style-guide
Source: https://github.com/KentoShimizu/sw-agent-skills/tree/main/skills/typescript-style-guide
Command: npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill typescript-style-guide-kentoshimizu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript projects can drift from consistent style and architectural guidelines, leading to maintenance burden and subtle type-related defects.

Core Features & Use Cases

  • Enforce type-safety and consistent naming across TS modules.
  • Maintain clear module boundaries by guiding interfaces and separation of concerns.
  • Integrate with PR checks to catch issues early during code reviews.

Quick Start

Configure your CI to run the TypeScript style-guide checks on TS artifacts to ensure immediate feedback on changes.

Frequently Asked Questions about typescript-style-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce TypeScript style and architecture consistency in my codebase?

To enforce TypeScript style and architecture consistency, apply defined guidelines to TS files and configuration changes to reduce defects from inconsistent code. This process ensures strict type-safety, clear module boundaries, and maintainable structure during creation or modification.

What's the best way to catch type-safety and module boundary issues during code reviews?

The best way to catch type-safety and module boundary issues during code reviews is to trigger architectural guideline checks on TS artifacts. Integrating these checks into PR processes provides immediate feedback on naming, typing, and error-handling practices.

Does this TypeScript style guide support .d.ts and .tsx files?

Yes, this TypeScript style guide supports .d.ts and .tsx files. It triggers on creation, modification, or review of all TypeScript artifacts including .ts, .tsx, and .d.ts file extensions, as well as TS configuration changes.

How do I maintain clear module boundaries in a TypeScript project?

To maintain clear module boundaries in a TypeScript project, apply architectural guidelines that guide interfaces and separation of concerns. This approach enforces consistent naming, strict typing, and maintainable code structure across TS modules.

Why does my TypeScript project have subtle type-related defects?

TypeScript projects have subtle type-related defects when they drift from consistent style and architectural guidelines. Enforcing strict type-safety and defined error-handling practices reduces this maintenance burden and prevents inconsistencies.

Can I integrate TypeScript coding standards checks into my CI pipeline?

Yes, you can integrate TypeScript coding standards checks into your CI pipeline. Configure your CI to run style-guide checks on TS artifacts to ensure immediate feedback on type-safety and architecture consistency during pull requests.