Thank you for your interest in contributing to our development conventions! This document provides guidelines and instructions for contributing to this repository.
- Code of Conduct
- How Can I Contribute?
- Proposing New Conventions
- Suggesting Changes to Existing Conventions
- Pull Request Process
- Documentation Standards
- Review Process
- Code Contribution Guidelines
This project adheres to a Code of Conduct that all contributors are expected to follow. By participating, you are expected to uphold this code.
There are several ways you can contribute to this repository:
- Propose new conventions: Identify gaps in our current conventions and propose new ones
- Suggest improvements: Provide feedback on existing conventions
- Report inconsistencies: Help us identify conflicting or unclear guidelines
- Improve documentation: Fix typos, clarify wording, add examples
- Share implementation examples: Provide real-world examples of conventions in action
When proposing a new convention:
- First, check existing documentation to ensure this isn't already covered
- Create a new issue using the "New Convention Proposal" template
- Clearly articulate:
- The problem this convention solves
- Why it's important
- How it aligns with other conventions
- Examples of implementation
- Be prepared to discuss and iterate on your proposal
When suggesting changes to existing conventions:
- Create a new issue using the "Convention Change" template
- Reference the specific document/section you're addressing
- Clearly explain the rationale for the change
- Provide alternative approaches if applicable
-
Fork the repository
-
Create a new branch for your changes
-
Make your changes following our documentation standards
-
Run validation scripts locally:
make validate make check-links
-
Submit a pull request with a clear description of the changes
-
Address any feedback from reviewers
All contributions must follow our documentation standards:
- Use Markdown format consistently
- Include proper headers (run
make add-headers
if needed) - Follow the established directory structure
- Use clear, concise language
- Include examples where helpful
- Link to related documentation when appropriate
All contributions will be reviewed by the platform team. The review process includes:
- Documentation quality check
- Technical accuracy verification
- Consistency check with existing conventions
- Feedback and requested changes if necessary
Significant changes to conventions may require broader stakeholder review and approval.
To ensure consistency and quality, please adhere to the following guidelines when contributing code:
- Follow Coding Standards: Ensure your code follows the relevant language and framework conventions documented in the
docs
directory. Key standards include:- JavaScript Conventions
- TypeScript Conventions
- React Conventions
- (Refer to the
docs/languages
anddocs/frameworks
directories for others)
- Write Tests: Include appropriate unit, integration, or end-to-end tests for your changes. Refer to the Testing Standards.
- Document Your Code: Add necessary comments and documentation following the Code Documentation Standards.
- Follow Git Conventions: Use the Bayat Git Flow and adhere to the Commit Message Standards.
- Pass CI Checks: Ensure all automated checks (linting, tests, builds) pass before submitting a Pull Request.
- Code Reviews: Participate actively in the code review process as outlined in the Code Review Standards.
Thank you for contributing to our development conventions!