wf-flutter-create-domain-method

Scaffold a Flutter domain aggregate with value objects, projections, repository contracts, and DI wiring.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/belluga/delphi-ai --skill wf-flutter-create-domain-method
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wf-flutter-create-domain-method
Source: https://github.com/belluga/delphi-ai/tree/main/.cline/skills/wf-flutter-create-domain-method
Command: npx skills add https://github.com/belluga/delphi-ai --skill wf-flutter-create-domain-method

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Introduce a comprehensive workflow for creating a new Flutter domain aggregate with full architectural rigor—covering docs, value objects, projections, repository contracts, and DI wiring—aligned with the "Belluga Now Flutter Architecture Overview" principles.

Core Features & Use Cases

  • Defines domain boundaries and governance for new Flutter modules, ensuring a domain-first structure.
  • Produces value objects, projections, repository contracts, and DI wiring to support backend-driven UI and DTO→Domain→Projection flows.
  • Applies when a Flutter feature requires business logic or data handling not covered by existing domains, enabling scalable, testable architecture.

Quick Start

Scaffold a new Flutter domain named <DomainName> and generate the domain skeleton (value objects, projections, repository contracts, and DI wiring).

Frequently Asked Questions about wf-flutter-create-domain-method

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

FAQPage Schema
How do I scaffold a new Flutter domain with value objects and repository contracts?

Scaffolding a Flutter domain requires generating value objects, projections, repository contracts, and dependency injection wiring. This creates a domain-first structure that supports backend-driven UI and DTO to domain to projection flows for scalable feature architecture.

What is domain-driven architecture in Flutter and when do I need it?

Domain-driven architecture in Flutter separates business logic into bounded aggregates with value objects and projections. You need it when a feature requires business logic or data handling not covered by existing domains, ensuring scalable and testable architecture.

How do I set up dependency injection wiring across feature-first boundaries in Flutter?

Dependency injection wiring across feature-first boundaries is set up by connecting repository contracts and infrastructure mappers during domain creation. This ensures new domain aggregates are properly wired according to architectural principles for backend-driven data flows.

Can I generate repository contracts and projections for a new Flutter module?

Yes, generating repository contracts and projections for a new Flutter module is part of domain scaffolding. The process produces these components alongside value objects and documentation to enforce domain boundaries and governance for the new feature.

What's the best way to structure a Flutter domain aggregate for backend-driven UI?

The best way to structure a Flutter domain aggregate is using a domain-first approach with value objects, projections, and repository contracts. This supports backend-driven UI by enabling clean DTO to domain to projection data transformation flows.

Does this Flutter domain scaffolding approach work with existing feature modules?

This domain scaffolding approach applies when a Flutter feature requires business logic or data handling not covered by existing domains. It introduces new aggregates with full architectural rigor without disrupting existing feature-first boundaries.