An open API service indexing awesome lists of open source software.

https://github.com/salahu01/ide-agent-rules

๐Ÿค– Comprehensive coding standards and best practices for AI-powered IDEs and coding assistants
https://github.com/salahu01/ide-agent-rules

ai ai-agents aicoding best-practices cursor cursorrules dart flutter trae

Last synced: 4 months ago
JSON representation

๐Ÿค– Comprehensive coding standards and best practices for AI-powered IDEs and coding assistants

Awesome Lists containing this project

README

          

# IDE Agent Rules Repository

> **Empowering AI coding assistants with comprehensive guidelines for better, cleaner, and more readable code**

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/yourusername/IDE-Agent-Rules/graphs/commit-activity)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](CONTRIBUTING.md)
[![Flutter](https://img.shields.io/badge/Flutter-02569B?style=flat&logo=flutter&logoColor=white)](https://flutter.dev)
[![Dart](https://img.shields.io/badge/Dart-0175C2?style=flat&logo=dart&logoColor=white)](https://dart.dev)

## ๐ŸŽฏ Purpose

This repository contains curated rules and guidelines designed to help IDE agents (like Cursor, TRAE, etc.) generate higher quality, more maintainable code. These rules are based on established software engineering principles and best practices, adapted for modern development workflows.

## ๐Ÿ—๏ธ Repository Structure

```
IDE-Agent-Rules/
โ”œโ”€โ”€ README.md # This file - repository overview
โ”œโ”€โ”€ 1_clean_code/ # Clean code principles and guidelines
โ”‚ โ”œโ”€โ”€ README.md # Comprehensive clean code guide
โ”‚ โ””โ”€โ”€ clean_code.md # Cursor-specific clean code rules for Dart/Flutter
โ””โ”€โ”€ [Future sections coming soon...]
```

## ๐Ÿ“š Current Content

### 1. Clean Code Principles (`1_clean_code/`)

**What it contains:**

- Comprehensive clean code guidelines based on Robert C. Martin's "Clean Code"
- Language-specific examples for Dart and Flutter
- Practical implementation strategies
- Code smell identification and resolution
- Team adoption guidelines

**Key topics covered:**

- Meaningful naming conventions
- Function design principles
- Class organization and responsibility
- Error handling best practices
- Testing guidelines
- Code formatting standards

**Target audience:**

- Flutter/Dart developers
- Teams adopting clean code practices
- AI coding assistants
- Code reviewers and maintainers

## ๐Ÿš€ How to Use

### For Developers

1. **Read the guides** - Start with the clean code principles
2. **Apply the rules** - Use these guidelines in your daily coding
3. **Share with your team** - Help establish coding standards
4. **Contribute improvements** - Add your own insights and examples

### For IDE Agents

1. **Reference these rules** when generating code
2. **Apply clean code principles** automatically
3. **Suggest improvements** based on established guidelines
4. **Maintain consistency** across codebases

### For Teams

1. **Establish coding standards** based on these guidelines
2. **Use in code reviews** as a reference
3. **Train new team members** with these principles
4. **Improve code quality** systematically

## ๐Ÿ”ฎ Coming Soon

This repository is actively growing! Future sections will include:

- **Architecture Patterns** - Clean architecture, SOLID principles
- **Testing Strategies** - TDD, BDD, testing best practices
- **Performance Guidelines** - Optimization and efficiency rules
- **Security Best Practices** - Secure coding guidelines
- **Documentation Standards** - Code documentation and API docs
- **Team Collaboration** - Git workflows, code review processes

## ๐Ÿค Contributing

We welcome contributions to improve these guidelines:

1. **Add new rules** - Share your coding wisdom
2. **Improve examples** - Make guidelines more practical
3. **Fix errors** - Help maintain accuracy
4. **Suggest new sections** - Expand the repository scope

### Contribution Guidelines

- Keep rules practical and actionable
- Provide clear examples
- Include language-specific adaptations
- Maintain consistent formatting
- Test rules with real code scenarios

## ๐Ÿ“– Resources

These guidelines are based on:

- **"Clean Code"** by Robert C. Martin (Uncle Bob)
- **Industry best practices** from leading tech companies
- **Real-world experience** from professional developers
- **Modern development tools** and frameworks

## ๐ŸŽฏ Goals

1. **Improve Code Quality** - Help developers write better code
2. **Standardize Practices** - Establish consistent coding standards
3. **Empower AI Assistants** - Give IDE agents better guidance
4. **Reduce Technical Debt** - Prevent code quality issues
5. **Foster Learning** - Share knowledge and best practices

## ๐Ÿ“ž Support

- **Issues**: Report problems or suggest improvements
- **Discussions**: Share ideas and ask questions
- **Pull Requests**: Submit improvements and new content

## ๐Ÿ“„ License

This repository is open source and available under the [MIT License](LICENSE).

---

**Start writing cleaner, more maintainable code today!** ๐Ÿš€

_Remember: Clean code is not about perfectionโ€”it's about continuous improvement and professional craftsmanship._