Thank you for your interest in contributing! This guide will help you get started.
-
Fork and clone the repository
git clone https://github.com/YOUR-USERNAME/Perplexity-Enigma-CLI.git cd Perplexity-Enigma-CLI -
Install dependencies
npm install
-
Run development build
npm run dev
-
Create a feature branch
git checkout -b feature/your-feature-name
-
Make your changes
- Write clean, readable code
- Follow existing code style
- Add tests for new features
- Update documentation as needed
-
Test your changes
npm run build npm test npm run lint -
Commit your changes
git add . git commit -m "feat: add your feature description"
Follow Conventional Commits:
feat:New featuresfix:Bug fixesdocs:Documentation changestest:Test additions or changeschore:Build process or tooling changesrefactor:Code refactoringperf:Performance improvements
-
Push and create a pull request
git push origin feature/your-feature-name
- Provide a clear description of the changes
- Reference any related issues
- Ensure all tests pass
- Update documentation if needed
- Keep PRs focused on a single feature or fix
- Use TypeScript for all code
- Follow existing formatting conventions
- Use meaningful variable and function names
- Add comments for complex logic
- Keep functions small and focused
- Write tests for all new features
- Ensure existing tests still pass
- Use Vitest for testing
- Aim for high test coverage
- Update README.md for user-facing changes
- Update CHANGELOG.md following Keep a Changelog
- Add code comments for complex logic
- Update VERSIONING.md if changing release process
See VERSIONING.md for the complete release process.
Quick steps:
- Update version in package.json
- Update CHANGELOG.md
- Commit changes
- Create and push tag
- GitHub Actions handles the rest
Feel free to open an issue for any questions or concerns!