一键导入
provide-mock-data
Process for creating mock data sources in the infrastructure layer.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Process for creating mock data sources in the infrastructure layer.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Process for building, exporting, and registering reusable UI components in the packages/app_ui package. References design-to-code.md for design tokens (typography, colors, spacing).
Outlines the process for converting Figma designs into a structured, platform-aware Flutter implementation.
Use when completely removing the web platform from the project. Details how to delete directories/configurations, clean up app_ui web components, remove web-specific feature views (*_view_web.dart), prune conditional imports/logic, and run validation.
Use when asked to add, update, or group routes using GoRouter, or manage redirection guards.
Step-by-step workflow for creating, configuring, and updating Flutter golden tests using the Alchemist package.
Use when asked to create a new feature or sub-feature following the DDD-lite architecture, or set up state, view, and page layers for a domain.
| name | provide-mock-data |
| description | Process for creating mock data sources in the infrastructure layer. |
When you need to create mock data for development or prototyping, follow these guidelines:
lib/src/infrastructure/_mock/ directory._mock.dart (e.g., notifications_mock.dart).NotificationsRepository) that uses the mock data generator to simulate API responses, including adding artificial delays using Future.delayed to simulate network latency.