Automates code review routing to the right developer based on expertise and availability. Benefits engineering teams by reducing review bottlenecks and improving code quality. Integrates with GitHub, GitLab, and Bitbucket for seamless workflow.
git clone https://github.com/win4r/agent-skills-code-review-router.gitAutomates code review routing to the right developer based on expertise and availability. Benefits engineering teams by reducing review bottlenecks and improving code quality. Integrates with GitHub, GitLab, and Bitbucket for seamless workflow.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/win4r/agent-skills-code-review-routerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to automate code review routing for [COMPANY]'s engineering team. The team uses [GIT_PLATFORM] and has developers with expertise in [LANGUAGES/TECHNOLOGIES]. Please create a workflow that routes pull requests to the most suitable developer based on their expertise and availability. Include steps for integration with [GIT_PLATFORM] and any necessary API configurations.
## Code Review Routing Workflow for [COMPANY]
### Integration Setup
1. **GitHub Integration**: Configure the GitHub API token with `repo` and `admin:repo_hook` scopes.
2. **Expertise Mapping**: Create a JSON file mapping developers to their expertise areas:
```json
{
"developers": {
"alice": ["Python", "Django"],
"bob": ["JavaScript", "React"],
"charlie": ["Java", "Spring Boot"]
}
}
```
### Routing Logic
- **Expertise Matching**: For each pull request, match the files changed to the developer's expertise.
- **Availability Check**: Query the developer's GitHub activity in the last 24 hours to assess availability.
- **Fallback Mechanism**: If no expert is available, route to the team lead or the most recent reviewer.
### Automation Script
```python
import requests
# GitHub API request to get pull request files
def get_pr_files(pr_url):
response = requests.get(pr_url, headers=headers)
return response.json()['files']
# Match files to developer expertise
def route_pr(files):
for file in files:
if 'python' in file['filename']:
return 'alice'
elif 'javascript' in file['filename']:
return 'bob'
return 'team-lead' # fallback
```AI-enabled M&A deal origination
Your one-stop shop for church and ministry supplies.
Automate your browser workflows effortlessly
IronCalc is a spreadsheet engine and ecosystem
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power