Typescript Import Style
Enforces consistent TypeScript import styles (order, separators, etc.) based on jpoutrin's preferred conventions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add typescript-import-style npx -- -y @trustedskills/typescript-import-style
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"typescript-import-style": {
"command": "npx",
"args": [
"-y",
"@trustedskills/typescript-import-style"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill standardizes TypeScript import styles within a project. It automatically formats imports to adhere to a consistent style, improving code readability and maintainability. The skill ensures that all imports follow a predefined pattern, reducing stylistic inconsistencies across different files.
When to use it
- Refactoring a large codebase: To enforce a uniform import style throughout an existing TypeScript project.
- New projects: To establish consistent coding standards from the outset.
- Team collaboration: To ensure all team members adhere to the same import style guidelines.
- Automated code formatting: Integrate with CI/CD pipelines for automatic import style enforcement.
Key capabilities
- Standardizes TypeScript imports.
- Enforces a consistent import style.
- Improves code readability and maintainability.
Example prompts
- "Format the imports in
src/components/Button.tsxto match project standards." - "Apply the standard TypeScript import style to all
.tsfiles in thelibdirectory." - "Reformat all imports according to the configured ruleset."
Tips & gotchas
The skill requires a defined TypeScript project with existing code and potentially, an established import style guide. Ensure your project's configuration (e.g., ESLint or Prettier) is compatible for optimal results.
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.