rule-flutter-flutter-repository-workflow-glob

Enforce DTO-to-domain boundaries in Flutter repository code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Edits in flutter-app/lib/infrastructure/repositories/** must run the Repository Workflow to ensure consistent domain boundaries and enforce project-wide conventions.

Core Features & Use Cases

  • Enforces DTO → Domain mapping discipline; no DTO leakage.
  • Keeps raw transport payload ownership within DAO/DTO boundaries; repositories must not parse/build raw payload maps or perform inline map payload assembly.
  • For write flows, uses typed request DTO/command payload builders at the DAO boundary (including multipart assembly).
  • Documents pagination/filtering contracts and aligns with Laravel roadmap entries when APIs are implied.
  • Updates mock data/DTO documentation before merging.

Quick Start

Apply the Repository Workflow to flutter-app/lib/infrastructure/repositories/** whenever Flutter repositories change.

Frequently Asked Questions about rule-flutter-flutter-repository-workflow-glob

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

FAQPage Schema
How do I prevent raw payload map leakage in Flutter repository workflows?

To prevent raw payload map leakage in Flutter repository workflows, enforce strict DTO to Domain mapping boundaries. Repositories must not parse or build raw payload maps directly; instead, raw transport payload ownership must remain strictly within DAO or DTO boundaries.

Why do my Flutter repositories parse raw payload maps instead of using typed DTOs?

Flutter repositories parse raw payload maps when DTO to Domain mapping discipline is missing. Applying a repository workflow enforces typed request DTO and command payload builders at the DAO boundary, including multipart assembly, to stop inline map payload construction.

How to enforce DTO to Domain boundaries in flutter-app infrastructure repositories?

To enforce DTO to Domain boundaries in flutter-app infrastructure repositories, apply glob scoped repository workflow rules to the lib/infrastructure/repositories path. This maintains typed DTO and command usage at DAO boundaries and prevents raw payload leakage.

Do I need to update mock DTO data before merging Flutter repository changes?

Yes, you need to update mock DTO data and documentation before merging Flutter repository changes. The repository workflow requires mock data and DTO documentation to be fully synchronized prior to merge to maintain consistent domain boundaries.

What is the best way to document pagination contracts in Flutter repository workflows?

The best way to document pagination contracts in Flutter repository workflows is to enforce repository glob rules that require explicit documentation of pagination and filtering contracts, aligning them with Laravel roadmap entries when APIs are implied.

Can I use repository workflow glob rules for Flutter multipart request assembly?

Yes, you can use repository workflow glob rules for Flutter multipart request assembly. The workflow enforces typed request DTO and command payload builders at the DAO boundary, ensuring correct multipart assembly without raw payload map construction.