Thank you for your interest in contributing to Nexus! This document provides guidelines and instructions for contributors.
-
Fork and Clone
git clone https://github.com/BlocSoc-iitr/Nexus cd Nexus -
Install Dependencies
npm install
feat/feature-name- New featuresfix/bug-description- Bug fixesdocs/documentation-update- Documentation updatesrefactor/code-improvement- Code refactoringchore/maintenance-task- Maintenance tasks
-
Create a Feature Branch
git checkout -b feat/your-feature-name
-
Make Your Changes
- Write clean, well-documented code
- Follow existing code style
- Add tests for new features
- Update documentation if needed
-
Test Your Changes
npm run lint # Check for linting errors npm run format:check # Check code formatting npm run type-check # Check TypeScript types npm run build # Ensure project builds
-
Commit Your Changes
git add . git commit -m "feat: your descriptive commit message"
-
Push and Create PR
git push origin feat/your-feature-name
Then create a Pull Request on GitHub.
- Use strict TypeScript configuration
- Provide proper type annotations
- Avoid
anytypes when possible - Use meaningful variable and function names
- Use Prettier for formatting (automatic via pre-commit hooks)
- Follow ESLint rules
- Use consistent naming conventions:
camelCasefor variables and functionsPascalCasefor classes and typesUPPER_SNAKE_CASEfor constants
While we're setting up the testing framework, please:
- Test your changes manually
- Ensure the MCP server starts without errors
- Verify tools work as expected with Claude Desktop
- Update README.md for new features
If you have questions about contributing:
- Check existing issues and PRs
- Create a new issue with the "question" label
- Be specific about what you're trying to achieve
Thank you for contributing!