โโโโ
โโโโโโโโ
โโโโ โโโโ
โโโโ โโโโโโโโ
โโโโโโ โโ
โโโโ โโโโโโ โโ
โโโโโโโโโโโโ โโโโโโ โโ โโโโ
โโโโโโโโ โโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ
โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโโโโโโโโโโโโโโโโโโโโโ โโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโโโโโโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโ
โโ โโ โโโโ โโ โโโโโโโโโโโโโโโโ
โโ โโโโโโ โโ โโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโ
โโโโ โโโโโโโโโโโโ โโโโโโ
โโโโโโ โโโโโโโโโโโโโโ โโโโโโ
โโโโโโโโโโโโโโโโโโ โโ โโ
โโโโโโโโโโโโโโ โโ โโโโ
โโโโโโ โโ โโโโโโ
โโ โโโโ
โโโโโโ
CodingFox - Your AI Code Review Partner
Stop shipping bugs. Start shipping excellence.
CodingFox is an intelligent AI-powered code review assistant that revolutionizes your pull request workflow. Using advanced language models (GPT-3.5 Turbo and GPT-4), CodingFox provides instant, contextual code reviews that catch bugs, improve code quality, and accelerate your development cycle.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฆ CodingFox AI Code Reviews โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Instant PR Analysis โ
โ โ Line-by-Line Suggestions โ
โ โ Bug Detection & Prevention โ
โ โ Code Quality Enhancement โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- โก Lightning-Fast Reviews: Get comprehensive code reviews in seconds, not hours
- ๐ฏ Context-Aware Analysis: Understands your codebase and provides relevant suggestions
- ๐ก๏ธ Bug Prevention: Catches potential issues before they reach production
- ๐ก Smart Suggestions: Offers actionable improvements, not just criticism
- ๐ Continuous Learning: Improves with every review based on your feedback
- ๐ฐ Cost-Effective: Reduce review time by 60% while improving code quality
- Automated PR Summaries: Generate comprehensive summaries and release notes
- Line-by-Line Review: Detailed suggestions for every code change
- Pattern Recognition: Identifies anti-patterns and suggests best practices
- Security Analysis: Flags potential security vulnerabilities
- Incremental Reviews: Reviews each commit individually for better context
- Selective Analysis: Skips trivial changes to focus on what matters
- Multi-Model Support: Uses lightweight models for summaries, powerful ones for reviews
- Custom Prompts: Tailor review focus to your team's needs
- Chat with CodingFox: Ask questions about specific code sections
- Test Generation: Request test cases for your changes
- Code Simplification: Get suggestions for reducing complexity
- Documentation Helper: Generate or improve code documentation
Get CodingFox running in your repository in under 5 minutes!
Before you begin, ensure you have:
- A GitHub repository where you want to add CodingFox
- Admin access to the repository (to add secrets)
- An OpenAI account (free tier works to start)
-
Sign up for OpenAI (if you haven't already):
- Go to OpenAI Platform
- Create your account
-
Generate an API Key:
- Navigate to API Keys page
- Click "Create new secret key"
- Give it a name (e.g., "CodingFox")
- Copy the key immediately (you won't see it again!)
-
Add Credits (for new accounts):
- Go to Billing
- Add at least $5 to get started (this will last for hundreds of PR reviews)
-
Navigate to your GitHub repository
-
Go to Settings:
- Click on the Settings tab in your repository
- Scroll down to Security section in the left sidebar
- Click on Secrets and variables โ Actions
-
Add New Secret:
- Click "New repository secret" button
- Name:
OPENAI_API_KEY - Value: Paste your OpenAI API key
- Click "Add secret"
-
Create the workflow directory in your repository:
mkdir -p .github/workflows
-
Create the workflow file:
- Create a new file:
.github/workflows/codingfox-review.yml - Copy and paste this configuration:
- Create a new file:
name: CodingFox AI Review
# Permissions needed for the action to work
permissions:
contents: read
pull-requests: write
# Trigger on pull requests and PR comments
on:
pull_request:
types: [opened, synchronize, reopened]
pull_request_review_comment:
types: [created]
# Prevent multiple reviews at the same time
concurrency:
group:
${{ github.repository }}-${{ github.event.number || github.head_ref ||
github.sha }}-${{ github.workflow }}-${{ github.event_name ==
'pull_request_review_comment' && 'pr_comment' || 'pr' }}
cancel-in-progress: ${{ github.event_name != 'pull_request_review_comment' }}
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: codingfox/ai-pr-reviewer@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
with:
debug: false
review_simple_changes: false
review_comment_lgtm: false- Commit and push the workflow file:
git add .github/workflows/codingfox-review.yml git commit -m "Add CodingFox AI code review" git push
-
Create a test pull request:
- Make any small change in your repository
- Create a new branch:
git checkout -b test-codingfox - Make a change and commit
- Push and create a pull request
-
Watch CodingFox in action:
- Within 30-60 seconds, CodingFox will comment on your PR
- You'll see a summary, code review comments, and release notes
-
Interact with CodingFox:
- Try commenting
@codingfox help me write tests for this function - CodingFox will respond with helpful suggestions
- Try commenting
For more thorough and accurate reviews, upgrade to GPT-4:
- uses: codingfox/ai-pr-reviewer@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
with:
openai_heavy_model: gpt-4 # Better for code reviews
openai_light_model: gpt-3.5-turbo # Keep for summarieswith:
review_simple_changes: true # Review even minor changes
review_comment_lgtm: true # Comment even when code looks good
max_review_comments: 50 # Increase comment limitwith:
path_filters: |
src/**
!test/**
!docs/**
!*.md| Issue | Solution |
|---|---|
| CodingFox not commenting | Check Actions tab for errors, verify OPENAI_API_KEY is set |
| "Rate limit exceeded" | Add credits to OpenAI account or reduce openai_concurrency_limit |
| Reviews too verbose | Set review_simple_changes: false |
| Missing some files | Check path_filters and max_files settings |
| Timeout errors | Increase openai_timeout_ms (default: 360000) |
- Start with GPT-3.5: It's very cost-effective for initial testing
- Use path filters: Focus on important directories like
src/ - Customize prompts: Tailor reviews to your team's standards
- Monitor costs: Check OpenAI usage dashboard regularly
- Iterate on feedback: Adjust settings based on team preferences
Once installed, CodingFox will:
- โ Automatically review every new pull request
- โ Generate PR summaries and release notes
- โ Provide line-by-line code suggestions
- โ Respond to your questions and requests
- โ Learn from your codebase patterns
Simply create a pull request and CodingFox will automatically:
- Generate a comprehensive PR summary
- Review code changes line-by-line
- Suggest improvements and catch issues
- Create release notes
Tag @codingfox in any PR comment:
@codingfox Can you suggest test cases for this function?
@codingfox How can I improve the performance of this loop?
@codingfox Is there a better design pattern for this implementation?
Add to PR description to skip review:
@codingfox: ignore
with:
# For comprehensive reviews (recommended: gpt-4)
openai_heavy_model: gpt-4
# For summaries and simple tasks
openai_light_model: gpt-3.5-turbo
# Temperature for AI responses (0-1)
openai_temperature: 0.2with:
# Review even simple changes like typos
review_simple_changes: false
# Continue reviewing when changes look good
review_comment_lgtm: false
# Maximum review comments per PR
max_review_comments: 30
# Enable debug logging
debug: trueCustomize CodingFox's personality and focus:
with:
system_message: |
You are @codingfox, an expert code reviewer focused on:
- Security best practices
- Performance optimization
- Clean code principles
- Test coverage
Be constructive, specific, and friendly in your feedback.
summarize_prompt: |
Provide a concise summary focusing on:
- Main changes and their purpose
- Potential impact on the system
- Areas requiring special attention| Model | Use Case | Estimated Cost |
|---|---|---|
| GPT-3.5 Turbo | Summaries | ~$0.002 per PR |
| GPT-4 | Full Review | ~$0.10-0.50 per PR |
Typical Usage: A 20-developer team reviewing 50 PRs/day costs approximately $20-30/day with GPT-4.
- Data Processing: Code is sent to OpenAI's API for analysis
- Data Retention: OpenAI API has strict data usage policies
- Compliance: Review with your security team for sensitive repositories
- Self-Hosting: Contact us for on-premise deployment options
- Node.js 17+
- npm or yarn
# Install dependencies
npm install
# Build and package
npm run build && npm run package
# Run tests
npm testWe welcome contributions! Please see our Contributing Guide for details.
| Feature | CodingFox | Traditional Reviews | Other AI Tools |
|---|---|---|---|
| Review Speed | โก Instant | ๐ Hours/Days | โก Instant |
| Context Understanding | โ Full | โ Full | |
| Consistency | โ 100% | โ Variable | โ 100% |
| Availability | โ 24/7 | โ Business Hours | โ 24/7 |
| Learning Curve | โ None | โ Team Dependent | |
| Customization | โ Extensive | โ Full | |
| Cost | ๐ฐ Low | ๐ฐ๐ฐ๐ฐ High | ๐ฐ๐ฐ Medium |
"CodingFox reduced our PR review time by 65% while catching 40% more bugs before production." - Tech Lead, Fortune 500
"The contextual suggestions are incredible. It's like having a senior developer review every line of code." - Startup CTO
"We save $50k+ annually on review time alone. CodingFox pays for itself in days." - Engineering Manager
MIT License - see LICENSE file for details.
/\_/\
( ^.^ ) Made with โค๏ธ by CodingFox Team
(")_(") Happy Coding! ๐ฆ
CodingFox - Elevating Code Quality, One Review at a Time