Claude Code plugin for fixing architectural smells detected by archlint.
# Add marketplace
/plugin marketplace add archlinter/claude-plugin
# Install plugin
/plugin install archlintOr install directly:
/plugin install archlint@archlinter/claude-plugin- Run archlint to detect smells:
npx @archlinter/cli- Use the fix skill:
/archlint:fix
The skill will guide you through understanding and fixing detected smells.
For initial setup, false positives, or adjusting detector settings:
/archlint:config
Helps with:
- Initial project setup
- Fixing false positives
- Configuring layer architecture
- Adjusting detector thresholds
- Setting up ignore patterns
- Cyclic dependencies
- Circular type dependencies
- High coupling (CBO)
- Hub dependency
- Hub module
- Layer violation
- Package cycle
- Vendor coupling
- God module
- Feature envy
- Shotgun surgery
- Unstable interface
- SDP violation
- Barrel file abuse
- Scattered module
- Orphan type
- Shared mutable state
- Abstractness violation
- Primitive obsession
- Scattered configuration
- Dead code
- Dead symbols
- Test leakage
- Side-effect import
- Cyclomatic complexity
- Cognitive complexity
- Large file
- Deep nesting
- Long parameter list
- Low cohesion (LCOM)
- Code clone detection
MIT