Typescript Rules

🌐Community
by shinpr · vlatest · Repository

Enforces strict TypeScript coding standards and identifies potential errors within backend codebases.

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 typescript-rules npx -- -y @trustedskills/typescript-rules
2

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

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

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

About This Skill

What it does

This skill, typescript-rules, enforces and validates TypeScript code against established rules. It helps maintain consistent coding style and prevents common errors within a project. The skill can automatically format code, identify violations of defined rules, and suggest corrections to ensure adherence to best practices.

When to use it

  • Project onboarding: To quickly standardize the codebase for new team members or when integrating external code.
  • Automated linting in CI/CD pipelines: To prevent non-compliant code from being merged into production.
  • Refactoring existing TypeScript projects: To systematically improve code quality and consistency across a large codebase.
  • Enforcing coding standards: To ensure all developers follow the same rules for formatting, complexity, and potential errors.

Key capabilities

  • TypeScript rule enforcement
  • Code formatting
  • Violation identification
  • Correction suggestions

Example prompts

  • "Format this TypeScript file according to project rules."
  • "Check this code snippet for any violations of the TypeScript style guide."
  • "Identify and suggest fixes for potential errors in this component."

Tips & gotchas

This skill requires a pre-existing configuration of TypeScript rules (e.g., ESLint with appropriate plugins). Without such a configuration, it cannot effectively enforce or validate code.

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
shinpr
Installs
14

🌐 Community

Passed automated security scans.