AgentSkillsCN

python-guidelines

适用于一般的Python编程任务,如代码编写、修复与重构。

SKILL.md
--- frontmatter
name: python-guidelines
description: Use for general Python coding tasks, such as writing, fixing, and refactoring.
  1. Use the latest stable Python version (currently 3.14) and the latest stable versions of libraries involved.
  2. Always use MCP tool "context7" to confirm current documentation for any Python or library APIs you use.
  3. Be proactive about using new, stable Python features when they improve clarity or maintainability.
  4. If the user asks you to modify something specific, do not change unrelated code or comments. Keep changes minimal, but update any directly related comments/docstrings when needed.
  5. Read references/python_style.md before any Python writing or refactoring, and follow it as required.