AI SummaryA Cursor IDE rules guide for CloudBase AI development that enforces scenario-based best practices across web, mini-program, database, and UI projects. Primarily beneficial for teams using CloudBase/Tencent Cloud within Cursor editor.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "LT-pdcs-nats-poc — Cursor Rules" prompt rules to my project. Repository: https://github.com/fbsqual/LT-pdcs-nats-poc Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Langtian NATS EDA Platform - Event-driven architecture with NATS JetStream, sql-flow, DuckDB Duck Lake, and React frontend
🎯 开发流程规范 - 场景识别与最佳实践
重要:为确保开发质量,AI 需要在开始工作前完成以下步骤:
1. 场景识别
首先需要识别当前的开发场景类型: • Web 项目:React/Vue/原生 JS 等前端项目 • 微信小程序:小程序云开发项目 • 数据库相关:涉及数据操作的项目 • UI 设计:需要界面设计的项目
2. 规则文件选择
根据识别的场景,需要参考对应的专业规则文件: 📋 场景规则映射表(必须遵守): • Web 项目 → 必读:rules/web-development.mdc + rules/cloudbase-platform.mdc • 微信小程序 → 必读:rules/miniprogram-development.mdc + rules/cloudbase-platform.mdc • 数据库操作 → 额外读:rules/database.mdc • UI 设计 → 额外读:rules/ui-design.mdc
3. 开发确认
在开始工作前建议向用户确认: • "我识别这是一个 [场景类型] 项目" • "我将严格遵循以下规则文件:[具体文件列表]" • "请确认我的理解是否正确"
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts