| name | moai-lang-typescript |
| version | 2.1.0 |
| created | Wed Oct 22 2025 00:00:00 GMT+0000 (Coordinated Universal Time) |
| updated | Sun Nov 02 2025 00:00:00 GMT+0000 (Coordinated Universal Time) |
| status | active |
| description | TypeScript 5.7+ best practices with Vitest 2.1, Biome 1.9, strict typing, npm/pnpm/bun package management, and fullstack meta-frameworks (Next.js, Remix, etc.). |
| keywords | typescript, testing, vitest, biome, types, nextjs, remix, express, fastify, nestjs, sails |
| allowed-tools | Read, Bash |
Lang Typescript Skill
Skill Metadata
| Field | Value |
|---|---|
| Skill Name | moai-lang-typescript |
| Version | 2.1.0 (2025-11-02) |
| Allowed tools | Read (read_file), Bash (terminal) |
| Auto-load | On demand when keywords detected |
| Tier | Language |
What It Does
TypeScript 5.7+ best practices with Vitest 2.1, Biome 1.9, strict typing, npm/pnpm/bun package management, and fullstack meta-frameworks (Next.js, Remix, Express, Fastify, NestJS, Sails).
Key capabilities:
- ✅ Best practices enforcement for language domain
- ✅ TRUST 5 principles integration
- ✅ Latest tool versions (2025-11-02)
- ✅ TDD workflow support
- ✅ Fullstack meta-framework patterns (Next.js, Remix)
When to Use
Automatic triggers:
- Related code discussions and file patterns
- SPEC implementation (
/alfred:2-run) - Code review requests
Manual invocation:
- Review code for TRUST 5 compliance
- Design new features
- Troubleshoot issues
Tool Version Matrix (2025-11-02)
| Tool | Version | Purpose | Status |
|---|---|---|---|
| TypeScript | 5.7.2 | Primary | ✅ Current |
| Vitest | 2.1.0 | Primary | ✅ Current |
| Biome | 1.9.4 | Primary | ✅ Current |
| Bun | 1.1.0 | Primary | ✅ Current |
| pnpm | 9.14.2 | Primary | ✅ Current |
| npm | 11.0+ | Primary | ✅ Current |
| Next.js | 15.1.0 | Meta-framework | ✅ Current |
| Remix | 2.17.0 | Meta-framework | ✅ Current |
| Express.js | 5.1.0 | Web framework | ✅ Current |
| Fastify | 5.3.2 | Web framework | ✅ Current |
| NestJS | 11.1.8 | Enterprise framework | ✅ Current |
| Sails.js | 1.5.15 | MVC framework | ✅ Current |
Inputs
- Language-specific source directories
- Configuration files
- Test suites and sample data
Outputs
- Test/lint execution plan
- TRUST 5 review checkpoints
- Migration guidance
Failure Modes
- When required tools are not installed
- When dependencies are missing
- When test coverage falls below 85%
Dependencies
- Access to project files via Read/Bash tools
- Integration with
moai-foundation-langsfor language detection - Integration with
moai-foundation-trustfor quality gates
References (Latest Documentation)
Documentation links updated 2025-10-22
Changelog
- v2.0.0 (2025-10-22): Major update with latest tool versions, comprehensive best practices, TRUST 5 integration
- v1.0.0 (2025-03-29): Initial Skill release
Works Well With
moai-foundation-trust(quality gates)moai-alfred-code-reviewer(code review)moai-essentials-debug(debugging support)
Best Practices
✅ DO:
- Follow language best practices
- Use latest stable tool versions
- Maintain test coverage ≥85%
- Document all public APIs
❌ DON'T:
- Skip quality gates
- Use deprecated tools
- Ignore security warnings
- Mix testing frameworks