Welcome! We appreciate your interest in contributing to the Codex Unity Bridge. This guide will help you get started.
- Bug Reports: Open an issue with a clear description, steps to reproduce, and expected vs actual behavior
- Feature Requests: Open an issue describing the use case and proposed solution
- Pull Requests: Fork the repo, create a branch, make changes, and submit a PR
- Questions: Open a discussion or issue for general questions
-
Clone the repository
git clone https://github.com/your-fork/codex-unity-bridge.git cd codex-unity-bridge -
Install Python dependencies
cd skill pip install -e ".[dev]"
-
Open Unity project (for testing Unity components)
- Open the
.TestProjectfolder in Unity 2021.3 or later
- Open the
All contributions must pass existing tests. Before submitting a PR:
cd skill
pytest tests/test_cli.py -vThese run automatically in CI on all PRs.
Due to Unity's licensing constraints, C# tests must be run locally:
- Open the project in Unity 2021.3+
- Open Window > General > Test Runner
- Run all EditMode tests
Please confirm tests pass before submitting PRs that modify Editor/ or Tests/.
- Follow existing patterns and conventions in the codebase
- Keep changes focused and minimal
- No major refactors without prior discussion in an issue
- Maintain the deterministic behavior of
cli.py
- Fork the repository
- Create a branch from
mainwith a descriptive name (e.g.,fix/timeout-handling,feat/new-command) - Make your changes with clear, atomic commits
- Run all tests to ensure nothing is broken
- Submit a PR against
mainwith a clear description of the changes
- Be respectful and constructive in all interactions
- Welcome newcomers and help them get started
- Focus on the technical merits of contributions
- Assume good intent from other contributors
Thank you for contributing!