common-accessibility
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Enforce inward dependency flow, pure domain layers, and DTO-to-entity mapping in Flutter DDD architecture. Use when structuring layers or boundaries; defer navigation-only routing and feature implementation such as notifications.
Claude Code
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture --agent claude-code
Codex
$ npx skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture -a codex -y
Cursor
$ npx skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture -a cursor -y
Gemini CLI
$ npx skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture -a github-copilot -y
OpenCode
$ npx skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture -a opencode -y
Windsurf
$ npx skills add hoangnguyen0403/agent-skills-standard --skill flutter-layer-based-clean-architecture -a windsurf -y
name: flutter-layer-based-clean-architecture
description: Enforce inward dependency flow, pure domain layers, and DTO-to-entity mapping in Flutter DDD architecture. Use when structuring layers or boundaries; defer navigation-only routing and feature implementation such as notifications.
metadata:
triggers:
files:
- 'lib/domain/**'
- 'lib/infrastructure/**'
- 'lib/application/**'
keywords:
- dto
- mapper
- Either
- Failure1. Define domain entity with `@freezed` in `lib/domain/entities/` 2. Define repository interface in `lib/domain/repositories/` 3. Create DTO in `lib/infrastructure/dtos/` with `fromJson`/`toEntity` mapper 4. Implement repository in `lib/infrastructure/repositories/` 5. Wire BLoC/Cubit in `lib/application/` consuming repository interface 6. Register bindings in `get_it` injection container 7. Build screen in `lib/presentation/` using `BlocBuilder`
lib/ ├── domain/ # Pure Dart: entities (@freezed), failures, repository interfaces ├── infrastructure/ # Implementation: DTOs, data sources, mappers, repo impls ├── application/ # Orchestration: BLoCs / Cubits └── presentation/ # UI: Screens, reusable components
See [DTO-to-Entity mapping example](references/REFERENCE.md).
For full implementation templates and DTO-to-Domain mapping examples: See [references/REFERENCE.md](references/REFERENCE.md).
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
The portable standards layer for AI coding agents. Sync once, then work in your own runtime.
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Define deterministic guardrails for agent tool calls — protected paths, test-file locks during bug fixes, post-edit formatters,…
Apply REST API conventions — HTTP semantics, status codes, versioning, pagination, and OpenAPI standards for any framework. Use…
Audit structural debt, logic leakage, and monolithic components across Web, Mobile, and Backend codebases. Use when reviewing…
Draws architecture diagrams as editable draw.io files with a fixed house style, C4 levels, evidence-tagged shapes, and optional…
Enforce SOLID principles, guard-clause style, function size limits, and intention-revealing naming across all languages. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.