Get Started
Contributing to Trunk
Learn how to contribute to the Trunk project
Contributing to Trunk
Thank you for your interest in contributing to Trunk! This guide will help you get started with contributing to our open-source project.
Getting Started
1. Fork and Clone
First, fork the Trunk repository and clone it locally:
2. Set Up Development Environment
Development Workflow
1. Create a Branch
2. Development Guidelines
- Write clean, documented code
- Follow our coding style
- Add tests for new features
- Update documentation as needed
3. Testing
Run the test suite:
Pull Request Process
- Update your fork
- Commit your changes
- Push and create PR
Then create a Pull Request through GitHub.
Code Style
We follow these conventions:
JavaScript/TypeScript
Documentation
- Use clear, concise language
- Include code examples
- Document all public APIs
- Keep examples up to date
Issue Guidelines
When creating issues:
-
Bug Reports
- Describe the bug
- Include steps to reproduce
- Add system information
- Attach relevant logs
-
Feature Requests
- Explain the feature
- Describe use cases
- Suggest implementation
Community
Code of Conduct
We follow a strict code of conduct:
- Be respectful and inclusive
- No harassment or discrimination
- Constructive feedback only
- Follow project guidelines
Recognition
Contributors are recognized through:
- Credits in release notes
- Community spotlights
- Contributor badges
Need Help?
- Check our Documentation
- Join our Discord
- Email: contribute@trunk.com