Thank you for your interest in contributing to CodeGrok MCP! Contributions are welcome from everyone. Please follow the guidelines below to make the process smooth.
- Search existing issues to avoid duplicates.
- Open a new issue with a clear title and a minimal reproducible example when relevant.
- Fork the repository and create a branch for your change.
- Write clear, focused commits. Prefer small, reviewable changes.
- Run the test suite locally:
pytestfrom the project root. - Add tests for new features and fixes.
- Open a PR against
main, describe the change, and link any related issues.
- Formatting: Run
black .(line length 100). - Type checking: Use
mypyand keep strictness reasonable. - Linting:
flake8for style complaints.
- Tests are located in the
tests/directory. - Use
pytestfor running tests; we recommendpytest -qfor quick feedback. - Add unit tests for new functionality and regression tests for bug fixes.
- Create and activate a virtualenv (recommended):
python -m venv .venv source .venv/bin/activate pip install -e .[dev] - Run tests and linters before submitting a PR.
If you have questions about the process, open an issue or discussion and we'll help out.
Thanks for helping improve CodeGrok MCP! 🚀