spec-domain

Transform UX artifacts into domain models and technical specifications.

Updated Feb 27, 2025
One-click install
npx skills add https://github.com/tuanemuy/dotfiles --skill spec-domain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-domain
Source: https://github.com/tuanemuy/dotfiles/tree/main/config/claude/skills/spec-domain
Command: npx skills add https://github.com/tuanemuy/dotfiles --skill spec-domain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

このスキルは、上流のUX成果物を受け取り、実装可能なドメイン設計と技術仕様へと落とし込むことが難しいという課題を解消します。

Core Features & Use Cases

  • 上流成果物からドメイン境界・エンティティを定義するドメイン設計を自動/半自動生成する機能
  • ADR記録とトレーサビリティの確保:設計判断をADRとして記録し、上流成果物とユースケース/ドメインモデルを結びつける
  • Phase間のガイドラインとアウトプット生成:Phase 0-5 のワークフローと成果物を整合させる
  • Use Case: ある要件セットからドメイン設計の入力を作成する例を示す

Quick Start

上流のUX成果物を提供すると、実装可能なドメイン設計が返されるようにしてください。

Frequently Asked Questions about spec-domain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate UX artifacts into a domain model ready for implementation?

To translate UX artifacts into a domain model, the Skill transforms upstream page structures and flows into concrete domain designs, ensuring implementable entities, use cases, and DB mappings. It applies structured workflows to map UX requirements directly to technical specifications.

What is domain driven design traceability and why is it important for requirements?

Domain driven design traceability links upstream requirements and user stories directly to use cases and domain models. This ensures every design decision adheres to architecture constraints and maintains alignment from initial scenarios through to technical specifications.

How do I generate ADRs from upstream user stories and site maps?

You can generate ADRs from user stories and site maps by processing them through the Skill's phased workflow. It automatically records architectural decisions and links them to the originating flows and domain boundaries to ensure full traceability.

Can I use this to define domain boundaries from existing requirements and scenarios?

Yes, you can define domain boundaries from existing requirements and scenarios. The Skill analyzes provided flows and site maps to automatically and semi-automatically generate domain entities and structures that adhere to your architecture constraints.

What is the best way to ensure my domain design adheres to architecture constraints?

The best way to ensure domain design adheres to architecture constraints is by enforcing traceability from upstream artifacts to use cases and DB mappings. The Skill validates domain models against set constraints and records decisions as ADRs.