agentsclimarketplace

Flutter domain layer

Skill pedromneto97/custom-skills/skills/flutter-domain-layer

List of custom agent skills

Install
npx -y skills add pedromneto97/custom-skills --skill flutter-domain-layer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

**WORKFLOW SKILL** — Minimal guidance for the domain layer in Flutter Clean Architecture (use `equatable`, `call()` pattern).

SKILL.md

1.2 KB, as published. Nobody here has run it

Flutter Domain Layer (summary)

Purpose: Minimal, opinionated guidance and templates for the domain/core layer.

Essentials

  • Entities: immutable models and value objects (use equatable for equality).
  • Repositories: abstract interfaces (ports) implemented by the data layer.
  • Use cases: interactors exposing a call() method.
  • Domain exceptions: typed domain errors; map infra errors in the data layer.

Structure

  • Suggested layout: lib/domain/entities/, lib/domain/repositories/, lib/domain/usecases/, lib/domain/exceptions.dart
  • Keep domain pure (no Dio or data imports).

Details and examples moved to reference docs:

  • references/entities.md
  • references/repositories.md
  • references/usecases.md
  • references/exceptions.md
  • templates/ — code templates (entity, repository, use case, exceptions)

Quick prompts

  • "Scaffold User entity (Equatable), UserRepository interface, GetUser use case, and domain exceptions."
  • "Create a GetUser unit test using a fake repository."

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.