一键导入
validate-architecture
Verify architectural consistency and dependency rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify architectural consistency and dependency rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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).