Coze
Official siteLow-code agent workflow platform for fast automation delivery.
OpenAutomatically invoke Copilot CLI on a PR diff to generate a second‑opinion review and post it as a PR comment, boosting code quality and review speed
When a pull request is opened or updated, run Copilot CLI on the diff of {repo_name} PR #{pr_number} and post the generated review comments as a comment by {reviewer_role}.This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.
{repo_name}Full GitHub repo name, e.g., user/repo
Filling hint: replace this with your real business context.
{pr_number}Pull request number
Filling hint: replace this with your real business context.
{reviewer_role}Name of the automated commenter, e.g., "AI Reviewer"
Filling hint: replace this with your real business context.
{language}Primary language of the code, e.g., "python"
Filling hint: replace this with your real business context.
Fill variables below to generate a ready-to-run prompt in your browser.
{repo_name}Full GitHub repo name, e.g., user/repo
{pr_number}Pull request number
{reviewer_role}Name of the automated commenter, e.g., "AI Reviewer"
{language}Primary language of the code, e.g., "python"
Generated Prompt Preview
When a pull request is opened or updated, run Copilot CLI on the diff of {repo_name} PR #{pr_number} and post the generated review comments as a comment by {reviewer_role}.Teams that need faster development output with more stable prompt quality.
Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.
You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.
Keep exploring with similar templates and matching tools.
No recent items yet.
1. Listen for GitHub PR events (open or update)
2. Use GitHub CLI to fetch the PR diff
3. Run Copilot CLI: copilot review --model=second-opinion --repo={repo_name} --pr={pr_number} --lang={language}
4. Parse the review suggestions from Copilot CLI output
5. Post a PR comment via GitHub CLI with author {reviewer_role}
6. Optionally add a label "AI Review" to the PR
Development
Tools that work well with this template.
Low-code agent workflow platform for fast automation delivery.
Open