跳到正文
cccskills
免费在 GitHub 公开

review-code

Review a branch diff against repository rules, with required security and license reviews. Report cited violations and offer scoped fixes when the user requests a code review.

中文简介正在准备中。当前显示原文说明。

wataru-maeda/react-native-boilerplate星标 523(GitHub 523 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(3)

  • SKILL.md2.7 KB
  • licenses.md2.9 KB
  • security.md3.6 KB

SKILL.md(原文)

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

Review Code

Review the branch diff against repository rules. A review request does not authorize edits.

Inspect

  • Choose the base from the branch table: dev for work branches, main for hotfixes. Ask when the branch prefix does not identify one.
  • Read git diff --name-only <base>...HEAD and git diff <base>...HEAD.
  • Read AGENTS.md, including Git rules.
  • Exclude package-lock.json, node_modules/, ios/, android/, dist/, and coverage/ from this rules review. Report excluded scope.

Review

  • Check required utilities, file placement, names, imports, and types.
  • Check testIDs and Maestro flows for new screens, and tests beside new components.
  • Check branch names and commit messages against Git rules.
  • Report only issues introduced by the diff. Do not flag unrelated existing code.
  • Cite a rule for each violation. Label uncertainty as advisory. Label any personal suggestion as outside the rules.

Required Reviews

  1. Read and run the security review.
  2. Read and run the license review.
  3. Use the same base and head as this review for both. Exclude unrelated uncommitted work.
  4. Include both review results in the report. Record findings, limitations, and any dependencies or assets that could not be checked. If license review finds no relevant changes, state that explicitly.
  5. Recheck affected findings if the diff changes after review. Do not reuse results from an older diff.

Complete both reviews before reporting. Do not treat a missing or incomplete review as a pass.

Report

Lead with the important findings. For each finding, give the file and line, rule heading, observed behavior, required behavior, and suggested fix.

  • Separate violations from advisories.
  • State the number of files reviewed and findings.
  • Say explicitly when no violations were found.
  • Include at most two useful examples of compliance.
  • Do not claim unrun checks passed.

Fix

  1. Offer to fix violations one at a time. Do not auto-apply advisories.
  2. For “yes,” make the smallest approved edit. For “no,” leave it.
  3. For “skip rest,” stop offering fixes.
  4. Run relevant checks for non-trivial edits. Check that the chosen fix works without restarting the full review.
  5. Report fixed and skipped violations, remaining advisories, and the next action.

Respect an explicit request to fix a defined set without repeating approval. Do not commit, push, or open a PR unless requested.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Turn this boilerplate into a new app by renaming it, removing sample files, and linking it to EAS. Use when starting a new app from this template, or when asked to init, bootstrap, or rename the project.

中文简介正在准备中。当前显示原文说明。

wataru-maeda/react-native-boilerplate5232026年10月18日 更新

Create or update README files, AGENTS.md rules, and skills from actual code. Use before editing any README.md, AGENTS.md, or skill, or when condensing them.

中文简介正在准备中。当前显示原文说明。

wataru-maeda/react-native-boilerplate5232026年10月18日 更新

Create, review, and merge GitHub pull requests and publish releases using repository Git rules. Use for requests to open a PR, push and create a PR, review PRs, merge a PR, or tag a release and write release notes.

中文简介正在准备中。当前显示原文说明。

wataru-maeda/react-native-boilerplate5232026年10月18日 更新

查看 wataru-maeda 的全部技能

报告此技能的问题