跳到正文
cccskills
免费在 GitHub 公开

review-agent

Review a specified code change without editing files. Checks the full diff, surrounding code, tests, and callers to identify actionable defects introduced by the change, then reports findings by severity with file and line references.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

查看安装方法

适用场景

  • Review uncommitted changes for concrete defects
  • Check changes that would merge into a base branch
  • Review a specific commit and identify test gaps

包含的文件(3)

  • SKILL.md2.6 KB
  • agents/openai.yaml252 B
  • LICENSE.txt10.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Review Agent

Inspect the requested target directly and return every finding that the author would likely fix. Do not modify files, create commits, push branches, post review comments, or delegate the review to another agent.

Review the change

  1. Read the applicable AGENTS.md instructions.
  2. Inspect the complete diff for the requested target and enough surrounding code to understand each changed path.
  3. Identify concrete regressions introduced by the change. Continue through the whole diff after finding the first issue.
  4. Check the relevant tests and call sites to confirm that each finding is real and actionable.

For a base-branch review, compare the changes that would actually merge rather than diffing directly against the branch tip. Resolve the comparison ref to the branch's upstream when that upstream exists and is ahead of the local branch; otherwise use the local branch. Run git merge-base HEAD <comparison-ref>, then inspect git diff <merge-base-sha>. If the local branch cannot be resolved, try its configured upstream explicitly before reporting that the target is unavailable.

Flag an issue only when all of these are true:

  • It affects correctness, security, performance, or maintainability in a meaningful way.
  • It is discrete and actionable.
  • It was introduced by the reviewed change.
  • The affected scenario or call path can be demonstrated from the code.
  • The author would probably fix it if they knew about it.

Do not flag speculative concerns, pre-existing problems, intentional behavior changes, or style nits that do not obscure the code.

Write the result

Present findings first, ordered by severity. Use one entry per issue in this form:

[P1] Imperative finding title — path/to/file.rs:line

Follow the title with one short paragraph explaining the affected scenario and why the behavior is wrong. Keep the cited range as small as possible and make sure it overlaps the reviewed diff.

Use these priorities:

  • P0: universal release blocker or critical failure.
  • P1: urgent defect that should be fixed next.
  • P2: ordinary defect that should be fixed.
  • P3: low-impact issue that is still worth fixing.

If there are no qualifying findings, say No findings. Do not invent a finding to fill the result. After the findings, add a brief overall assessment and mention any material test gaps or residual risks.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design new interfaces or reshape existing screens with colors, typography, layouts, and motion grounded in the subject. The skill guides planning, critique, and implementation to create a distinctive visual identity with clear interface text.

中文简介正在准备中。当前显示英语简介。

  • Designing a new website with a distinctive visual identity
  • Reshaping an existing interface around its subject
  • Planning colors, typography, and layout before coding
HKUDS/DeepCode1.7万2026年10月14日 更新

Build MCP servers, which let AI agents use external APIs and services through tools. The skill guides tool design, authentication, input validation, implementation, testing, and evaluation using TypeScript or Python.

中文简介正在准备中。当前显示英语简介。

  • Connecting an external API to an AI agent through MCP
  • Building an MCP server in TypeScript or Python
  • Designing tool inputs, responses, and error messages
HKUDS/DeepCode1.7万2026年10月14日 更新

Review Python, JavaScript/TypeScript, and Go code for security issues using guidance for the project's languages and frameworks. Get prioritized findings, suggested improvements, or help writing new code with safer defaults.

中文简介正在准备中。当前显示英语简介。

  • Review an existing application's security
  • Create a report organized by severity
  • Write new code with safer defaults
HKUDS/DeepCode1.7万2026年10月14日 更新

Analyze git history to map contributors to security-sensitive files, identify reliance on too few people, and find stale areas. Export CSV and JSON results for ownership reviews, graph exploration, and comparison with CODEOWNERS.

中文简介正在准备中。当前显示英语简介。

  • Find stale security-sensitive code with few maintainers
  • Check reliance on individual authentication or cryptography maintainers
  • Compare CODEOWNERS with actual contribution history
HKUDS/DeepCode1.7万2026年10月14日 更新

Analyze a codebase to identify valuable assets, attack entry points, and realistic abuse paths. Produce a concise Markdown threat model that explains risk priorities, distinguishes existing protections from proposed mitigations, and makes assumptions explicit.

中文简介正在准备中。当前显示英语简介。

  • Map attack entry points in a codebase
  • Assess threats within a specific project directory
  • Prioritize risks to sensitive data and credentials
HKUDS/DeepCode1.7万2026年10月14日 更新

Create or update Codex skills that package specialized knowledge, repeatable workflows, and tool instructions. The guide covers concrete use cases, folder structure, reusable resources, starter generation, and basic validation of names and required metadata.

中文简介正在准备中。当前显示英语简介。

  • Turning recurring work into a reusable skill
  • Packaging company knowledge and API instructions
  • Reorganizing an existing skill and its reference files
HKUDS/DeepCode1.7万2026年10月14日 更新

查看 HKUDS 的全部技能

报告此技能的问题