skill

Organize Unity game domains into a DDD-based framework with YAML frontmatter.

Updated Mar 7, 2023
One-click install
npx skills add https://github.com/Kojima-Tatsuki/BlackSmith.Domain --skill skill-kojima-tatsuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill
Source: https://github.com/Kojima-Tatsuki/BlackSmith.Domain/tree/main/Assets/Plugins/BlackSmith.Domain/docs/domains
Command: npx skills add https://github.com/Kojima-Tatsuki/BlackSmith.Domain --skill skill-kojima-tatsuki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Strategy and domain logic for Unity game codes often become tangled across many subsystems (Character, Inventory, Field, Item, PassiveEffect, Quest, Skill). This Skill Unit provides a cohesive, DDD-inspired structure to organize these domains into self-contained units that can be discovered, loaded, and extended independently.

Core Features & Use Cases

  • Domain-driven structure: clear separation of concerns (entities, value objects, services) for each domain.
  • Immutable value objects: safe, predictable state management for core concepts like Level, Experience, and Status Effects.
  • Extensible battle and progression systems: modular components for XP, combat stats, equipment, crafts, and passive effects.

Quick Start

  • Load the Skill Unit from the repository and review the frontmatter in SKILL.md to confirm its name and description.
  • Begin integrating domain modules (Character, Field, Inventory, Item, PassiveEffect, Quest, Skill) into your Unity project with the provided interfaces and models.
  • Extend or customize by adding new domain modules or scripts under scripts/ and updating references/assets as needed.

Frequently Asked Questions about skill

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

FAQPage Schema
How do I structure Unity game domains like Character and Inventory with Domain-Driven Design?

Structure Unity game domains with DDD by separating entities, value objects, and services for subsystems like Character and Inventory. This framework organizes complex domains into self-contained units that can be discovered and extended independently.

How do I manage state predictably for game progression and combat stats in Unity?

Manage state predictably in Unity by using immutable value objects for core concepts like Level, Experience, and Status Effects. This DDD-inspired approach ensures safe state management across extensible battle and progression systems.

Can I build modular quest and passive effect systems in Unity without tangling domain logic?

Yes, you can build modular quest and passive effect systems in Unity without tangled logic. This framework provides cohesive domain-driven boundaries for Quest and PassiveEffect, allowing these subsystems to be discovered, loaded, and extended independently.

How do I set up and load a DDD-based Unity domain framework?

Set up the DDD-based Unity domain framework by loading the Skill Unit from your repository. Review the YAML frontmatter in SKILL.md at the root to confirm its name and description, then integrate domain modules using provided interfaces and models.

Does this Unity DDD framework require external dependencies or specific components?

This Unity DDD framework requires no external dependencies. It supports optional scripts/, references/, and assets/ directories for automated tasks and documentation, relying entirely on standard Unity project structures to organize domain models.

Why does my Unity game code architecture become tangled across subsystems?

Unity game code architecture becomes tangled when strategy and domain logic span across many subsystems like Character, Field, and Item. Applying a DDD-inspired structure organizes these domains into self-contained units to restore scalable architecture.