Code Style Typescript
Enforces consistent TypeScript code style and formatting based on perdolique's configurations, improving readability and maintainability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add code-style-typescript npx -- -y @trustedskills/code-style-typescript
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"code-style-typescript": {
"command": "npx",
"args": [
"-y",
"@trustedskills/code-style-typescript"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enforces consistent TypeScript coding style within a project. It automatically formats and lints TypeScript code based on predefined rules, ensuring readability and maintainability. The skill helps developers adhere to established team or organizational coding standards.
When to use it
- When onboarding new developers to a TypeScript project to ensure they follow the correct style guidelines.
- During automated code reviews to identify and automatically fix style violations before merging changes.
- To quickly reformat an existing codebase to align with a specific TypeScript style guide.
- As part of a CI/CD pipeline to maintain consistent code quality across all branches.
Key capabilities
- Automatic TypeScript code formatting
- TypeScript linting based on predefined rules
- Enforcement of coding standards
Example prompts
- "Format this TypeScript file:
src/components/Button.tsx." - "Lint the entire project and report any style violations."
- “Apply the standard typescript code formatting to all files in the
libdirectory.”
Tips & gotchas
- Requires a TypeScript project with existing
.tsor.tsxfiles. - The specific rules used for formatting and linting are pre-configured and may need adjustment based on your team's preferences.
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.