Typescript

From siviter-xyz/dot-agent · View interactive version

Typescript is an AI agent skill from the GitHub repository siviter-xyz/dot-agent. TypeScript standards and best practices with modern tooling. Use when working with TypeScript or TypeScript React files.

How to use this skill

Skill file

TypeScript Guidelines

Standards and best practices for TypeScript development with modern tooling. Follow these guidelines when writing or modifying TypeScript code.

Design Principles

Apply DRY, KISS, and SOLID consistently. Prefer functional approaches where relevant; use classes for stateful behavior. Use composition over inheritance. Each module should have a single responsibility. Use dependency injection for class dependencies.

Code Style

Type Safety

Type Patterns

Architecture

Module Organization

Dependency Management

Testing

Structure

Quality

Tools

Code Formatting and Linting

Prettier

ESLint

Framework Recommendations

For Non-Heavy Client Interaction

For Heavy Client Interaction

Build Tools

Package Management

Implementation

When implementing TypeScript code:

References

For monorepo-specific patterns using pnpm, see references/pnpm-monorepo.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.