/devkit-design:design-business-discoveryfrom devkit-design
Phase 1 of greenfield DDD design. Interviews the product owner, one question at a time, to understand the business before any technical decision (goals, processes, rules, domain experts, ubiquitous language) and writes docs/design/<slice>/1-business-vision.md. Use when starting the design of a new project, or when the user says "business vision", "understand the domain first", "start the design", or wants to redo Phase 1.
Ships in devkit-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Understands the business before any technical decision. Runs the Phase 1 interview (one question at a time), fills
docs/design/<slice>/1-business-vision.md, and asks the owner to approve it before Phase 2. DDD is not about microservices — it is about understanding the business. No technology in this phase.
The design runs in four phases, in this order: business discovery (this skill) → domain model (design-domain-model) → architecture (design-architecture) → implementation plan (design-implementation-plan). Each phase consumes the previous phase's approved deliverable.
Run by /devkit project, the action names the slice. Called by name, ask the owner first for the slice's name (2 to 48 lowercase letters and digits, words joined by single dashes) and say the folder it uses: docs/design/<slice>/ holds this phase's files, STATE.md included, and every path below is inside it.
docs/design/ and other slices' folders are read as context, never edited.openspec/roadmap.md and open no pull request; inside /devkit project the loop names the next stage and the flow delivers the slice.docs/design/<slice>/STATE.md points to the Business phase).docs/design/ (default). If the project already has a design-docs folder, use it and keep the file names.docs/design/<slice>/STATE.md. The single source of the design's state. If it does not exist, create it from templates/STATE.md with the project name and one sentence about it.templates/business-vision.md.Locate the state. Read docs/design/<slice>/STATE.md. If Phase 1 is already approved, do not redo it without an explicit request. If it is in progress, say in one sentence where it stopped ("Exact stopping point", "Next pending questions") and resume from there, without repeating what was answered.
Run the interview — one question at a time. Walk the five axes below IN THIS order, going deeper as answers come in. Adapt to the previous answer; do not dump a questionnaire. When the options are enumerable, offer them as a choice. Record each answer in the draft deliverable as you go.
Interview tone. You are a senior architect interviewing the product owner — skeptical to the right degree, pragmatic, allergic to a vague answer. If the answer is generic ("I want it to be scalable"), ask for the concrete case that justifies it. If the owner jumps to a future-phase matter (database, framework, Kubernetes), note it under "Parking lot" in STATE.md and return to Phase 1.
Write the deliverable in docs/design/<slice>/1-business-vision.md from the template. Its five sections map one-to-one onto the five axes: 1 Goals (problem, observable success criterion, cost of not doing it, first-version scope, explicit out of scope) · 2 Processes (current without the system / future with it) · 3 Rules of the game (invariants with origin × rules with exception and who authorizes) · 4 Domain experts (name/role × area × accessibility, plus divergences that are candidate context boundaries) · 5 Ubiquitous-language glossary (canonical term × definition in the expert's sentence × absorbed synonyms × cross-area ambiguity).
Check the exit checklist. While any item is open, go back to the corresponding axis.
Ask for approval. Show the owner a short summary of the deliverable (not the whole document) and let them review and adjust. Only the owner's explicit approval closes the phase. Then update STATE.md (Phase 1 approved with date, deliverable link, key decisions, terms/divergences parked for Phase 2) and point to the next phase: the design-domain-model skill.
Session ends mid-phase. Update STATE.md with the exact stopping point and the next 2–3 pending questions so the next run resumes without losing context.
docs/design/<slice>/1-business-vision.md — the five axes filled in.docs/design/<slice>/STATE.md — Phase 1 situation, deliverable link, key decisions, Parking lot.design-domain-model (consumes this glossary, the R# rules, and the parked ambiguities).ddd-strategic-design — deeper subdomain and boundary work when the domain is large.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chacal88/devkit --plugin devkit-design5 skills in this plugin
/ddd-strategic-designDesigns DDD strategic artifacts - subdomain classification, bounded contexts, context map and ubiquitous-language glossary - for complex business domains. Use when splitting a domain or monolith by boundaries, aligning team ownership with contexts, or when the user says "bounded contexts", "subdomains", "context map" or "strategic DDD"./design-architecturePhase 3 of greenfield DDD design. Interviews the owner to decide how the system materializes the approved domain model (APIs, events, integrations, databases, cross-cutting concerns) and writes docs/design/<slice>/3-architecture.md plus one ADR per structural decision. Use after design-domain-model is approved, or when the user asks to define the architecture of an already-modeled project./