Skip to content
Prompt

universal-bi — Cursor Rules

by 757607106

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "universal-bi — Cursor Rules" prompt rules to my project.
Repository: https://github.com/757607106/universal-bi

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

Cursor Rules for universal-bi

Project Context

This is a Universal AI-BI Platform. • Core Philosophy: Metadata-driven. DO NOT hardcode business logic (e.g., no Order class, no Product class). • Goal: Allow users to connect ANY database and analyze it using AI.

Frontend (Vue 3)

• Use Vue 3 with Script Setup (<script setup lang="ts">). • Use Element Plus for all UI components. • Use Tailwind CSS for layout and styling utility. • Use Pinia for state management. • Use ECharts 5 for data visualization. • API calls must be encapsulated in src/api/ modules.

Backend (FastAPI)

• Use FastAPI with Python 3.10+. • Use SQLAlchemy Core / Reflection for handling dynamic database schemas. • DO NOT define ORM models for user data. Use inspect(engine) to read table structures dynamically. • Use Pydantic for data validation and schema definitions. • Use Vanna for the Text-to-SQL AI engine. • Use PGVector for vector storage.

Coding Standards

• Comments: Write all comments and documentation in Chinese (Simplified). • Async: Use async/await for all I/O bound operations (DB, API calls). • Typing: Enforce strict Python type hints and TypeScript interfaces. • Error Handling: Always handle exceptions gracefully and return standard HTTP error responses.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 3mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues0
Updated3mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more