Skip to content
Back to skills

Fix Imports

ASecurity

Report or repair import order, barrel imports, and circular dependencies for a chosen scope. Use for "$fix-imports" requests.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
businessangular

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add hbrancalhao/_base --skill fix-imports --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fix Imports?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fix Imports
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hbrancalhao-fix-imports/badge)](https://www.skillsdirectory.com/skills/hbrancalhao-fix-imports)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fix-imports
description: Report or repair import order, barrel imports, and circular dependencies for a chosen scope. Use for "$fix-imports" requests.
---

# Import organization workflow

Parse `$fix-imports [scope] [--mode=report|fix] [--checks=order|barrel|circular|all]`; defaults are `affected`, `report`, and `all`.

1. Invoke `import-fixer` with the parsed options.
2. Enforce import order: Angular, third-party, PrimeNG, project/shared, then local.
3. Prefer direct project imports over barrel imports.
4. In fix mode, change only imports and run `npx nx affected:lint --base=HEAD~1` afterward.
5. Report each violation or applied fix with a file reference.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.