·typescript-patterns
</>

typescript-patterns

TypeScript best practices. Use when writing TypeScript code for backend services, API handlers, or shared utilities. Applies async/await patterns, typed errors, and strict type safety.

0Installs·0Trend·@cliangdev

Installation

$npx skills add https://github.com/cliangdev/specflux --skill typescript-patterns

How to Install typescript-patterns

Quickly install typescript-patterns AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/cliangdev/specflux --skill typescript-patterns
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: cliangdev/specflux.

SKILL.md

View raw

Async/Await Pattern Always use async/await, never callbacks or .then():

Discriminated Unions Use discriminated unions for type-safe state handling:

TypeScript best practices. Use when writing TypeScript code for backend services, API handlers, or shared utilities. Applies async/await patterns, typed errors, and strict type safety. Source: cliangdev/specflux.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cliangdev/specflux --skill typescript-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cliangdev/specflux --skill typescript-patterns
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from cliangdev/specflux

Quick answers

What is typescript-patterns?

TypeScript best practices. Use when writing TypeScript code for backend services, API handlers, or shared utilities. Applies async/await patterns, typed errors, and strict type safety. Source: cliangdev/specflux.

How do I install typescript-patterns?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cliangdev/specflux --skill typescript-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/cliangdev/specflux