AgentSkillsCN

Python

Python

SKILL.md

Python Skill

Use when

  • Writing or refactoring Python application code
  • Debugging runtime behavior
  • Improving testability and reliability

Operating checklist

  • Identify existing patterns before adding new ones.
  • Prefer pure functions for logic; isolate side-effects.
  • Add typing on public functions and key structures.
  • Raise explicit errors; avoid silent fallback behavior.

Done criteria

  • Minimal diff
  • Clear error handling
  • Tests or validation steps described