Thank you for your interest in contributing to Agent Compass! This document provides guidelines for contributing to the project.
If you encounter any problems or have suggestions for improvements:
- Search existing issues first to avoid duplicates
- Use the issue templates when available
- Provide detailed information including:
- Your operating system and Cursor IDE version
- Steps to reproduce the issue
- Expected vs. actual behavior
- Any error messages or logs
We welcome suggestions for new rules, improvements to existing ones, or additional language support:
- Open an issue with the "enhancement" label
- Describe the problem the enhancement would solve
- Provide examples of how it would work
- Consider backward compatibility with existing rules
If you want to improve or add new rules:
- Fork the repository
- Create a new branch for your changes
- Test your changes with real coding scenarios
- Update documentation if necessary
- Submit a pull request with a clear description
Documentation improvements are always welcome:
- Fix typos or unclear explanations
- Add more examples to illustrate concepts
- Improve installation instructions
- Translate documentation (if applicable)
When contributing new rules or modifying existing ones:
- Follow the existing structure and formatting
- Use clear, actionable language
- Provide examples for complex rules
- Consider edge cases and potential conflicts
- Test with multiple programming languages when applicable
Before submitting a pull request:
- Test the rules with various coding scenarios
- Verify compatibility with different project types
- Check for conflicts with existing rules
- Ensure proper formatting and syntax
When updating documentation:
- Use clear, concise language
- Provide practical examples
- Follow the existing formatting style
- Update the table of contents if adding new sections
- Create a descriptive title for your pull request
- Fill out the pull request template completely
- Link any related issues using keywords (e.g., "Fixes #123")
- Provide a detailed description of your changes
- Include examples of how the changes work
- Be responsive to feedback and requested changes
- Be respectful and inclusive in all interactions
- Focus on constructive feedback and collaboration
- Help others learn and improve
- Accept feedback gracefully and be open to different perspectives
- Harassment, discrimination, or offensive language
- Personal attacks or inflammatory comments
- Spam or off-topic discussions
- Sharing private information without consent
If you want to add support for a new programming language:
- Research the language's official style guides and best practices
- Create a new section in the rules following the existing format
- Include specific examples for that language
- Test thoroughly with real projects in that language
- Update the README to mention the new language support
- Adding specific security guidelines for a programming language
- Improving error handling recommendations
- Adding new commenting standards or conventions
- Adding more practical examples
- Improving installation instructions for different platforms
- Creating troubleshooting guides
- Fixing conflicts between rules
- Correcting typos or formatting issues
- Improving rule clarity and specificity
If you need help with contributing:
- Check the documentation first
- Search existing issues for similar questions
- Open a new issue with the "question" label
- Join the discussion in existing issues and pull requests
Contributors will be recognized in the following ways:
- Listed in the README as contributors
- Mentioned in release notes for significant contributions
- Given credit in documentation for major improvements
By contributing to Agent Compass, you agree that your contributions will be licensed under the same MIT License that covers the project.
Thank you for helping make Agent Compass better for everyone! 🚀