standards-typescript

Enforce explicit export types and organized imports in TypeScript projects.

1.8k|153|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/maxritter/claude-pilot --skill standards-typescript-maxritter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: standards-typescript
Source: https://github.com/maxritter/claude-pilot/tree/main/pilot/skills/standards-typescript
Command: npx skills add https://github.com/maxritter/claude-pilot --skill standards-typescript-maxritter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of inconsistent TypeScript code by enforcing explicit types on exports, ensuring strong type-safety and predictable interfaces across a project.

Core Features & Use Cases

  • Detects and respects the project’s package manager (bun, pnpm, yarn, or npm) to avoid mixing tools.
  • Enforces explicit return types on all exported functions and promotes interfaces for object shapes.
  • Maintains a clean codebase with organized imports, concise self-documenting code, and consistent lint/type-check practices.

Quick Start

From the project root, run the skill to apply TypeScript standards across the codebase and ensure export typings and tooling checks are enforced.

Frequently Asked Questions about standards-typescript

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

FAQPage Schema
How do I enforce explicit return types on exported TypeScript functions?

To enforce explicit return types on exported TypeScript functions, run this skill from the project root to apply standards across the codebase, ensuring strict types and predictable interfaces.

What's the best way to prevent 'any' usage in a TypeScript project?

Preventing any usage in TypeScript is achieved by enforcing strict type-safety and interface-based type definitions. This skill checks your codebase to ensure no any usage is present.

Does this TypeScript linting tool support projects using bun or pnpm?

Yes, this tool supports projects using bun or pnpm. It detects and respects the project's package manager, including bun, pnpm, yarn, or npm, to avoid mixing tools during linting.

How do I automatically organize imports and maintain consistent TypeScript code style?

You can organize imports and maintain consistent TypeScript code style by applying this skill during installation and editing, which enforces concise self-documenting code and lint practices.

Why should I use interfaces instead of type aliases for object shapes in TypeScript?

Using interfaces for object shapes in TypeScript ensures strong type-safety and predictable interfaces across a project. This skill explicitly promotes interface-based type definitions over alternatives.