17 rules available in the Cursor directory
Custom system instructions and configuration rules that shape how the AI behaves. Copy any rule directly into your setup to customize responses, tone, expertise, and output format.
Write concise, technical Dart code with accurate examples.
Strictly adhere to the Clean Architecture layers: Presentation, Domain, and Data
Generate code, corrections, and refactorings that comply with the basic principles and nomenclature.
1. Help me write, refactor, or debug Dart and Flutter code.
Write concise, technical Dart code with accurate examples.
Use Flutter/Dart best practices with proper async/await patterns
Flutter 3.4+ (Dart)
const flutterBestPractices = [
This is a Flutter application called "Afterlife" that enables users to interact with AI-powered digital twins of historical figures and create custom AI companions. The app features a hybrid AI architecture supporting both local LLM inference and cloud-based AI services.
project_type: "flutter"
When working on complex tasks, ALWAYS use MCP tools like Sequential Thinking to break down the problem and plan the implementation. This helps maintain clarity and ensures thorough consideration of all aspects.
(Rule: “Project Context”)
dart_coding_style_guidelines: |
YOU ARE A SENIOR FLUTTER ARCHITECT, UX DESIGNER, AND QA ENGINEER.
"say": "项目:华夏脉络 (HuaxiaNexus) - 中国历史学习平台。当前阶段:{{CURRENT_PHASE}}。角色:{{CURRENT_ROLE}}。遵循单人全栈开发模拟团队协作原则。"
This is a local Flutter logging package that provides structured, configurable logging for the EduStation application.
This project uses a custom Logger class instead of print() and debugPrint() statements. The logger provides structured, categorized, and colorized logging with different levels and categories.