smithery.ai

arch-verify

Verify Java architecture rules with ArchUnit. Use when you need to define or validate package or layer boundaries, dependency constraints, slices, or cyclic dependencies in Java projects, including during refactors or when adding governance checks to CI builds.

First seen Apr 8, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,951 B
  • docs SUMMARY.md 280 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

ArchUnit Verification

Workflow

  1. Identify the architectural rules to enforce (layers, packages, slices, cycles, coding rules).
  2. Choose the test framework (JUnit 4, JUnit 5, or plain unit tests).
  3. Add the matching ArchUnit dependency.
  4. Write ArchUnit rules in test sources and run them in CI.
  5. Use the Maven plugin when you need cross-repo governance.

Dependencies

JUnit 4

<dependency>
  <groupId>com.tngtech.archunit</groupId>
  <artifactId>archunit-junit4</artifactId>
  <version>1.4.1</version>
  <scope>test</scope>
</dependency>

JUnit 5

<dependency>
  <groupId>com.tngtech.archunit</groupId>
  <artifactId>archunit-junit5</artifactId>
  <version>1.4.1</version>
  <scope>test</scope>
</dependency>

Other test frameworks

<dependency>
  <groupId>com.tngtech.archunit</groupId>
  <artifactId>archunit</artifactId>
  <version>1.4.1</version>
  <scope>test</scope>
</dependency>

On-demand examples

  • Run scripts/fetch-examples.sh to clone examples only when needed.
  • Use --dest /tmp/archunit-examples to override the destination.
  • The default destination /tmp/archunit-examples is auto-cleaned when it already exists.
  • Use --clean to overwrite a custom destination.
  • Use example-junit4, example-junit5, or example-plain as the starting point.

Resources