tsentials
Railway-oriented error handling and functional utilities for TypeScript
All Skills in This Repository (20)
Pure Emerald Level Indicatorstsentials-maybe
Represent optional values safely with the Maybe<T> container.
tsentials-time
Inject DateTimeProvider with UTC methods and a fake clock for deterministic tests.
tsentials-result
Model TypeScript operation outcomes with Result<T> and railway-oriented chaining.
tsentials-json
Parse and validate JSON safely using Result flows and type guards.
tsentials/record
Transform plain object maps into derived objects using functional query, map, filter, upsert, and reduce operations.
tsentials
Select tsentials modules and apply Result/Maybe patterns for TypeScript error-as-values workflows.
tsentials-http
Convert HTTP requests into typed Result<T> outcomes with RequestBuilder.
tsentials/array
Enforce non-empty array invariants with TypeScript types and utilities.
tsentials/these
Model partial success by pairing values with errors in a These structure.
tsentials-entity
Create DDD aggregate roots with audit tracking, soft deletion, and domain events in TypeScript.
tsentials/ord — Skill
Compare primitives and custom types with type-safe Ord-based ordering.
tsentials/tree
Build and traverse recursive hierarchical tree structures with query, transform, and fold operations.
Frequently Asked Questions
FAQPage SchemaHow to install tsentials?▼
Run `npx skills add senrecep/tsentials --all -g -y` in your terminal to install all skills in this suite globally.
What problem does tsentials solve?▼
It replaces exception-based error handling with explicit Result and Maybe types, so failures and missing values are visible in function signatures instead of crashing at runtime.
How do the tsentials skills help an AI coding agent?▼
Each skill documents exact method names, import paths, and common pitfalls, so the agent generates correct tsentials code on the first try without inventing nonexistent APIs.
Does tsentials work with Claude Code and other coding agents?▼
Yes. All skills follow the standard SKILL.md format and work in Claude Code, Cursor, Codex, and other compatible coding environments.
What TypeScript version does tsentials require?▼
It requires Node.js 18 or higher and TypeScript 5.0 or higher, and it is ESM-only with full tree-shaking support.
Related Repositories in Software Engineering
View All in Software Engineering→openclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core