Typescript Expert

🌐Community
by martinholovsky · vlatest · Repository

Generates, debugs, and optimizes TypeScript backend code following Martin Holovky's best practices for clean architecture.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add martinholovsky-typescript-expert npx -- -y @trustedskills/martinholovsky-typescript-expert
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "martinholovsky-typescript-expert": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/martinholovsky-typescript-expert"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The TypeScript Expert skill enables AI agents to generate, debug, and refactor robust backend code with strict type safety. It leverages deep knowledge of the TypeScript language ecosystem to produce production-ready solutions that minimize runtime errors.

When to use it

  • Building new backend services where compile-time type checking is required to catch errors early.
  • Refactoring existing JavaScript or loose TypeScript codebases to improve maintainability and scalability.
  • Generating complex utility functions, interfaces, and data models for API integrations.
  • Debugging intricate type inference issues or resolving conflicts between different library versions.

Key capabilities

  • Generates fully typed classes, interfaces, and generic types.
  • Implements strict null checks and union types to prevent runtime crashes.
  • Refactors legacy code into modern TypeScript patterns with improved type safety.
  • Creates comprehensive unit tests with mocked dependencies for backend logic.

Example prompts

  • "Create a REST API controller in TypeScript that handles user authentication using JWT tokens."
  • "Refactor this JavaScript function to use strict TypeScript typing and add error handling for edge cases."
  • "Generate a type-safe data validation schema for a complex order object using Zod or similar libraries."

Tips & gotchas

Ensure your AI agent has access to the specific npm packages you are using, as it may need to infer types from external dependencies. For large legacy codebases, break refactoring tasks into smaller chunks to maintain context and accuracy.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
martinholovsky
Installs
92

🌐 Community

Passed automated security scans.