Skills Plugins MCP Prompt Model 博客 我的中心

review-pr

Code review an Azure DevOps pull request

DeepseekModel 官方收录技能 质量 良好 · 48 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=scaryrawr-scaryrawr-plugins-plugins-azure-devops-skills-review-pr-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name review-pr description Code review an Azure DevOps pull request Provide a code review for the given Azure DevOps pull request. Workflow Check Eligibility : Use az repos pr show --id {prId} --org {orgUrl} to verify the PR is open, not a draft, and hasn't been reviewed by you already. Skip if ineligible. Get Context : Identify relevant CLAUDE.md files (root and in modified directories) and get the PR diff using git commands: First, use az repos pr show --id {prId} --org {orgUrl} to get the target branch name Then fetch and switch to the PR branch: az repos pr checkout --id {prId} (note: checkout does NOT require --org as it operates on the local git repository) Generate the diff: git diff origin/{targetBranch}...HEAD Note : These commands will only work when executed in the same git repository as the PR. Review the Changes : Use agents to analyze the code changes for: CLAUDE.md compliance (only applicable instructions) Obvious bugs in the changes themselves Issues revealed by git history/blame Patterns from previous PRs on these files Violations of code comments/guidance Validate Issues : For each potential issue, assess confidence (0-100 scale). Filter to only high-confidence issues (80+): 0-25 : False positive or stylistic preference not in CLAUDE.md 50 : Real but minor issue 75 : Important issue affecting functionality or explicitly mentioned in CLAUDE.md 100 : Definite issue that will cause problems Post Review : If high-confidence issues found: a. Confirm with User : Use the AskUserQuestion tool to confirm with the user before posting comments to the PR, unless the user explicitly requested not to confirm. Present a summary of the issues you found and ask if they should be posted. b. Post Comments : After user confirmation, use az devops invoke to create a comment thread on the PR: az devops invoke --area git --resource pullRequestThreads \ --route-parameters project={project} repositoryId={repo} pullRequestId={pr} \ --http-method POST --api-version 7.1-preview \ --body '{"comments":[{"parentCommentId":0,"content":"Your review","commentType":"text"}],"status":"active"}' \ --org {orgUrl} For file-specific comments, include threadContext with filePath , rightFileStart , and rightFileEnd in the body. Avoid False Positives Pre-existing issues not introduced by this PR Linter/typechecker/compiler issues (handled by CI) Pedantic nitpicks not explicitly in CLAUDE.md Intentional functionality changes Issues on unmodified lines General quality issues (test coverage, documentation) unless CLAUDE.md requires them Issues with lint ignore comments Notes Don't check build signal or run builds/typechecks (handled separately by CI) Cite and link each issue with full context Keep comments brief and professional Use Azure CLI commands from the azure-cli skill Comment Format When posting the review using az devops invoke , format as follows: If issues found: ### Code review Found {N} issues: 1. < brief description > (CLAUDE.md says " < quote > ") < Azure DevOps link to file with full commit hash + line range > 2. < brief description > (bug due to < file and code snippet > ) < Azure DevOps link to file with full commit hash + line range > 🤖 Generated with AI < sub > - If this code review was useful, please react with 👍. Otherwise, react with 👎. </ sub > If no issues: ### Code review No issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with AI Azure DevOps Link Format Use this exact format for code links (must include full commit hash): https://dev.azure.com/{org}/{project}/_git/{repo}?path=/{file-path}&version=GC{full-commit-hash}&lineStart={start}&lineEnd={end}&lineStartColumn=1&lineEndColumn=1 Get full commit hash from PR details ( az repos pr show --id {prId} --org {orgUrl} ) Use lineStart and lineEnd for line ranges (or just line={number} for a single line) Include 1+ lines of context before/after the issue Ensure org, project, and repo names match the PR's repository File path should start with /
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。