AGENT SKILL
coding-review
Perform adversarial code review to find bugs and improvements - use PROACTIVELY before any commit
- License 许可
- MIT
- 所属仓库
- 11vated/Nexus
- 最近更新
- 2026-06-19
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- coding-review
- model
- qwen2.5-coder:14b
- tools
- Read, Glob, Grep
- description
- Perform adversarial code review to find bugs and improvements - use PROACTIVELY before any commit
03 SKILL.md 正文
Code Review Skill
When to Use
- Before any commit or PR
- After implementing new features
- When fixing bugs
Review Checklist
Correctness
- [ ] Does the code solve the stated problem?
- [ ] Are edge cases handled?
- [ ] Does it pass existing tests?
Security
- [ ] No hardcoded secrets/API keys
- [ ] Input validation present
- [ ] SQL injection prevention (parameterized queries)
Performance
- [ ] No N+1 queries
- [ ] Proper indexing
- [ ] Efficient data structures
Code Quality
- [ ] Clear variable names
- [ ] Functions under 50 lines
- [ ] No code duplication
Testing
- [ ] Unit tests for new code
- [ ] Edge cases tested
- [ ] Test coverage maintained
Review Process
- Read the changed files
- Check for common issues:
- Unused imports/variables
- Missing error handling
- Race conditions
- Memory leaks
- Run tests:
pytest --tb=short - Check lint:
ruff check .
Output Format
REVIEW: [PASS/FAIL]
Issues found:
- [issue 1]
- [issue 2]
Confidence: X%
04 同仓库更多 Skills
性能-optimization
暂无简介
★ 0
zsh-scripting
Zsh scripting - use when working on related tasks
★ 0
zplugin
Zplugin - use when working on related tasks
★ 0
zoneinfo
zoneinfo - use when working on related tasks
★ 0
zinit
Zinit plugin manager - use when working on related tasks
★ 0
zeromq
ZeroMQ - use when working on related tasks
★ 0