home / skills / shotaiuchi / dotclaude / design-domain
This skill evaluates design proposals against domain best practices, reference architectures, and regulatory considerations to ensure correct bounded contexts
npx playbooks add skill shotaiuchi/dotclaude --skill design-domainReview the files below or copy the command above to add this skill to your agents.
---
name: design-domain
description: >-
Domain-specific design analysis. Apply when evaluating design proposals
against industry best practices, reference architectures, known pitfalls,
and domain-specific constraints.
user-invocable: false
---
# Domain Expert Perspective
Evaluate design proposals against industry knowledge and domain best practices.
## Analysis Checklist
### Domain Alignment
- Verify the design models core domain concepts accurately
- Check that ubiquitous language is used consistently across the proposal
- Assess whether bounded contexts are properly identified and separated
- Look for domain logic scattered outside the core domain layer
- Confirm that domain invariants are enforced at the appropriate level
### Reference Architectures
- Compare the proposal against established reference architectures
- Check for proven patterns applicable to this specific problem domain
- Verify that deviations from standard approaches are justified
- Assess whether case studies from similar systems support the design
### Industry Pitfalls
- Identify known anti-patterns specific to this domain
- Check for common failure modes seen in similar production systems
- Verify that lessons learned from public post-mortems are applied
- Look for scaling issues that are well-documented in the domain
### Regulatory & Compliance
- Check that data handling meets relevant regulatory requirements
- Verify audit trail and traceability requirements are addressed
- Assess whether retention and deletion policies are accounted for
- Look for jurisdiction-specific constraints that affect the design
## Output Format
Report findings with strength ratings:
| Strength | Description |
|----------|-------------|
| Strong | Well-aligned with domain best practices and standards |
| Moderate | Generally sound with some domain-specific gaps |
| Weak | Misaligned with established domain patterns or regulations |
| Neutral | Insufficient domain context to assess alignment |
This skill evaluates domain-specific design proposals against industry best practices, reference architectures, known pitfalls, and regulatory constraints. It delivers a concise assessment with actionable findings and a strength rating to guide decisions. The goal is to surface domain misalignments and practical remediation steps quickly.
I inspect the design for correct modeling of core domain concepts, consistent ubiquitous language, and proper separation of bounded contexts. I compare the proposal to established reference architectures and proven patterns, flag deviations, and verify whether justifications and case studies support them. I check for industry anti-patterns, common failure modes, scaling risks, and regulatory or compliance gaps, and then synthesize findings with a strength rating (Strong, Moderate, Weak, Neutral).
What output format do you provide?
I provide a concise findings report with concrete issues, recommended remediations, and a strength rating (Strong, Moderate, Weak, Neutral).
How deep is the compliance check?
I identify likely regulatory gaps and audit requirements but do not replace legal or full compliance audits; use my findings to focus deeper reviews.
Can you justify deviations from reference architectures?
Yes. I evaluate whether deviations are documented, supported by case studies or trade-off analysis, and whether risks are mitigated.