Contributing to a2p¶
We welcome contributions to the a2p protocol! Here's how to get involved.
Ways to Contribute¶
| Type | Description |
|---|---|
| ๐ Bug Reports | Report issues you find |
| ๐ก Feature Requests | Suggest new features |
| ๐ Documentation | Improve docs and examples |
| ๐ป Code | Fix bugs or add features |
| ๐งช Testing | Test implementations |
| ๐ Translations | Translate documentation |
Getting Started¶
1. Fork the Repository¶
2. Install Dependencies¶
3. Run Tests¶
4. Make Changes¶
Create a branch for your changes:
Contribution Guidelines¶
Code Style¶
- Use TypeScript for new code
- Follow existing patterns
- Add tests for new features
- Update documentation
Commit Messages¶
Follow Conventional Commits:
feat(sdk): add memory proposal batching
fix(gateway): handle rate limit edge case
docs: update quickstart tutorial
Pull Requests¶
- Create a clear PR title
- Describe what changed and why
- Link related issues
- Ensure CI passes
Development Setup¶
Project Structure¶
a2p/
โโโ docs/ # Specification docs
โโโ schemas/ # JSON Schema files
โโโ packages/
โ โโโ sdk-typescript/
โ โโโ sdk-python/
โ โโโ gateway/
โ โโโ adapters/
โโโ examples/ # Example code
โโโ docs/ # Documentation (this site)
Building¶
Testing¶
RFC Process¶
Major changes go through an RFC (Request for Comments):
- Draft โ Write RFC in
rfcs/folder - Discuss โ Open PR for community feedback
- Revise โ Incorporate feedback
- Accept/Reject โ Working group decision
- Implement โ Build the feature
RFC Template¶
# RFC-XXXX: [Title]
## Summary
[One paragraph summary]
## Motivation
[Why is this needed?]
## Detailed Design
[Technical details]
## Alternatives
[Other approaches considered]
## Compatibility
[Breaking changes, migration]
Code of Conduct¶
We follow the Contributor Covenant.
Summary¶
- Be welcoming and inclusive
- Be respectful of differing viewpoints
- Accept constructive criticism gracefully
- Focus on what's best for the community
License¶
By contributing, you agree that your contributions will be licensed under EUPL-1.2.
Getting Help¶
- ๐ฌ Discord โ Chat with the community
- ๐ GitHub Discussions โ Ask questions
- ๐ GitHub Issues โ Report bugs
Recognition¶
Contributors are recognized in:
CONTRIBUTORS.mdfile- Release notes
- Community spotlight
Thank you for contributing to a2p! ๐