Pattern D: 親子一体 CRUD(マスター明細)

Community

Atomic parent-child CRUD in one screen and transaction.

Authorke-kishimoto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pattern D enables building and editing a parent entity and its multiple child items in a single screen and a single transaction, ensuring the aggregate root stays consistent.

Core Features & Use Cases

  • Atomic master-detail CRUD: Create, update, and delete a parent with a variable number of child rows in one operation.
  • Domain-driven design alignment: Model the parent as an aggregate root that encapsulates child items and enforce invariants within the domain.
  • Use Case: Order forms or invoices where an Order (header) contains multiple OrderLine items, saved together atomically.

Quick Start

Initialize a new master-detail workflow by creating an Order with multiple OrderLine items and save it in a single transaction.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Pattern D: 親子一体 CRUD(マスター明細)
Download link: https://github.com/ke-kishimoto/asp-todos/archive/main.zip#pattern-d-crud

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.