Archunit_Import_Linter

🌐Community
by davidcastagnetoa · vlatest · Repository

This skill automatically imports ArchUnit rulesets into your project, ensuring consistent and maintainable architectural constraints.

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 archunit_import_linter npx -- -y @trustedskills/archunit_import_linter
2

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

~/.claude/settings.json
{
  "mcpServers": {
    "archunit_import_linter": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/archunit_import_linter"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill checks Java projects for correct import statements using ArchUnit's import linter. It verifies that all required imports are present and valid, helping to maintain code quality and prevent runtime errors due to missing dependencies. The skill ensures adherence to project-specific import rules and best practices.

When to use it

  • Automated Code Reviews: Integrate into CI/CD pipelines to automatically check for import issues during development.
  • Refactoring Large Projects: Quickly identify and correct incorrect or missing imports after significant code changes.
  • Onboarding New Developers: Enforce consistent import practices within a team by using the skill as part of onboarding processes.
  • Maintaining Legacy Codebases: Improve the reliability of older projects by systematically verifying import correctness.

Key capabilities

  • Java project import validation
  • ArchUnit integration
  • Automated code checking
  • Enforcement of import rules

Example prompts

  • "Check this Java project for incorrect imports."
  • "Run ArchUnit's import linter on my codebase."
  • "Verify that all required dependencies are imported correctly in src/main/java."

Tips & gotchas

  • Requires a Java development environment and ArchUnit to be installed.
  • The skill’s effectiveness depends on the accuracy of the project's configuration files.

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
davidcastagnetoa
Installs
4

🌐 Community

Passed automated security scans.