Thanks for your interest in contributing! 🎉
-
Fork & Clone
git clone https://github.com/YOUR_USERNAME/traceAI.git cd traceAI -
Create a branch
git checkout -b feature/your-feature
-
Make changes & test
-
Commit (use Conventional Commits)
git commit -m "feat: add xyz support" -
Push & open a PR
git push origin feature/your-feature
cd python
poetry install # Install core
cd frameworks/openai # Work on specific framework
poetry install
pytest # Run testsCode Quality: Black, isort, flake8, mypy
cd typescript
pnpm install # Install all packages
pnpm run build # Build
pnpm test # Run testsCode Quality: ESLint, Prettier, TypeScript strict mode
mkdir python/frameworks/your-framework
cd python/frameworks/your-frameworkCreate structure:
traceai_your_framework/
├── __init__.py
├── instrumentation.py
└── version.py
tests/
examples/
pyproject.toml
CHANGELOG.md
README.md
mkdir typescript/packages/traceai_your_frameworkCreate structure similar to existing packages, then update pnpm-workspace.yaml.
Don't forget: Update main README with your new integration!
- ✅ Write tests for all changes
- ✅ Follow existing code style
- ✅ Update documentation
- ✅ Update CHANGELOG.md
- ✅ Keep PRs focused and small
Happy Contributing! 🚀