πŸ€– ai neuro

Cursor Meetup Takeaways: Hooks, Debug Mode, and Rules That Work

Cursor Meetup Takeaways

Attended a Cursor meetup and gathered some practical insights on their latest features and best practices.

New Features

FeatureWhat It Does
HooksPre-prompt checks β€” can scan for sensitive credentials before sending to LLM
Debug ModeAgent asks to reproduce bugs first, builds a hypothesis list before attempting fixes
MarketplaceShare rules, skills, commands, sub-agent types, and hooks with the community
Cursor 3One IDE for managing multiple projects

Rules Best Practices

❌ Don’t:

  • Write long, complex rules
  • Include general best practices the AI already knows

βœ… Do:

  • Start simple, iterate
  • Include company-specific/internal knowledge
  • Document edge cases and gotchas not found in public docs

Key Insights

  • Developer-written rules > AI-generated walls of text β€” specific context beats generic instructions
  • Hooks = middleware pattern for compliance and security checks
  • Debug mode = scientific debugging β€” hypothesis-driven approach before code changes

Sources

  • Cursor meetup (direct from Qepo)