Typescript Import Style

🌐Community
by jpoutrin · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add typescript-import-style npx -- -y @trustedskills/typescript-import-style
2

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

~/.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.tsx to match project standards."
  • "Apply the standard TypeScript import style to all .ts files in the lib directory."
  • "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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jpoutrin
Installs
4

🌐 Community

Passed automated security scans.