Typescript Strict Mode
Enforces strict TypeScript mode and best practices in Laurigates backend projects, improving code quality and reliability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laurigates-typescript-strict-mode npx -- -y @trustedskills/laurigates-typescript-strict-mode
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laurigates-typescript-strict-mode": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laurigates-typescript-strict-mode"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enforces strict mode in TypeScript projects, ensuring code adheres to stricter type checking and error prevention rules. It helps identify potential issues early on, leading to more robust and maintainable codebases. The skill automatically applies strict mode configurations and flags non-compliant code for review.
When to use it
- When starting a new TypeScript project to establish best practices from the beginning.
- During refactoring of existing JavaScript projects to gradually migrate to TypeScript with stricter rules.
- To proactively identify potential errors and improve code quality in ongoing development cycles.
- When collaborating on projects where consistent coding standards are crucial for team efficiency.
Key capabilities
- Automatic enforcement of
'strict'compiler options. - Identification of code violating strict mode rules.
- Improved type safety and error prevention.
- Enhanced code maintainability.
Example prompts
- "Apply TypeScript strict mode to this project."
- "Check for any violations of strict mode in my codebase."
- "Help me migrate this JavaScript file to TypeScript with strict mode enabled."
Tips & gotchas
This skill assumes a basic understanding of TypeScript and its compiler options. Existing code may require adjustments to fully comply with strict mode rules, potentially introducing new errors that need addressing.
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.