Thanks for your interest in contributing!
git clone https://github.com/mithun50/CortexFlow
cd cortexflow
npm install
npm run devnpm run dev # Run with hot reload
npm run build # Compile TypeScript
npm run test # Run tests
npm run lint # Check code styleOpen an issue with:
- Clear description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, Node version, AI client)
Open an issue describing:
- The problem you're solving
- Your proposed solution
- Any alternatives considered
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Run tests:
npm test - Run linter:
npm run lint - Commit with clear message:
git commit -m "Add: feature description" - Push:
git push origin feature/my-feature - Open a Pull Request
Use clear, descriptive commit messages:
Add: new featureFix: bug descriptionUpdate: changed functionalityDocs: documentation changesRefactor: code improvements
- TypeScript with strict mode
- ESLint for linting
- Meaningful variable names
- Comments for complex logic only
src/
├── models.ts # Data types and Zod schemas
├── storage.ts # File-based persistence
├── server.ts # MCP server implementation
├── http-server.ts # REST API server
└── index.ts # Entry point
npm test # Run all tests
npm run test:watch # Watch mode
npm run test:coverage # With coverage reportOpen an issue or start a discussion. We're happy to help!