Contributing

Thank you for your interest in contributing to AIDP! This guide will help you get started.


🌟 Ways to Contribute

1. Code Contributions

  • Fix bugs

  • Add new features

  • Improve performance

  • Write tests

2. Documentation

  • Fix typos and errors

  • Improve clarity

  • Add examples

  • Translate documentation

3. Community Support

  • Answer questions in GitHub Discussions

  • Help troubleshoot issues

  • Share your expertise

  • Write tutorials

4. Bug Reports

  • Report issues you encounter

  • Provide detailed reproduction steps

  • Suggest fixes

5. Feature Requests

  • Propose new features

  • Discuss improvements

  • Vote on existing requests


πŸš€ Getting Started

1. Fork the Repository

2. Set Up Development Environment

3. Create a Branch


πŸ“ Development Guidelines

Code Style

We use ESLint and Prettier for code formatting:

TypeScript

  • Use TypeScript for all new code

  • Define proper types (no any)

  • Document complex types

Testing

  • Write tests for new features

  • Ensure existing tests pass

  • Aim for >80% code coverage

Commit Messages

Follow conventional commits format:

Types:

  • feat: New feature

  • fix: Bug fix

  • docs: Documentation changes

  • style: Code style changes (formatting)

  • refactor: Code refactoring

  • test: Adding or updating tests

  • chore: Maintenance tasks

Examples:


πŸ”„ Pull Request Process

1. Before Submitting

  • βœ… Code follows style guidelines

  • βœ… Tests pass

  • βœ… Documentation updated

  • βœ… Commit messages follow convention

  • βœ… Branch is up to date with main

2. Submit Pull Request

Title: Clear, descriptive title Description: Include:

  • What changes were made

  • Why the changes were needed

  • How to test the changes

  • Screenshots (if UI changes)

  • Related issues

Template:

3. Code Review

  • Address reviewer feedback

  • Keep discussion professional

  • Be open to suggestions

  • Update PR as needed

4. Merge

Once approved:

  • Squash commits if needed

  • Ensure CI passes

  • Maintainer will merge


πŸ› Reporting Bugs

Before Reporting

  1. Search existing issues

  2. Check if it's already fixed

  3. Verify it's reproducible

Bug Report Template


πŸ’‘ Feature Requests

Before Requesting

  1. Search existing requests

  2. Discuss in GitHub Discussions

Feature Request Template


πŸ“š Documentation Contributions

Documentation Structure

Writing Guidelines

  • Use clear, concise language

  • Include code examples

  • Add screenshots where helpful

  • Link to related documentation

  • Test all code examples


🀝 Code of Conduct

Our Standards

Positive Behavior:

  • Be respectful and inclusive

  • Welcome newcomers

  • Give constructive feedback

  • Focus on what's best for the community

Unacceptable Behavior:

  • Harassment or discrimination

  • Trolling or insulting comments

  • Personal or political attacks

  • Publishing others' private information

Enforcement

Violations may result in:

  1. Warning

  2. Temporary ban

  3. Permanent ban

Report: conduct@aidp.devenvelope


πŸ“ž Questions?

GitHub Discussions: github.com/aidp/platform/discussionsarrow-up-right - #contributors channel Email: contributors@aidp.devenvelope GitHub Discussions: github.com/aidp/platform/discussionsarrow-up-right


Thank you for contributing to AIDP! πŸŽ‰

Last updated