Thank you for your interest in contributing! Here's how to get started.
-
Clone the repository:
git clone https://github.com/yourusername/prompt-assemble.git cd prompt-assemble -
Create a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install in development mode with dev dependencies:
pip install -e ".[dev]"
pytest tests/ -vFormat code with black:
black src/prompt_assemble testsSort imports with isort:
isort src/prompt_assemble testsLint with flake8:
flake8 src/prompt_assemble testsType check with mypy:
mypy src/prompt_assemble-
Create a feature branch:
git checkout -b feature/your-feature
-
Make your changes and add tests
-
Ensure all tests pass:
pytest tests/ -v
-
Commit with clear messages:
git commit -m "Brief description of changes" -
Push and create a pull request
Please use GitHub Issues to report bugs or suggest features. Include:
- Clear description of the issue
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Python version and environment details
- Follow PEP 8
- Use type hints where possible
- Write docstrings for public functions/classes
- Keep functions focused and small
- Add tests for new features
By contributing, you agree that your contributions will be licensed under the MIT License.