AgentStack
SKILL verified MIT Self-run

Flutter Domain Layer

skill-pedromneto97-custom-skills-flutter-domain-layer · by pedromneto97

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

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add skill-pedromneto97-custom-skills-flutter-domain-layer

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Flutter Domain Layer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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."

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.