audit-gui-layers

Community

Keep business logic out of the GUI

AuthorElPoot
Version1.0.0
Installs0

System Documentation

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.

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: audit-gui-layers
Download link: https://github.com/ElPoot/contabilidad/archive/main.zip#audit-gui-layers

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.