Thank you for your interest in contributing!
git clone https://github.com/your-org/rag-doctor.git
cd rag-doctor
pnpm install
pnpm buildEach package in packages/ is independently versioned and publishable. The apps/cli package is the user-facing CLI.
- Create a file in
packages/rules/src/my-rule.rule.ts - Implement the
DiagnosticRuleinterface from@rag-doctor/types - Export it from
packages/rules/src/index.ts - Add it to the
defaultRulesarray - Write tests in
packages/rules/src/__tests__/
- All code is TypeScript with strict mode enabled
- Run
pnpm lintandpnpm typecheckbefore submitting - Write tests for any new rules or features
- Fork the repository
- Create a feature branch:
git checkout -b feat/my-rule - Make your changes with tests
- Run
pnpm build && pnpm test - Submit a pull request
This project uses changesets for versioning. Add a changeset with pnpm changeset before submitting significant changes.