Thank you for your interest in contributing to Self AI! This document provides guidelines and instructions for contributing.
-
Fork the repository
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/self-ai.git cd self-ai
-
Install dependencies:
npm install
-
Create a branch for your changes:
git checkout -b feature/amazing-feature
-
Make your changes
-
Ensure code quality:
npm run typecheck # Type checking npm run lint # Linting npm run format # Code formatting
-
Commit your changes:
git add . git commit -m "feat: add amazing feature"
-
Push to your fork:
git push origin feature/amazing-feature
-
Open a Pull Request
We follow the Conventional Commits specification:
- feat: A new feature
- fix: A bug fix
- docs: Documentation changes
- style: Code style changes (formatting, etc)
- refactor: Code changes that neither fix bugs nor add features
- perf: Performance improvements
- test: Adding or modifying tests
- chore: Changes to build process or auxiliary tools
- Use TypeScript for all new code
- Follow the existing code style
- Add JSDoc comments for public APIs
- Write meaningful test cases
Feel free to open an issue for:
- Bug reports
- Feature requests
- Questions about the codebase
By contributing, you agree that your contributions will be licensed under the MIT License.