Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to GitHub: Authenticate the CLI by running 'codiumai login' and follow the prompts to connect with your GitHub account.
3. Initialize pr-agent: In your project's root directory, run 'codiumai init' to set up pr-agent.
4. Configuration: pr-agent will create a '.codiumai' directory with configuration files. Customize settings as needed.
5. Create Pull Request: Make changes to your code, commit them, and run 'codiumai pr create' to generate a pull request.
6. Wait for Feedback: pr-agent will automatically analyze your code and provide actionable feedback in the pull request.
7. Improve Code: Address feedback, make additional commits, and the pr-agent will re-evaluate your changes.
8. Merge with Confidence: Once pr-agent approves your code, merge the pull request with confidence.
pr-agent will optimize your code with AI-driven insights, enhancing code quality and collaboration. Happy coding!