Skip to main content

flutter-cqrs-usage

Explain what the `flutter-cqrs` plugin does and how to use it. Use when the user invokes `/flutter-cqrs-usage`, asks what this plugin covers, or needs help with queries, commands, repositories, or CQRS boundaries.

来源信息

仓库
leancodepl/ai-plugins
最近来源活动
2026年5月30日 07:25
检测到的 SKILL.md 语言
英语
星标
2
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
flutter-cqrs-usage
description
Explain what the `flutter-cqrs` plugin does and how to use it. Use when the user invokes `/flutter-cqrs-usage`, asks what this plugin covers, or needs help with queries, commands, repositories, or CQRS boundaries.
# CQRS Usage ## How to respond - If the user invoked this skill without a concrete task, start with a short explanation of what this plugin does and when it should be used. - Show how to use it through concrete CQRS tasks this plugin can handle. - Point to the main rule or the `data-access` skill, and route to `flutter-cubit-utils` when the task is really about base cubit selection. - If the user already gave a concrete CQRS task, briefly explain why this plugin fits and then do the work. - Do not reply with filler like "skill loaded", "ready for the task", or "what would you like to do?" before explaining the plugin. ## What this plugin does - Covers CQRS contracts, commands, queries, operations, and `Cqrs` client usage. - Covers contract generation and repository boundaries. - Clarifies when work should move to `flutter-cubit-utils` for base cubits and cubit recipes. ## How to use it - Ask to implement a new query or command. - Ask whether to call `Cqrs` directly or introduce a repository boundary. - Ask to refactor ad-hoc API code toward generated contracts. - Ask whether a task belongs here or in `flutter-cubit-utils`. ## Example requests - "Implement the CQRS query for booking details." - "Should this mutation go through a repository or direct `cqrs.run`?" - "Refactor this feature from manual API calls to generated contracts." ## Reach for these assets - `references/cqrs-data-access.md` - CQRS conventions and boundaries. - `skills/data-access/SKILL.md` - data-access workflow. - `skills/data-access/reference.md` - quick reference for commands, queries, contracts, and repositories. - Related plugin: `flutter-cubit-utils` - base classes and canonical recipes for `QueryCubit`, `PaginatedQueryCubit`, and request flows. - If the task is mainly about choosing or shaping a base cubit, switch to `flutter-cubit-utils`.
在 GitHub 查看