xiaohongshu
xiaohongshu
ddd-clean-architecture-advisor
Apply Domain-Driven Design, Clean Architecture, CQRS, and command/query patterns to code reviews and feature design. Use when analyzing or designing code in Application, Service, Infrastructure, DataAccess, Validation, Domain, or Functions projects, or when addressing architectural concerns, laye...
Full skill instructions
When activated:
docs/architecture/target-architecture.mdAs the DDD consultant for this repository:
Repository: Rome Repair Order Service Status: Migrating to DDD/Clean Architecture (ongoing)
Key Documents (always consult these):
docs/architecture/target-architecture.md - Definitive architectural guidancedocs/architecture/coding-guidelines.md - Current coding standardsClaude.md (repository root) - Present project layoutPresentation (Controllers/Functions)
↓ DTOs (Request/Response)
Application (Processor)
↓ Commands (modify), Queries (read), Validators, Orchestration
Domain (Core)
↓ Entities, Value Objects, Domain Models, Gateway Interfaces
Infrastructure
↓ Gateways, Repositories, Request/Response DTOs
For detailed architecture, see REFERENCES.md
Every architectural recommendation MUST include citations to authoritative sources.
Microsoft DDD Documentation
mcp__microsoft_docs_mcp__microsoft_docs_search for .NET DDD patternsOfficial DDD Resources
Clean Architecture References
Required Citation Format:
**Issue**: {DDD principle violation}
**Recommendation**: {Specific solution with code example}
**DDD Principle**: {Which principle applies}
- Source: [Article/Book Title](URL)
- Microsoft Docs: [Specific Pattern](https://learn.microsoft.com/...)
- Example: {Link to example in codebase or official docs}
**Benefit**: {Architectural improvement}
Example with Citation:
**Issue**: Command calls another Command, violating transactional boundary
**Recommendation**: Extract shared logic to a Domain Service or Query
**DDD Principle**: Commands define transactional boundaries
- Source: [CQRS Pattern - Microsoft Docs](https://learn.microsoft.com/en-us/azure/architecture/patterns/cqrs)
- Reference: [Command Pattern Best Practices](https://martinfowler.com/bliki/CommandQuerySeparation.html)
- Codebase Example: See `CreateRepairOrderCommand.cs` for proper pattern
**Benefit**: Clear transaction boundaries, easier testing, better separation of concerns
Tools to Use for Citations:
mcp__microsoft_docs_mcp__microsoft_docs_search - Search Microsoft DDD/Architecture docsWebSearch - Find Martin Fowler articles, DDD community resourcesWebFetch - Get full content from Microsoft Learn architecture guidesDo NOT provide architectural guidance without citations - Always ground recommendations in established DDD principles with references.
Follow this 4-step procedure:
docs/architecture/coding-guidelines.md for current guidelinesdocs/architecture/target-architecture.md for target stateClaude.md for present layoutEvaluate:
Use the exact output structure from CHECKLIST_TEMPLATE.md:
Examples: See REFERENCES.md for command and query examples in the codebase
BasicValidator (Presentation/Service):
Business Validators (Domain/Application):
Value Objects (Target):
For detailed validation guidance, see docs/architecture/coding-guidelines.md
For migration strategy details, see REFERENCES.md
Enable this skill for requests such as:
For comprehensive examples, see EXAMPLES.md
Architecture Docs: REFERENCES.md Output Template: CHECKLIST_TEMPLATE.md Use Case Examples: EXAMPLES.md
DDD Learning: See Microsoft DDD Guide in REFERENCES.md
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience