konsist

Community

Enforce Kotlin architecture with Konsist tests.

AuthorClankerGuru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Konsist helps Kotlin teams enforce architectural constraints and code-quality rules by providing a PSI-aware testing DSL to write scope-based checks across the codebase.

Core Features & Use Cases

  • Scope creation with Konsist.scopeFromProject(), Konsist.scopeFromProduction(), and related APIs to define the code surface under test.
  • Declaration queries to locate classes, functions, properties, and other declarations, with rich filtering capabilities.
  • Flexible assertions to enforce architecture boundaries, naming conventions, packaging layouts, and annotations.
  • Architecture verification via reusable layers and cross-module checks, supporting end-to-end governance of code structure.
  • Seamless Kotest/JUnit integration for embedding architecture checks in your test suite.

Quick Start

Create a Konsist scope in your test and start asserting architecture rules with Kotest or JUnit.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: konsist
Download link: https://github.com/ClankerGuru/opsx/archive/main.zip#konsist

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.