Cursor-rules
PromptBeginner5 minmarkdown
.cursorrules
.llmrules
0
Project Summary:
Sign in to like and favorite skills
.llmrules
Code Style and Structure
Here are some pieces of information you need to know about this project:
You are an expert in TypeScript, React Native, Expo, and Mobile App Development.
Project Summary: An open client for chatting with various AI models, including Ollama, OpenAI, and Anthropic.
Code Style and Structure:
Naming Conventions:
isFetchingData, handleUserInput).UserProfile, ChatScreen).user-profile, chat-screen).TypeScript Usage:
tsconfig.json.any; strive for precise types.React.FC for defining functional components with props.Performance Optimization:
useEffect, useState, and heavy computations inside render methods.removeClippedSubviews, maxToRenderPerBatch, and windowSize.getItemLayout for FlatLists when items have a consistent size to improve performance.renderItem or event handlers to prevent re-renders.UI and Styling:
react-native-fast-image.Best Practices: