What problem does it solve?
This Skill helps you prevent architectural violations by ensuring your three-layer structure stays clean: gui/ only renders and delegates, while core/ contains domain rules.
Core Features & Use Cases
- Cross-layer import auditing: Checks that
core/ and app/ do not import gui/, that gui/ does not import core/ directly, and that app/ does not pull in UI frameworks like customtkinter.
- Domain leakage detection in the view: Searches
gui/ for prohibited patterns such as direct database/file operations and accounting logic calls that should live in app/ or core/.
- Controller delegation validation: Reviews
gestor_contable/app/ to confirm controllers/use-cases import from core/ (not gui/) and that app/ remains UI-agnostic.
- Refactoring-aware reporting: Avoids reporting known, already-documented migration debt (per
CLAUDE.md) and focuses on newly introduced violations only.
Quick Start
Ask the AI to run an architecture audit for gestor_contable/gui/, gestor_contable/app/, and gestor_contable/core/ to report any new import or domain-logic leakage between layers.