code-checklist
$
npx mdskill add github/copilot-cli-for-beginners/code-checklistValidate Python code quality, security, and best practices using a comprehensive, multi-faceted checklist.
- Ensures adherence to Python best practices, including type hinting and PEP 8 compliance.
- Requires only the Python source code as input for analysis.
- Applies structured checks across code quality, input validation, and testing coverage.
- Outputs findings in a structured markdown format detailing pass/fail status per category.
SKILL.md
.github/skills/code-checklistView on GitHub ↗
--- name: code-checklist description: Team code quality checklist - use for checking Python code quality, bugs, security issues, and best practices --- # 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 ```
More from github/copilot-cli-for-beginners
- commit-messageGenerate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help
- hello-worldA minimal skill example - use when learning the skill format
- pytest-genGenerate comprehensive pytest tests - use when generating tests, creating test suites, or testing Python code