-
-
Notifications
You must be signed in to change notification settings - Fork 1
Contributing Guidelines
RenzMc edited this page Sep 6, 2025
·
1 revision
This guide explains how to contribute to the Acode AI CLI Assistant Plugin project. We welcome contributions from the community!
Contributions to the plugin can take many forms:
- Bug reports and feature requests
- Code contributions and improvements
- Documentation enhancements
- Testing and feedback
- translations and localization
- Check existing issues to avoid duplicates
- Ensure you're using the latest version of the plugin
- Verify the issue isn't related to your API provider
When reporting bugs, include:
- Description: Clear explanation of the problem
- Steps to Reproduce: Detailed steps to recreate the issue
- Expected Behavior: What you expected to happen
- Actual Behavior: What actually happened
- Environment: Acode version, Android version, device model
- Screenshots: If relevant to the issue
For feature requests, provide:
- Use Case: Why this feature would be valuable
- Description: Detailed explanation of the proposed feature
- Examples: Sample implementations or similar features
- Priority: How important this feature is to you
- Fork the repository
- Create a feature branch
- Implement your changes
- Test thoroughly on different devices
- Submit a pull request
Participate in beta testing by:
- Installing development builds
- Reporting issues with new features
- Providing feedback on user experience
- Testing on various Android versions
- Fork the repository
- Edit files in the
docsdirectory - Submit a pull request with your changes
- Include rationale for improvements
When adding new documentation:
- Follow the existing format and style
- Use appropriate markdown headers
- Include code examples when relevant
- Add navigation links at the bottom
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/Acode-Plugin-AI-cli.git
- Install dependencies:
npm install
- Create a feature branch:
git checkout -b feature/your-feature-name
- ESLint: Follow configured ESLint rules
- Prettier: Use Prettier for consistent formatting
- JSDoc: Write documentation for functions and classes
- Modularity: Keep code modular and reusable
- Security: Follow security best practices
- Use clear, descriptive commit messages
- Reference issues in commit messages when relevant
- Keep commits focused on single changes
- Follow conventional commit format:
feat: Add new provider integration fix: Resolve encryption issue with long keys docs: Update installation guide
- Write tests for new functionality
- Ensure existing tests still pass
- Test edge cases and error conditions
- Use Jest or similar testing framework
- Test API integrations with mock responses
- Verify UI components render correctly
- Check plugin initialization and setup
- Validate data flow between components
- Test on various Android versions
- Check performance on different hardware
- Verify UI responsiveness
- Test with different Acode configurations
- Ensure your code follows project standards
- Run all tests and verify they pass
- Update documentation if needed
- Sync with upstream main branch
- Push your changes to your fork:
git push origin feature/your-feature-name
- Open a pull request against the main repository
- Provide a clear description of changes
- Link to any related issues
- Request review from maintainers
- Maintainers will review your code
- Address any feedback or requested changes
- Be patient during the review process
- Participate in discussion of improvements
- Follow the galaxy theme aesthetic
- Maintain consistent styling
- Ensure responsive design works
- Test accessibility features
- Use existing CSS variables
- Follow component structure
- Implement animations smoothly
- Ensure cross-browser compatibility
- Research the provider's API documentation
- Implement using LangChain when possible
- Add provider to the constants list
- Implement model fetching functionality
- Add UI elements for configuration
- Use secure API communication
- Handle rate limits appropriately
- Provide clear error messages
- Follow provider's terms of service
- Use clear, concise language
- Write in present tense
- Address the user directly
- Include practical examples
- Use appropriate headers and subheaders
- Include tables for structured information
- Use code blocks for examples
- Add navigation links between documents
- Keep related information together
- Use consistent terminology
- Provide progressive learning paths
- Include troubleshooting sections
For security vulnerabilities:
- Contact maintainers directly
- Provide detailed vulnerability description
- Include reproduction steps
- Allow time for patch development before public disclosure
When contributing security enhancements:
- Follow established encryption standards
- Don't roll your own crypto
- Validate inputs properly
- Handle errors securely
- Fork the repository
- Create language-specific files
- Translate UI elements and documentation
- Test localization in Acode
- Submit pull request
- Maintain consistent terminology
- Follow cultural conventions
- Test text expansion/contraction
- Ensure RTL support if needed
- Be respectful and constructive
- Help others learn and improve
- Share knowledge freely
- Follow code of conduct
- Focus on technical issues
- Share implementation ideas
- Discuss best practices
- Provide helpful feedback
Contributors are recognized:
- In the README.md acknowledgments
- Through GitHub contributor lists
- In release notes for significant contributions
We track contributions through:
- Pull request acceptance rates
- Issue resolution times
- Community engagement levels
- Code quality improvements
- Check Node.js version compatibility
- Ensure all dependencies are installed
- Verify build configuration
- Check for syntax errors
- Run tests in isolation
- Check for environmental dependencies
- Verify test data is correct
- Ensure proper mocking
- Test with latest Acode version
- Check API provider status
- Verify plugin manifest
- Confirm file structure
To verify your contribution environment:
- Clone the repository
- Install dependencies
- Run the build process
- Test in Acode development environment
If you need help with contributions:
- Join our Discussions community
- Contact maintainers through GitHub
- Check existing documentation and code
- Review accepted pull requests for examples
- Home
- Getting Started
- Usage Guides
- Advanced Features
- Developer Docs
- Troubleshooting