Repo rules
- This provisioning code is designed to run on Manjaro Linux.
This file provides **Cursor AI** with guidelines and context for generating code and configuring the **Voice-Driven Photo & Document Manager**. It outlines the project scope, folder structure, dependencies, and specific prompts to ensure Cursor’s AI functions optimally for this project.
Sign in to like and favorite skills
- This provisioning code is designed to run on Manjaro Linux.
.llmrules
Code Style and Structure
This file provides Cursor AI with guidelines and context for generating code and configuring the Voice-Driven Photo & Document Manager. It outlines the project scope, folder structure, dependencies, and specific prompts to ensure Cursor’s AI functions optimally for this project.
floor=2, unit=205.floor=1.Language & Framework Prompts
create-react-app or Vite template.firebase npm package.Code Generation Approach
Directory Structure
VoicePhotoManager-iOS/ ├─ VoicePhotoManager.xcodeproj ├─ VoicePhotoManager/ │ ├─ App.swift │ ├─ ContentView.swift │ └─ FirebaseConfig.swift (for Firebase init) └─ Podfile
VoicePhotoManager-Web/ ├─ src/ │ ├─ App.js │ ├─ firebase.js (Firebase init) │ ├─ components/ │ └─ pages/ ├─ package.json └─ .gitignore
Required Dependencies
Podfile):
pod 'Firebase/Core' pod 'Firebase/Firestore' pod 'Firebase/Storage' pod 'Firebase/Auth' # if authentication is needed
package.json):
{ "dependencies": { "firebase": "^<latest_version>", "react": "^<latest_version>", "react-dom": "^<latest_version>" } }
Sample Prompts for Cursor
// Prompt: "Generate Swift code using Apple's Speech framework // to transcribe short voice commands. Return the recognized text."
// Prompt: "Generate Swift code to upload an image to Firebase Storage // and save its metadata (floor, unit) in Firestore."
// Prompt: "Generate a React component named 'PhotoGallery' that fetches // photo metadata from Firestore, displays images, and shows floor/unit tags."
// Prompt: "Generate a React hook that uses the Web Speech API // to capture voice input, convert to text, and filter a photo list accordingly."
Implementation Details
floor=2, unit=205.npm start or yarn start.Styling & UI
Deployment
When receiving user prompts in Cursor, ensure to:
Output minimal, well-organized code. Include inline comments for clarity. Provide short usage instructions if needed.