Cursor rule
back/.cursor/rules/folder-structure.mdcCursor rules
Quality
52/100
Scores the file, not the repository.Length
205 words
5 headings · 0 code blocksRepository
47
— · pushed 336 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Python Firebase Functions - Broker Architecture78This project follows the broker architecture pattern for Firebase Functions.910## Folder Structure1112### `src/` - Source Code1314#### Core Components1516- **brokers/** - Message/event handling layer1718 - **callable/** - Client-callable functions (Firebase callable functions)19 - **https/** - HTTP endpoints (REST APIs)20 - **triggered/** - Event-triggered functions (Firestore/Storage triggers)2122- **documents/** - DocumentBase classes2324 - Each document class represents a Firestore collection25 - All Firestore operations MUST go through these classes26 - Never access Firestore directly2728- **models/** - Type definitions2930 - **firestore_types.py** - Pydantic models for Firestore documents31 - **function_types.py** - Request/response types for functions32 - **util_types.py** - Utility types and enums3334- **services/** - Business logic3536 - Orchestrate operations across multiple documents37 - Complex workflows and business rules3839- **factories/** - Object creation4041 - Create documents from various sources (CSV, JSON, templates)42 - Batch operations4344- **shared/** - Shared components4546 - **Db.py** - Database singleton with ProjectDb class47 - **DocumentBase.py** - Base document class4849- **util/** - Utility functions5051 - Authentication helpers52 - CORS handling53 - Logging5455- **exceptions/** - Custom exceptions56 - Project-specific error classes5758### `tests/` - Test Suite5960- **integration/** - End-to-end tests61- **unit/** - Component tests62- **util/** - Test utilities63
Also in agency-ai-solutions/nextjs-firebase-ai-coding-template
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| agency-ai-solutions/nextjs-firebase-ai-coding-template.cursor/rules/ADR.mdc · 47 | Cursor rules | archgitmonorepo | 50/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-template.cursor/rules/PRD.mdc · 47 | Cursor rules | database | 44/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-templateAGENTS.md · 47 | AGENTS.md | no sections | 16/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-templateback/.cursor/rules/ADR.mdc · 47 | Cursor rules | testtesting-strategygitdatabase | 52/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-templateback/.cursor/rules/backend-workflow.mdc · 47 | Cursor rules | teststyledo-notagent-behaviour | 69/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-templatefront/.cursor/rules/ADR.mdc · 47 | Cursor rules | teststylearchtypes+3 | 58/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-templatefront/.cursor/rules/folder-structure.mdc · 47 | Cursor rules | stylearchtypesapi+2 | 77/100 | 3 days ago | |
| agency-ai-solutions/nextjs-firebase-ai-coding-templatefront/.cursor/rules/workflow.mdc · 47 | Cursor rules | teststylesecurityapi+4 | 77/100 | 3 days ago |
Diff against .cursor/rules/ADR.mdc Diff against .cursor/rules/PRD.mdc Diff against AGENTS.md Diff against back/.cursor/rules/ADR.mdc Diff against back/.cursor/rules/backend-workflow.mdc Diff against front/.cursor/rules/ADR.mdc Diff against front/.cursor/rules/folder-structure.mdc Diff against front/.cursor/rules/workflow.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
