AgentSkillsCN

lang-python

针对代理的 Python 规范与可靠性检查清单(包括测试、格式化,以及在适当场合进行类型标注)。

SKILL.md
--- frontmatter
name: lang-python
description: Python conventions and reliability checklist for agents (tests, formatting, typing where appropriate).

Python Conventions

  • Prefer pyproject.toml-driven tooling when present.
  • Keep functions small and testable; add tests for edge cases.
  • Run pytest (or the project’s test command) before declaring done.
  • Use a formatter/linter if configured (e.g., ruff/black).