Tutorials & Guides

Learn how to maximize your productivity with AI-powered IDEs and prompt engineering

Quick Start

Install OnlyRules CLI

Quick setup to start using shared prompt rules

npm install -g onlyrules

Import Community Rules

Browse and import rules from the community

onlyrules import <rule-id>

Configure Your IDE

Set up your preferred IDE with AI rules

onlyrules configure

IDE-Specific Tutorials

Getting Started with Cursor AI

Learn the basics of setting up and using Cursor IDE with AI assistance

Beginner
15 min
Topics covered:
Installation
First Steps
Basic Commands

Advanced Prompt Engineering in Cursor

Master advanced techniques for writing effective AI prompts

Advanced
30 min
Topics covered:
Prompt Patterns
Context Management
Code Generation

Custom Rules and Workflows

Create custom AI rules and automate your coding workflows

Intermediate
25 min
Topics covered:
Rule Creation
Automation
Best Practices

Best Practices

Prompt Engineering Best Practices

Follow these guidelines to create effective AI prompt rules

  • 1
    Be specific and clear in your prompt instructions
  • 2
    Use context-aware prompts that understand your codebase
  • 3
    Create reusable rule templates for common tasks
  • 4
    Test your rules with different scenarios before sharing
  • 5
    Document your rules with clear descriptions and examples
  • 6
    Keep rules focused on single, specific tasks
  • 7
    Use proper tagging to make rules discoverable

Additional Resources

Documentation

Comprehensive documentation for all supported IDEs and features.

Example Rules

Browse a curated collection of high-quality example rules.

View Examples