scaffold-mvp-domain

Generate a DDD 4-layer MVP domain scaffold with TypeScript interfaces, DTOs, repositories, API clients, hooks, and components.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/semicolon-devteam/semo --skill scaffold-mvp-domain
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: scaffold-mvp-domain
Source: https://github.com/semicolon-devteam/semo/tree/main/packages/biz/poc/skills/scaffold-mvp-domain
Command: npx skills add https://github.com/semicolon-devteam/semo --skill scaffold-mvp-domain

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

MVP ๋„๋ฉ”์ธ์— ํ•„์š”ํ•œ 4-layer ์•„ํ‚คํ…์ฒ˜๋ฅผ ์ž๋™์œผ๋กœ ๊ตฌ์„ฑํ•ด ๋น ๋ฅธ MVP ๊ฐœ๋ฐœ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • 4-layer ๋„๋ฉ”์ธ ๊ตฌ์กฐ ์ž๋™ ์ƒ์„ฑ: app/{domain}/์— repositories/api-clients/hooks/components๋ฅผ ํฌํ•จํ•œ ๊ธฐ๋ณธ ํŠธ๋ฆฌ ์ƒ์„ฑ
  • ํ…Œ์ŠคํŠธ ๋””๋ ‰ํ† ๋ฆฌ ํฌํ•จ: tests ๋””๋ ‰ํ† ๋ฆฌ ๋ฐ ์˜ˆ์‹œ ํŒŒ์ผ ํฌํ•จ
  • ํ‘œ์ค€ํ™”๋œ ํŒŒ์ผ ๋„ค์ด๋ฐ: exports ๋ฐ ๋ชจ๋“ˆ ๊ตฌ์กฐ์˜ ์ผ๊ด€์„ฑ ํ™•๋ณด

Quick Start

์˜ˆ: /SEMO:scaffold-posts ํ˜ธ์ถœ ์‹œ posts ๋„๋ฉ”์ธ์˜ MVP ๊ตฌ์กฐ๊ฐ€ ์ž๋™ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.

Frequently Asked Questions about scaffold-mvp-domain

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

FAQPage Schema
How do I scaffold a DDD domain structure for MVP development?โ–ผ

DDD domain scaffolding automates creation of a 4-layer MVP structure under app/{domain}/ with repositories, API clients, hooks, and components folders. This generates a ready-to-use TypeScript foundation aligned to domain-driven design patterns, eliminating manual folder setup and file templates.

What folders and files does the 4-layer architecture include?โ–ผ

The 4-layer MVP scaffold creates app/{domain}/ with _repositories/, _api-clients/, _hooks/, _components/, _types/ folders, plus __tests__ directories with example files. Each layer follows standardized TypeScript naming conventions for consistent module exports and interface definitions.

Can I use this to enforce architecture consistency across multiple domains?โ–ผ

Yes. The scaffold applies the same 4-layer pattern across all domains you create, ensuring standardized folder structure, file naming, and interface patterns. This consistency makes it easier to onboard team members and maintain architecture across your MVP.

What's included in the TypeScript interfaces and DTOs generated?โ–ผ

The scaffold creates templated TypeScript interfaces, DTOs, and type definitions aligned to the 4-layer pattern. These templates provide a starting point for domain entities, API contracts, and hook signatures that you customize for your specific domain requirements.

Do I need prior setup or dependencies before running the scaffold?โ–ผ

No explicit dependencies are required. The scaffold generates a standalone 4-layer domain structure ready to use immediately. You only need a Next.js app with an existing app/ directory where the new domain folder will be created.

What happens if I already have partial domain folders?โ–ผ

The scaffold is designed for introducing new domains from scratch. For existing partial structures, you may need to manually integrate the generated layers or reorganize existing files to align with the 4-layer pattern.