What problem does it solve?
This Skill eliminates inconsistent implementation and architectural leaks when writing code for the application crate of a Rust DDD web API project, ensuring all code adheres to the repository's established conventions for use case orchestration, DTOs, and dependency injection.
Core Features & Use Cases
- Pattern Enforcement: Guides implementation of command/query services, DTOs, registries, and error handling to match existing codebase standards.
- Scope Boundary Guidance: Clearly distinguishes application layer responsibilities from domain, infrastructure, and presentation layers to avoid cross-layer coupling.
- Use Case: When adding a new book checkout command, this Skill ensures you follow the correct AuditContext setup, DTO validation, and error translation patterns used across the project.
Quick Start
Use the application-layer skill to implement a new query service for fetching paginated book lists in the application crate, following the existing DTO and registry patterns.