Contributing to CyberAi
Thank you for your interest in contributing to CyberAi! We welcome contributions from the community.
Getting Started
Prerequisites
- Node.js 20+ and npm
- Git
- GitHub account
- Basic knowledge of TypeScript and Astro (for site contributions)
Setup Development Environment
git clone https://github.com/SolanaRemix/CyberAi.git
cd CyberAi
npm install
# For site development
cd site
npm install
npm run dev How to Contribute
Reporting Bugs
- Search existing issues to avoid duplicates
- Use the bug report template
- Provide clear reproduction steps
- Include environment details
Suggesting Features
- Check existing feature requests
- Use the feature request template
- Explain the use case and benefits
- Be open to feedback
Code Contributions
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Write or update tests
- Run linters and tests:
npm run lint && npm test - Commit with conventional commits format
- Push and create a Pull Request
Code Guidelines
Code Style
- Follow ESLint configuration
- Use Prettier for formatting
- Write clear, self-documenting code
- Add comments for complex logic
Commit Messages
We use Conventional Commits:
feat: add new security audit feature
fix: resolve navigation 404 error
docs: update contributing guidelines
chore: upgrade dependencies Testing
- Write tests for new features
- Update tests for bug fixes
- Ensure all tests pass
- Aim for good code coverage
Pull Request Process
- Create PR: Use the PR template
- Description: Explain what and why
- Link Issues: Reference related issues
- CI Checks: Ensure all checks pass
- Review: Respond to feedback promptly
- Merge: Maintainers will merge when approved
PR Checklist
- โ Code follows project style guidelines
- โ Tests added/updated and passing
- โ Documentation updated if needed
- โ No merge conflicts
- โ Commits follow conventional format
- โ PR description is clear and complete
Areas to Contribute
๐ Bug Fixes
Help resolve issues and improve stability
โจ Features
Implement new capabilities and enhancements
๐ Documentation
Improve guides, examples, and API docs
๐งช Testing
Add test coverage and automation
๐จ Design
Enhance UI/UX and visual design
๐ Security
Identify and fix vulnerabilities
Community Guidelines
Please read and follow our Code of Conduct.
Core Values
- Be respectful and inclusive
- Provide constructive feedback
- Help others learn and grow
- Focus on what's best for the project
Development Resources
Recognition
Contributors are recognized in:
- Release notes
- CONTRIBUTORS.md file
- GitHub contributors page
Significant contributors may be invited to join the maintainer team.
Questions?
If you have questions about contributing:
- Check existing discussions
- Ask in a new discussion thread
- Review documentation