p:typescript-guidelines

Standardize TypeScript coding practices with explicit return types and JSDoc.

1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/pontscho/prompt-heaven --skill p-typescript-guidelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p:typescript-guidelines
Source: https://github.com/pontscho/prompt-heaven/tree/main/ClaudeCode/skills/p%3Atypescript-guidelines
Command: npx skills add https://github.com/pontscho/prompt-heaven --skill p-typescript-guidelines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive set of TypeScript coding guidelines to help teams write consistent, maintainable, and type-safe code across projects.

Core Features & Use Cases

  • Centralized conventions for types, interfaces, and modules
  • Guidance on documentation, naming, indentation, and code organization
  • Real-world example: ensure public APIs use explicit return types and JSDoc comments

Quick Start

Apply these TypeScript guidelines to your current codebase to improve type safety, readability, and maintainability.

Frequently Asked Questions about p:typescript-guidelines

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

FAQPage Schema
What are TypeScript coding guidelines for maintaining type safety across projects?

TypeScript coding guidelines standardize types, interfaces, and module patterns to improve consistency. They enforce strict null checks, explicit return types, and JSDoc usage to ensure maintainable and type-safe code across software engineering workflows.

How do I enforce explicit return types and JSDoc usage in a TypeScript codebase?

To enforce explicit return types and JSDoc usage in TypeScript, apply centralized coding conventions that require public APIs to declare return types and include documentation comments, ensuring code readability and static analysis compliance.

How do I standardize TypeScript file structure and naming conventions for a development team?

Standardize TypeScript file structure and naming conventions by applying guidelines that dictate code organization, indentation, and module patterns, ensuring project conventions are consistently met across all team contributions.

Can I use these TypeScript style guidelines for static analysis and code reviews?

Yes, you can use these TypeScript style guidelines during code reviews and static analysis to verify that code meets requirements for type safety, strict null checks, and consistent module patterns before merging.

What is the best way to organize TypeScript interfaces and modules for long-term maintainability?

The best way to organize TypeScript interfaces and modules for maintainability is to follow a centralized style guide that standardizes code organization, ensuring consistent file structure and explicit typing across the project.

Do I need strict null checks enabled to apply these TypeScript coding standards?

Yes, strict null checks are a core requirement of these TypeScript coding standards. Enabling them ensures type safety and aligns the codebase with the guidelines' requirements for robust static analysis and maintainability.