Agent skill

python-dev

Python development. Use when writing Python code, CLI tools, scripts, or services. Emphasizes stdlib, type hints, pytest toolchain, and minimal dependencies.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/python-dev

SKILL.md

Python guidelines

  • Avoid implementation comments in code.
  • Use comments in code only if necessary.

Code style

  • Try to follow PEP8 code styling.
  • Type hints required for all code
  • Public APIs must have docstrings
  • Line length: 120 chars maximum

Coding Best Practices

  • Early Returns: Use to avoid nested conditions
  • DRY Code: Don't repeat yourself
  • Minimal Changes: Only modify code related to the task at hand
  • Simplicity: Prioritize simplicity and readability over clever solutions
  • Run Tests: Test your code frequently with realistic inputs and validate outputs

Didn't find tool you were looking for?

Be as detailed as possible for better results