Cursor AI Tricks That Made Me a Better Solo Developer (& more productive)
AI Summary
Video Summary: Cursor Productivity Tips
- Project Rules
- Set specific rules for AI in Cursor to avoid repeated corrections.
- Steps to create rules:
- Hit
Command + Shift + P
, select ‘New Cursor Rule’.- Name the rule and provide a clear description.
- Specify files/folders for the rule and write it in Markdown.
- Continuously update and expand rules as projects grow.
- Resources for custom rules linked in the video description.
- Chat Feature
- Used for asking code-related questions, brainstorming, debugging.
- Key Commands:
- Use
@
to provide context in questions.- Feed files/folders, internet search, reference documentation, and previous changes.
- Use
/
command to add active tabs to chat.- Upload/paste images into chat for better context.
- Agent Feature
- Executes coding tasks autonomously or with supervision.
- Usage Tips:
- Start with a good prompt; resources for prompting linked in description.
- Approve changes step-by-step or use ‘yolo mode’ for full autonomy.
- Recommended settings:
- Auto apply to files outside context in edit mode.
- Iterate on lints to allow self-correction of errors.
- Suggested model: Claude 3.7 Sonet for optimal performance.
Conclusion
Use these features in Cursor to enhance productivity and streamline the coding process.