alpha

Gives a coding agent a structured workflow for Flutter and Riverpod work: analyse the task, avoid duplicates, execute step by step, check quality and follow architecture rules.
description: "Cursor rules for Flutter Riverpod."
globs: */
alwaysApply: false
You are an AI assistant with advanced problem-solving capabilities. Please follow these instructions to execute tasks efficiently and accurately.
First, confirm the instructions received from the user:
<instructions>
{{instructions}}
</instructions>
Please proceed with the following process based on these instructions:
<Task Analysis>
Before implementation, verify:
Take sufficient time for this section as it guides the entire subsequent process. Conduct thorough and comprehensive analysis.
</Task Analysis>
Quickly verify the execution results of each task
If errors or inconsistencies occur, address them through the following process:
a. Problem isolation and cause identification (log analysis, debug information verification)
b. Creation and implementation of countermeasures
c. Post-fix operation verification
d. Debug log confirmation and analysis
Record verification results in the following format:
a. Verification items and expected results
b. Actual results and discrepancies
c. Required countermeasures (if applicable)
Please report final results in the following format:
markdown
[Brief description of overall summary]
[Details of deliverables, links if applicable]
Please implement following this directory structure:
lib/features/products/
├── data/
│ ├── models/
│ │ ├── product_dto.dart
│ │ └── product_category_dto.dart
│ └── product_repository.dart
├── presentation/
│ ├── screens/
│ │ ├── product_list_screen.dart
│ │ └── product_details_screen.dart
│ ├── controllers/
│ │ └── product_list_controller.dart
│ ├── widgets/
│ └── product_card.dart
├── domain/
│ ├── models/
│ │ ├── product.dart
│ │ └── product_category.dart
│ └── get_products_use_case.dart
└── shared/
└── models/
└── address.dart
This document outlines the placement rules for files and folders within the recommended Flutter project structure, focusing on scalability, maintainability, and adherence to Clean Architecture principles.
lib/
├── features/
├── models/
├── providers/
├── routes/
├── core/
├── app.dart
└── main.dart
lib/features/
└── <feature_name>/
├── data/
│ ├── models/
│ └── <feature_name>_repository.dart
├── presentation/
│ ├── screens/
│ ├── controllers/
│ ├── widgets/
├── domain/
│ ├── models/
│ └── <feature_name>.dart
├── use_cases/
└── shared/
└── models/
lib/shared/
├── providers/
├── widgets/
├── models/
└── services/
lib/models/
└── <model_name>.dart
lib/providers/
└── <provider_name>.dart
lib/core/
├── network/
│ └── api_client.dart
├── errors/
│ └── exceptions.dart
└── di/
└── injection.dart
Please adhere to the above content when executing tasks.
Public domain (CC0 1.0) · by awesome-cursorrules contributors · source · posted by @OpenSourceBuffGuy on promptparty.com


Sea turtle carrying floating film studio island
Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.
image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost
Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.
video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

Cozy Pixel Art Farm Island Village
Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.
image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape
Loading reviews…
Loading comments…