wf-flutter-create-repository-method

Create domain-aligned Flutter repository methods with DTO mappers and DI registration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flutter projects often struggle to keep DTO knowledge isolated in infrastructure while exposing domain-ready repositories, risking leakage of transport concerns into domain logic.

Core Features & Use Cases

  • Domain-contract driven repository scaffolding for Flutter apps to ensure consistent data access patterns.
  • DTO mapper and DAO boundary discipline that prevent transport-layer details from leaking into domain projections.
  • Clear DI registration and controller integration to enforce decoupled, testable architecture across features.

Quick Start

Scaffold the domain-aligned Flutter repository scaffolding and wire the new repository into DI for a sample feature.

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

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

FAQPage Schema
How do I prevent DTO knowledge from leaking into Flutter domain logic?

To prevent DTO leakage in Flutter, establish domain-aligned data access by isolating transport concerns in infrastructure. This ensures domain repositories expose only domain-ready projections, keeping transport-layer details strictly separated from core logic.

What is the best way to scaffold a domain-driven repository in Flutter?

The best way to scaffold a domain-driven repository in Flutter is driving the design from domain contracts. This enforces DAO boundary discipline, implements DTO mappers, and integrates dependency injection to maintain decoupled architecture.

How do I register a new Flutter repository in dependency injection?

Register a new Flutter repository in dependency injection by wiring it into your DI container during the repository integration phase. This enforces decoupled, testable architecture and ensures the domain feature has proper persistence APIs.

When do I need to refactor a Flutter repository for domain-driven design?

You need to refactor a Flutter repository for domain-driven design when existing repositories leak screen terminology or violate architecture boundaries. This occurs when persistence APIs require domain-aligned contracts to maintain strict feature isolation.

Does domain-driven repository scaffolding work with existing Flutter DAO boundaries?

Domain-driven repository scaffolding works with existing Flutter DAO boundaries by enforcing mapper implementation and DAO discipline. It prevents transport-layer details from leaking into domain projections while integrating with current persistence infrastructure.

Why does my Flutter domain repository contain transport-layer details?

Your Flutter domain repository contains transport-layer details because DTO knowledge is not properly isolated in infrastructure. Establishing domain-aligned data access with mapper boundaries prevents these transport concerns from leaking into domain logic.