跳到正文
cccskills
免费在 GitHub 公开

code-checklist

Team code quality checklist - use for checking Python code quality, bugs, security issues, and best practices

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

查看安装方法

包含的文件(1)

  • SKILL.md1.1 KB

SKILL.md(原文)

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

Code Checklist Skill

Apply this checklist when checking Python code.

Code Quality Checklist

  • All functions have type hints
  • No bare except clauses
  • No mutable default arguments
  • Context managers used for file I/O
  • Functions are under 50 lines
  • Variable and function names follow PEP 8 (snake_case)

Input Validation Checklist

  • User input is validated before processing
  • Edge cases handled (empty strings, None, out-of-range values)
  • Error messages are clear and helpful

Testing Checklist

  • New code has corresponding pytest tests
  • Edge cases are covered
  • Tests use descriptive names

Output Format

Present findings as:

## Code Checklist: [filename]

### Code Quality
- [PASS/FAIL] Description of finding

### Input Validation
- [PASS/FAIL] Description of finding

### Testing
- [PASS/FAIL] Description of finding

### Summary
[X] items need attention before merge

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help

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

github/copilot-cli-for-beginners28922026年10月19日 更新

A minimal skill example - use when learning the skill format

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

github/copilot-cli-for-beginners28922026年10月19日 更新

Generate comprehensive pytest tests - use when generating tests, creating test suites, or testing Python code

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

github/copilot-cli-for-beginners28922026年10月19日 更新

查看 github 的全部技能

报告此技能的问题