Enforcing Typescript Standards
Automatically flags and corrects TypeScript code to adhere to project-specific linting rules and best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add enforcing-typescript-standards npx -- -y @trustedskills/enforcing-typescript-standards
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"enforcing-typescript-standards": {
"command": "npx",
"args": [
"-y",
"@trustedskills/enforcing-typescript-standards"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The enforcing-typescript-standards skill integrates the eslint-config-decent configuration to automatically validate and correct TypeScript code against industry best practices. It ensures consistency across your backend projects by applying strict linting rules directly within your development workflow.
When to use it
- Standardizing new TypeScript repositories to prevent common coding errors from the start.
- Running automated checks in CI/CD pipelines to block non-compliant code merges.
- Refactoring legacy TypeScript codebases to align with modern, secure standards.
- Enforcing strict type safety and naming conventions across large teams.
Key capabilities
- Applies the
eslint-config-decentrule set specifically tailored for TypeScript environments. - Detects and reports violations of established backend coding standards.
- Provides actionable feedback to developers regarding syntax and structural issues.
Example prompts
- "Analyze my current TypeScript project structure and apply the decent ESLint configuration to identify any standard violations."
- "Generate a script that runs
eslint-config-decenton all files in the backend directory and outputs a summary of errors." - "Refactor this specific TypeScript module to comply with the strict typing and formatting rules defined in the decent config."
Tips & gotchas
- Prerequisites include having Node.js installed and an existing TypeScript project setup.
- This skill focuses on static analysis; it does not execute code or fix runtime logic errors, only style and type inconsistencies.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.