howto-code-in-typescript

Enforce TypeScript house-style guidelines for typing, naming, and immutability.

5|1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/ed3dai/ed3d-plugins-testing --skill howto-code-in-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: howto-code-in-typescript
Source: https://github.com/ed3dai/ed3d-plugins-testing/tree/main/plugins/ed3d-house-style/skills/howto-code-in-typescript
Command: npx skills add https://github.com/ed3dai/ed3d-plugins-testing --skill howto-code-in-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill consolidates TypeScript house-style guidelines and best practices to improve code quality, readability, and maintainability across projects.

Core Features & Use Cases

  • Typing discipline: promotes proper use of types, prefers type aliases over interfaces (where appropriate), and enforces readonly and immutable patterns.
  • Naming & structure: prescribes function declarations for top-level functions, named exports, and clear module organization to reduce drift.
  • FCIS alignment: guides Functional Core, Imperative Shell integration to minimize runtime exceptions and improve testability.

Quick Start

Apply the TypeScript house-style guidelines to a sample TS file to evaluate naming, typing, and immutability decisions.

Frequently Asked Questions about howto-code-in-typescript

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

FAQPage Schema
How do I enforce TypeScript naming conventions and immutability across a codebase?

To enforce TypeScript naming conventions and immutability, apply consolidated house-style guidelines that promote type aliases, readonly patterns, and named exports to reduce structural drift across projects.

What is the best way to structure a TypeScript project for Functional Core, Imperative Shell (FCIS) architecture?

The best way to structure a TypeScript project for FCIS architecture is to enforce functional core integration with an imperative shell, which minimizes runtime exceptions and improves testability.

Should I prefer type aliases over interfaces in TypeScript code reviews?

You should prefer type aliases over interfaces during TypeScript code reviews when appropriate, as part of enforcing typing discipline alongside clear module organization and function declarations.

Do I need named exports for top-level TypeScript functions?

You need named exports for top-level TypeScript functions because house-style guidelines prescribe function declarations for top-level functions and named exports to reduce drift and improve maintainability.

Can I use these TypeScript code style guidelines for project onboarding?

You can use these TypeScript code style guidelines for project onboarding, as they provide scope for consistent typing, immutable patterns, and clear naming across onboarding, code reviews, and maintenance.