lybtzyzs-arch-compliance
CommunityEnsure code adheres to architectural standards, automatically.
Software Engineering#code quality#architecture#code review#compliance#dependency analysis#technical debt#DDD
Authorshouqitao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automatically verifies that the project's codebase strictly adheres to its defined three-tier aligned architecture, DDD aggregate root principles, and Repository patterns. It proactively identifies and reports architectural violations, preventing technical debt and ensuring system maintainability and scalability.
Core Features & Use Cases
- Three-Tier Architecture Validation: Uses
serenato analyze project dependencies, ensuring correct flow (e.g., Presentation → Application → Infrastructure) and flagging any reverse or cross-layer dependencies. - DDD Aggregate Root Boundary Check: Scans code for direct modifications of aggregate root internal collections (e.g.,
medicalCase.Prescription.Items.Add(item)), recommending encapsulation through aggregate root public methods to maintain consistency. - Repository Pattern Enforcement: Verifies that repositories adhere to best practices, such as being interface-driven, having a single responsibility per aggregate root, and containing only data access logic (no business calculations).
- Use Case: During a code review or CI/CD pipeline, this Skill scans the codebase. If it finds a
Servicelayer directly modifying aPrescriptionentity's internal collection without going through theMedicalCaseaggregate root, it flags this as a DDD boundary violation and suggests the correct encapsulated approach.
Quick Start
Check the current codebase for architectural compliance.
Dependency Matrix
Required Modules
None requiredComponents
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: lybtzyzs-arch-compliance Download link: https://github.com/shouqitao/LYBTZYZS/archive/main.zip#lybtzyzs-arch-compliance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.