Thank you for contributing to the Robota project! This document provides guidelines on how to contribute to the project.
- Clone the repository:
git clone https://github.com/woojubb/robota.git
cd robota- Install dependencies:
pnpm install- Run development server:
pnpm devRobota is designed as a monorepo structure, consisting of the following packages:
packages/core: Core modules and common interfacespackages/openai: OpenAI integrationpackages/anthropic: Anthropic integrationpackages/tools: Tools and utilitiesapps/docs: Documentation websitepackages/*/examples: Package-owned example code
- Create a new branch:
git checkout -b feature/your-feature-name- Write code and run tests:
pnpm test- Commit and push:
git add .
git commit -m "feat: your description"
git push origin feature/your-feature-name- Submit a Pull Request
Commit messages should follow this format:
feat: Add new featurefix: Bug fixdocs: Documentation changesstyle: Code formatting, missing semicolons, etc. (no code changes)refactor: Code refactoringtest: Test-related codechore: Build process or auxiliary tool changes
- Keep commit messages under 80 characters
- Use English for all commit messages
- Write in present tense (e.g., "add feature" not "added feature")
- Be concise but descriptive
Examples:
- ✅
feat: add gpt-4o model support to OpenAI provider - ✅
fix: resolve memory leak in cache manager - ❌
feat: add gpt-4o model support to OpenAI provider with comprehensive error handling and validation(too long)
- Clear title and description
- Link related issues
- Include tests for changes
- Update documentation (if necessary)
- The project uses ESLint and Prettier.
- Check code style before committing:
pnpm lint
pnpm formatAll contributions are provided under the project's MIT license.