| name | deep-audit |
| description | Universal architectural auditor for any tech stack. Enforces Separation of Concerns, Clean Architecture, and best practices by identifying the project structure and detecting layer violations. |
Deep Audit Workflow
This skill performs a deep code analysis to identify architectural violations, code smells, and security risks. It is designed to be Universal, adapting its checks to the detected technology stack (Laravel, Node, Go, Python, Flutter, etc.).
Phase 1: Context & Stack Detection
- Identify Stack:
- Check root files:
composer.json (PHP), package.json (JS/TS), go.mod (Go), pom.xml (Java), pubspec.yaml (Dart), requirements.txt (Python).
- Map Architecture:
- Monolith/MVC:
Controllers, Models, Views.
- Frontend/SPA:
Components, Hooks, Store, Services.
- Clean Architecture:
Domain, Application, Infrastructure, Presentation.
- Microservices:
Handlers, Services, Repositories.
Phase 2: Universal Layer Invariants
Regardless of the stack, enforce these Universal Rules:
1. The UI / Presentation Layer
Files: _.blade.php, , , (Widgets),