← 返回
未分类
中文
code-review-skill-agent
Review backend code changes for correctness, security, architecture compliance, and test coverage per the applicable skill and checklist from AGENTS.md.
审查后端代码变更的正确性、安全性、架构合规性及测试覆盖率,依据AGENTS.md的相应技能和检查清单。
rahulsaini202
未分类
clawhub
v1.0.0 1 版本 100000 Key: 无需
#latest
概述
版本历史 (1)
安全
概述
Code Review Guide Use this guide when reviewing backend code changes in this repository.
Review Objective Find correctness issues, regressions, missing validation, unsafe data access, weak module wiring, and missing tests. Review against the relevant implementation skill from AGENTS.md, not just against personal style preferences. Prefer concrete findings with file references and impact over broad opinions. Mandatory Review Rules First confirm which skill should have governed the change, based on AGENTS.md. Reject backend changes that do not follow the applicable skill structure or checklist. Reject any generated or modified function or method missing: // Generated by skills.
Treat missing validation, missing auth checks, broken DI wiring, unsafe repository behavior, and schema/data consistency issues as high-signal findings. Review Workflow Identify the changed area: controller, service, module, repo, DTO, schema, queue, MCP, deployment, or tests. Open skills/skill-enforcement.skill.md. Open the matching task-specific skill from AGENTS.md. Compare the change against the required structure, naming, folder placement, and implementation checklist. Verify every generated or modified function or method includes // Generated by skills. immediately above the signature. Check whether tests were added or updated where behavior changed. Report findings ordered by severity, with file references and a short explanation of impact. What To Check Architecture Controllers should stay thin and delegate work. Services should contain orchestration and business logic only. Repositories should handle data access concerns only. Modules should wire providers, controllers, and imports/exports correctly. Correctness DTO validation matches actual request requirements. Service logic handles expected success and failure paths. Repository methods query the right fields and handle not-found cases safely. Schema changes preserve required fields, defaults, indexes, and timestamps when needed. Security And Safety Sensitive fields are not exposed in controller responses. Authentication and authorization checks are not bypassed. Inputs are validated before reaching service or repository layers. Logging and errors do not leak secrets or internal details. Testing New behavior has unit or e2e coverage where appropriate. Existing tests still match the intended behavior. Edge cases and failure paths are covered for critical logic. Review Output Format Findings first, ordered by severity. Each finding should include: File path Short issue statement Why it matters If there are no findings, state that explicitly and mention any remaining test or verification gaps. Rejection Conditions Missing required skill usage for backend work. Missing // Generated by skills. marker above any generated or modified function or method. Code placed in the wrong architectural layer. Missing validation or unsafe persistence logic. Behavior changes without appropriate test coverage.
版本历史
共 1 个版本
v1.0.0
当前
2026-05-07 13:25 安全 安全
安全检测
腾讯云安全 (Sanbu)
安全,无风险
查看报告
🔗 相关推荐
dev-programming
larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72
📥 181,629
dev-programming
steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677
📥 326,620
dev-programming
byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142
📥 41,444