with one click
validate-architecture
Verify architectural consistency and dependency rules
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Verify architectural consistency and dependency rules
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Compare branch against main and open a pull request via gh CLI
Validate project documentation against actual implementation
Generate tests following the project's existing conventions
Automatically determine minimum requirements for consuming the library
Generate release notes and prepare the next release
| name | validate-architecture |
| description | Verify architectural consistency and dependency rules |
Verify architectural consistency and dependency rules.
When invoked:
Detect project structure:
kotlin/settings.gradle.kts (:jujubasvg, :androidSampleApp)kotlin/build-logic/commonMain, androidMain, commonTest within :jujubasvgflutter/jujuba_svg/, sample at flutter/sample/Analyze dependencies between modules/packages:
:androidSampleApp depends on :jujubasvg:build-logic provides convention plugins (kmp-library-plugin, android-app-plugin) used by both:jujubasvg and :androidSampleAppcommonMain code must not depend on Android-specific APIsflutter/sample depends on flutter/jujuba_svg (local path dependency)Verify architecture rules:
:jujubasvg should not depend on :androidSampleAppexplicitApi() should be enforced (set in convention plugin)commonMain should not reference Android SDK types (use expect/actual)androidMainlib/core/, lib/model/, lib/util/ should respect layer separationDetect:
Produce a report:
Critical issues (cyclic deps, forbidden deps).
Potential issues (unused modules, unclear boundaries).
Suggested improvements (extract shared code, enforce layers).