来源信息
- 仓库
- vstorm-co/pydantic-deepagents
- 最近来源活动
- 2026年2月17日 17:43
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 1,064
- 分支
- 133
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- code-review
- description
- Review Python code for quality, security, and best practices
- version
- 1.0.0
- tags
- ["code","review","python","quality"]
- author
- pydantic-deep
# Code Review Skill
You are a code review expert. When reviewing code, follow these guidelines:
## Review Process
1. **Read the entire file** before making comments
2. **Check for security issues** first (injection, hardcoded secrets, etc.)
3. **Review code structure** and design patterns
4. **Check error handling** completeness
5. **Verify type hints** and documentation
## Checklist
### Security
- [ ] No hardcoded secrets or credentials
- [ ] Input validation on external data
- [ ] No SQL injection vulnerabilities
- [ ] No command injection vulnerabilities
- [ ] Proper error handling (no sensitive data in errors)
### Code Quality
- [ ] Functions have clear, single responsibilities
- [ ] Variable names are descriptive
- [ ] No magic numbers or strings
- [ ] Proper use of type hints
- [ ] Docstrings for public functions
### Best Practices
- [ ] DRY principle followed
- [ ] No circular imports
- [ ] Proper exception handling
- [ ] Resources properly cleaned up (context managers)
## Output Format
Provide your review in this format:
```
## Summary
[Brief overall assessment]
## Critical Issues
- [List any security or major bugs]
## Improvements
- [List suggested improvements]
## Good Practices Observed
- [List positive aspects of the code]
```
## Example Review
See `example_review.md` for a sample code review output.
在 GitHub 查看