| name | moai-domain-design-handoff |
| description | Claude Design handoff package specialist for the /design Path A workflow. Assembles 5-file
handoff bundle (prompt/context/references/acceptance/checklist) for paste-ready
claude.com Design session. Handles brand-absent fallback and section regeneration.
Use for /design Path A design handoff: assembling the 5-file Claude
Design package (prompt, context, references, acceptance, checklist),
brand-voice context, and paste-ready claude.com session bundles.
|
| user-invocable | false |
| version | 0.2.0 |
Design Handoff Domain Specialist
Assembles the 5-file Claude Design handoff package for the /design Path A workflow (the handoff-deliverable step). The package is designed for paste-and-go use in the external claude.com Design product.
Quick Reference
The handoff package lives at .moai/design/handoff/:
| File | Purpose | Paste target |
|---|
prompt.md | Master prompt โ paste directly into claude.com Design | Yes (primary) |
context.md | Extended context for reference during design session | Optional supplement |
references.md | Visual reference URLs and design inspiration sources | Referenced in prompt |
acceptance.md | Design acceptance criteria (WCAG, responsive, brand) | Referenced in prompt |
checklist.md | Pre-paste self-check before using in claude.com Design | Human review tool |
Key guarantees:
- [HARD]
prompt.md contains NO MoAI-specific tokens (no SPEC-, .moai/, manager-, internal skill names)
- [HARD] Brand voice integrated when
.moai/project/brand/brand-voice.md exists
- [HARD] Brand-absent fallback:
Brand Voice (default โ please customize) placeholder section
- [HARD] Handoff exits with AskUserQuestion offering 3 options (a/b/c per the relevant requirement)
- [HARD] All 5 files produced regardless of brand context availability
Handoff Package Assembly
Input
- Bundle summary from
cd-handoff-reader (the preceding Path A step) โ what the user wants designed, target users, value propositions
- Brief from
cd-brief when the request originates from a design brief (Lean Canvas / evaluation context)
- Optional:
.moai/project/brand/brand-voice.md (brand context)
- Optional:
.moai/project/brand/visual-identity.md (design tokens, colors)
Step 0: Brand Context Detection
Before writing any file, check brand context:
IF .moai/project/brand/brand-voice.md exists AND is non-empty:
Load brand voice โ use in Brand Voice section of prompt.md
SET brand_present = true
ELSE:
Use default brand voice placeholder
SET brand_present = false
Note: will include AskUserQuestion offer to run brand interview
Step 1: Assemble prompt.md
prompt.md MUST follow this exact 5-section structure:
- Goal โ 2-3 sentences describing what needs to be designed, target users, top 3 value propositions from the bundle summary / brief UVP
- References โ 3-5 URLs to existing products with style notes, plus key aesthetic direction
- Brand Voice โ Two branches (brand_present vs brand_absent), see decision below
- Acceptance Criteria โ Concise non-negotiable requirements list (5-8 items)
- Out of Scope โ Explicit exclusions (3-5 items)
Section 3 โ Brand Voice Decision Tree
- Branch A (
brand_present = true): Extract personality + voice guidelines + color palette + typography from brand-voice.md and visual-identity.md
- Branch B (
brand_present = false): Emit ## 3. Brand Voice (default โ please customize) header with explicit placeholder + instructions to either edit or run brand interview
See 5-section prompt template + brand branches detail for verbatim section templates.
Prohibited Content in prompt.md
[HARD] The following MUST NOT appear anywhere in prompt.md:
- References to
SPEC- identifiers (e.g., SPEC-AUTH-001)
- References to
.moai/ paths (e.g., .moai/design/, .moai/project/)
- References to internal skill / agent names (e.g.,
manager-spec, cd-brief, cd-handoff-reader)
- References to internal workflow step identifiers
- References to MoAI-specific commands (e.g.,
/design, /moai plan)
- Internal implementation details (file structures, Go code, database schemas)
The prompt must read as if written by a human product designer with no knowledge of MoAI's internal structure.
Steps 2-5: Supporting Files
| Step | File | Purpose |
|---|
| 2 | references.md | Competitor analysis + visual inspiration + UX pattern references (3-5 URLs from the bundle's Sources). Falls back to instructional note when URLs are scarce. |
| 3 | acceptance.md | Accessibility (WCAG 2.1 AA), Responsiveness (375/768/1280px), Brand Alignment, Content Completeness, Technical Constraints |
| 4 | context.md | Extended context โ NOT for pasting into Claude Design. Full brief summary, roadmap context, research findings, brand context |
| 5 | checklist.md | Human self-check before pasting prompt.md: content review, MoAI-internal cleanup (auto-verified), scope verification, session readiness |
See supporting files templates for verbatim references.md, acceptance.md, context.md, and checklist.md templates.
Handoff Exit: AskUserQuestion
After all 5 files are written, the skill MUST surface an AskUserQuestion (with ToolSearch preload) presenting 3 options:
ToolSearch(query: "select:AskUserQuestion")
AskUserQuestion({
questions: [{
question: "ํธ๋์คํ ํจํค์ง๊ฐ ์ค๋น๋์์ต๋๋ค. ๋ค์ ๋จ๊ณ๋ฅผ ์ ํํ์ธ์.",
header: "Design ํธ๋์คํ ์๋ฃ",
options: [
{
label: "Claude Design ์ธ์
์์ (๊ถ์ฅ)",
description: "prompt.md๋ฅผ claude.com Design์ ๋ณต์ฌํด ๋ถ์ฌ๋ฃ๊ณ ๋์์ธ ์ธ์
์ ์์ํฉ๋๋ค. context.md/references.md๋ ๋ณด์กฐ ์๋ฃ๋ก ํจ๊ป ์ฝ๋๋ค."
},
{
label: "์๋ ๊ฒํ ",
description: "ํธ๋์คํ ํ์ผ์ ์ง์ ๊ฒํ ํ๊ณ ํ์ํ ๊ฒฝ์ฐ ํธ์งํฉ๋๋ค. .moai/design/handoff/ ๋๋ ํ ๋ฆฌ๋ฅผ ํ์ธํ์ธ์. ์ค๋น๊ฐ ๋๋ฉด prompt.md๋ฅผ Claude Design์ ๋ถ์ฌ๋ฃ์ผ์ธ์."
},
{
label: "ํธ๋์คํ ํจํค์ง ์ฌ์์ฑ",
description: "prompt.md ๋๋ ๋ค๋ฅธ ํ์ผ์ ์์ ์ด ํ์ํ ๊ฒฝ์ฐ ์ด๋ค ๋ถ๋ถ์ ๋ณ๊ฒฝํ ์ง ์๋ ค์ฃผ์ธ์. ํด๋น ํ์ผ๋ง ์ฌ์์ฑํฉ๋๋ค."
}
]
}]
})
For non-Korean conversation_language, translate option labels and descriptions accordingly.
Works Well With
cd-brief: Produces the design brief (Lean Canvas + value propositions) consumed as primary input when the request originates from a brief
cd-system-prep / design-system-library: Provides reference URLs and visual inspiration for the references.md Sources
cd-handoff-reader: Preceding Path A step โ summarizes the imported bundle into the inputs this skill consumes
moai-workflow-design: Downstream consumer of the .moai/design/handoff/ directory after the user completes the external Claude Design session (Path A handler)
Common Rationalizations
| Rationalization | Reality |
|---|
| "Including SPEC-AUTH-001 in prompt.md helps the designer understand scope" | prompt.md is for claude.com Design, not MoAI. SPEC IDs are internal. Use the Out of Scope section to describe scope boundaries in plain English. |
| "I should skip checklist.md โ it's obvious" | Checklist.md prevents the most common error: pasting a prompt with placeholder Brand Voice. It takes 30 seconds to complete and saves a bad design session. |
| "references.md is optional if research had no URLs" | references.md is always produced. When URLs are scarce, include a note asking the user to add their own. An empty references file is worse than one with instructions. |
| "If brand is absent, skip the Brand Voice section" | Brand Voice section is always present. Brand-absent path produces an explicit placeholder with instructions โ clearer than a missing section. |
Verification