词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
| 来源 | 内置(默认安装) |
| 路径 | skills/github/github-code-review |
| 版本 | 1.1.0 |
| 作者 | Hermes Agent |
| 许可证 | MIT |
| 平台 | linux, macos, windows |
| 标签 | GitHub, Code-Review, Pull-Requests, Git, Quality |
| 相关 skill | github-auth, github-pr-workflow |
git 命令——gh/curl 的区别仅在 PR 级别的交互中才有意义。github-auth skill)git 操作——适用于所有环境,无需 API。read_file 查看已变更文件的完整上下文,并通过差异了解具体改动:## Code Review Summary
### Critical
- **src/auth.py:45** — SQL injection: user input passed directly to query.
Suggestion: Use parameterized queries.
### Warnings
- **src/models/user.py:23** — Password stored in plaintext. Use bcrypt or argon2.
- **src/api/routes.py:112** — No rate limiting on login endpoint.
### Suggestions
- **src/utils/helpers.py:8** — Duplicates logic in `src/core/utils.py:34`. Consolidate.
- **tests/test_auth.py** — Missing edge case: expired token test.
### Looks Good
- Clean separation of concerns in the middleware layer
- Good test coverage for the happy pathgit——无需 gh:"APPROVE"、"REQUEST_CHANGES"、"COMMENT"line 字段指文件新版本中的行号。对于已删除的行,使用 "side": "LEFT"。git diff main...HEAD --stat——了解变更范围git diff main...HEAD——阅读完整差异read_fileread_file、search_files,以及运行测试的能力。read_file 查看变更周围的完整上下文——仅凭差异可能遗漏只有在周围代码中才能发现的问题。references/review-output-template.md 中的审查输出格式。