gauntlet-rules
v1.0.2
Published
Elite Cursor Rules from Gauntlet AI graduates - CLI installer for modern development workflows
Maintainers
Readme
Gauntlet AI Cursor Rules 🚀
Welcome to the Gauntlet AI Cursor Rules repository! This is our team's shared collection of Cursor IDE rules designed to enhance productivity, maintain code quality, and streamline development workflows.
About Gauntlet AI
Gauntlet AI is not for the faint of heart. Only those with true grit, intelligence, and creativity make it through. Being among the few Gauntlet AI graduates is a rare and distinguished accomplishment.
What Are Cursor Rules?
Cursor Rules are powerful configuration files that help AI assistants understand your project context, coding standards, and preferences. They enable more accurate code suggestions, better refactoring, and consistent development patterns across your entire team.
📖 Learn more: Official Cursor Rules Documentation
🚀 Quick Start
Install rules instantly with our CLI:
# Install specific rule categories
npx gauntlet-rules install --design
npx gauntlet-rules install --infra
npx gauntlet-rules install --ai
# Install all rules at once
npx gauntlet-rules install --all
# List available categories
npx gauntlet-rules list⚡ CLI Features
- 🚀 Zero Configuration: Works instantly with
npx- no global installation needed - 📂 Smart Detection: Automatically creates
.cursor/rules/directory in your home folder - 🎯 Selective Installation: Install only the rule categories you need
- ✅ Success Feedback: Clear confirmation of what was installed and where
- 🛡️ Error Handling: Graceful handling of missing categories or permissions
- 📋 Category Listing: See all available rule categories before installing
Available Rules
🎨 Frontend & UI Development (--design)
| Rule | Description | Contributor | Version | |------|-------------|-------------|---------| | shadcn.mdc | Comprehensive shadcn/ui component guidelines with Tailwind CSS v4 best practices. Includes modern CSS-first configuration, dynamic utilities, and browser compatibility notes. | Patrick Skinner 🐦 🐙 | 1.0 |
⚙️ DevOps & Infrastructure (--infra)
| Rule | Description | Contributor | Version | |------|-------------|-------------|---------| | docker.mdc | Docker and containerization best practices for modern DevOps workflows. Multi-stage builds, security guidelines, and deployment patterns. | Patrick Skinner 🐦 🐙 | 0.1 | | firebase.mdc | Firebase and Angular/Ionic development best practices. Comprehensive guidelines for Firestore, Authentication, Functions, Hosting, and mobile/web app development with TypeScript. | Nataly 🐙 | 1.0 |
🤖 AI/ML Development (--ai)
| Rule | Description | Contributor | Version | |------|-------------|-------------|---------| | prompting.mdc | AI prompting best practices and LLM interaction patterns. Prompt engineering, context management, and agent design principles. | Patrick Skinner 🐦 🐙 | 0.1 |
How to Use These Rules
🥇 Method 1: CLI Installation (Recommended)
The fastest way to get Gauntlet AI rules into your project:
# Install specific categories
npx gauntlet-rules install --design # UI/UX rules
npx gauntlet-rules install --infra # DevOps rules
npx gauntlet-rules install --ai # AI/ML rules
# Or install everything
npx gauntlet-rules install --all📋 Method 2: Copy Individual Rules
- Browse the rules above and click on the rule you want
- Copy the content of the
.mdcfile - In your project, create a new Cursor Rule via Command Palette (
Cmd/Ctrl + Shift + P> "New Cursor Rule") - Paste the content and save
📦 Method 3: Clone the Repository
git clone https://github.com/PSkinnerTech/GauntletAI-Cursor-Rules.git
cd GauntletAI-Cursor-RulesThen copy the desired rules from rules/[category]/ to your project's .cursor/rules/ directory.
🔗 Method 4: Reference Rules
You can reference these rules in your project using the @file syntax:
@file https://raw.githubusercontent.com/PSkinnerTech/GauntletAI-Cursor-Rules/master/rules/design/shadcn.mdcContributing Your Rules
We encourage all Gauntlet AI team members to share their valuable Cursor Rules! Here's how to contribute:
Step 1: Create Your Rule
- Create a new
.mdcfile in the.cursor/rules/directory - Follow the existing naming convention:
[technology/purpose].mdc - Include a clear description and any necessary patterns/globs
Step 2: Document Your Rule
Add your rule to the appropriate section in this README with:
- Rule name and link
- Brief description
- Your name and social links
- Version number
Step 3: Submit a Pull Request
- Fork this repository
- Create a feature branch:
git checkout -b add/your-rule-name - Add your rule file and update the README
- Submit a pull request with a clear description
Rule Format Guidelines
---
description: "Brief description of what this rule does"
patterns: "*.tsx,*.ts" # File patterns where this rule applies
---
# Rule Name
Detailed explanation of the rule, its purpose, and how to use it.Best Practices
Following the official Cursor Rules documentation, here are key practices for creating effective rules:
Rule Structure & Content
- Keep rules concise: Target under 500 lines per rule
- Be focused and actionable: Write rules like clear internal documentation, not vague guidance
- Split large concepts: Create multiple, composable rules instead of one massive file
- Include concrete examples: Use
@filename.tsto reference template files or code examples
Rule Types & Scoping
- Choose the right rule type:
Always- For core standards that should always applyAuto Attached- For rules tied to specific file patterns (useglobs)Agent Requested- For contextual rules the AI can choose (requiresdescription)Manual- For specialized rules invoked with@ruleName
MDC Format Best Practices
---
description: "Clear, specific description of what this rule does"
globs: "*.tsx,*.ts" # File patterns where this applies
alwaysApply: false # Set based on rule type
---
# Rule content with specific, actionable guidanceOrganization & Reusability
- Use nested rules: Place
.cursor/rulesin subdirectories for domain-specific guidance - Reference related files: Include templates and examples with
@template-file.ts - Create reusable rules: If you're repeating the same prompt in chat, make it a rule
- Organize by domain: Frontend rules in
/frontend/.cursor/rules, backend in/backend/.cursor/rules
Content Guidelines
- Provide specific instructions: "Use zod for validation" vs "validate properly"
- Include templates: Reference boilerplate files for consistency
- Add workflow automation: Automate common development tasks
- Stay current: Update rules when technologies evolve (like our Tailwind v4 focus)
Testing & Validation
- Test rule activation: Verify
Auto Attachedrules trigger with correct file patterns - Check descriptions: Ensure
Agent Requestedrules have clear descriptions - Validate references: Confirm
@referenced-files.tsexist and are accessible - Test in context: Use rules in real scenarios before sharing
Contributors
Big thanks to all our team members who have contributed rules:
Add your name here when you contribute!
Happy coding! 🚀
Started with 🤖❤️ by Gauntlet AI Cohort 2
