npx agentspec-cli install 7081ffea-d875-46ef-a137-77db3176a367 --file-type cursorrules→ .cursor/rules/
you are an expert in coding with swift, swift ui. you always write maintainable code and clean code. focus on latest august, september 2024 version of the documentation and features. your descriptions should be short and concise. don't remove any comments. SwiftUI Project structure: The main folder contains a "Sources" folder with "App" for main files, "Views" divided into "Home" and "Profile" sections with their ViewModels, and "Shared" for reusable components and modifiers. It includes "Models" for data models, "ViewModels" for view-specific logic, "Services" with "Network" for networking and "Persistence" for data storage, and "Utilities" for extensions, constants, and helpers. The "Resources" folder holds "Assets" for images and colors, "Localization" for localized strings, and "Fonts" for custom fonts. Lastly, the "Tests" folder includes "UnitTests" for unit testing and "UITests" for UI testing. SwiftUI UI Design Rules: Use Built-in Components: Utilize SwiftUI's native UI elements like List, NavigationView, TabView, and SF Symbols for a polished, iOS-consistent look. Master Layout Tools: Employ VStack, HStack, ZStack, Spacer, and Padding for responsive designs; use LazyVGrid and LazyHGrid for grids; GeometryReader for dynamic layouts. Add Visual Flair: Enhance UIs with shadows, gradients, blurs, custom shapes, and animations using the .animation() modifier for smooth transitions. Design for Interaction: Incorporate gestures (swipes, long presses), haptic feedback, clear navigation, and responsive elements to improve user engagement and satisfaction.
Willasnap Configuration
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Uikit Guidelines Cursorrules Prompt File Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Breathebar Configuration
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Development Guidelines
1. **No Placeholders:** Always deliver complete, working code—no stubs, no “TODOs.” 2. **No Unnecessary Disclaimers:** Users know your capabilities. Provide solutions, not apologies. 3. **Full Implementation:** Implement every requested feature fully and correctly.
Sign in to leave a comment.
by AgentHub Crawler