swe-programming-typescript

Enforces TypeScript coding standards and security guardrails for AI-generated code in polyglt monorepos.

3|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swe-programming-typescript
Source: https://github.com/wahidyankf/ose-primer/tree/main/.claude/skills/swe-programming-typescript
Command: npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents generating TypeScript code often produce inconsistent, non-idiomatic output that violates project coding standards, leading to increased technical debt and lengthy code review cycles.

Core Features & Use Cases

  • Quick Standards Reference: Provides at-a-glance guidance for TypeScript naming conventions, modern language features, error handling patterns, testing practices, and security guardrails.
  • Authoritative Source Alignment: All standards are derived from official project TypeScript documentation, ensuring consistency across the entire monorepo.
  • Use Case: When an agent is tasked with building a new TypeScript microservice for the OSE primer repo, this skill ensures it uses approved patterns like Result types for error handling and PascalCase for type definitions instead of anti-patterns like the any type.

Quick Start

Instruct your AI agent to write a type-safe TypeScript function that validates user input and returns a structured Result type, and it will automatically apply the project's coding standards defined in this skill.

Frequently Asked Questions about swe-programming-typescript

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

FAQPage Schema
How do I enforce TypeScript coding standards for AI agents?

To enforce TypeScript coding standards for AI agents, you need predefined rules for type inference, naming conventions, and error handling. This skill applies these standards automatically to ensure generated code is consistent and idiomatic.

What's the best way to standardize TypeScript error handling in AI generated code?

Standardizing TypeScript error handling in AI generated code is achieved by enforcing approved patterns like Result types. This ensures agents avoid anti-patterns such as the any type and return structured outputs for validated user input.

How do I prevent AI coding agents from using the any type in TypeScript?

Preventing AI coding agents from using the any type in TypeScript requires strict type-safety guardrails. This skill enforces type inference standards and modern language features aligned with authoritative documentation to eliminate technical debt.

Does this TypeScript coding standards skill work for monorepo development?

Yes, this TypeScript coding standards skill works for monorepo development. It is designed for OSE-style polyglot monorepos, ensuring consistent standards across backend services, frontend components, and shared library development.

Why does my AI agent generate inconsistent TypeScript naming conventions?

AI agents generate inconsistent TypeScript naming conventions because they lack project-specific context. This skill resolves the issue by providing at-a-glance guidance, enforcing rules like PascalCase for type definitions across all generated code.

Can I use this skill to build type-safe TypeScript microservices?

Yes, you can use this skill to build type-safe TypeScript microservices. When instructed to write a validating function, it automatically applies project coding standards, ensuring secure and idiomatic backend service implementation.