nylegarcia/ai-skills/python-dev

Claude Code and agent skill by nylegarcia/ai-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Expert guidance for Python application development, strictly using uv for dependency management and project isolation. Focuses on src layout, ruff, and pytest.

Install

npx vskill@latest install nylegarcia/ai-skills/python-dev

SKILL.md

The same SKILL.md was published earlier as nylegarcia/ai-skills/python-dev.

Python Development Skill

This skill provides expert guidance for building robust, maintainable, and idiomatic Python applications.

Project Setup & Dependency Management

Recommended Tools
  • uv: MANDATORY for lightning-fast package management and project isolation. Never use pip/poetry unless explicitly requested.
  • pytest: Standard for testing.
  • ruff: Fast, comprehensive linting and formatting.
  • mypy: Static type checking.
Initialization (uv)
bash
uv init
uv add pytest ruff mypy

Project Structure (src layout)

Prefer the src/ layout for better test isolation and package integrity:

project/
├── pyproject.toml
├── src/
│ └── package_name/
│ ├── __init__.py
│ └── main.py
├── tests/
│ └── test_main.py
└── README.md

Coding Standards

  • Type Hinting: Always use type hints for function signatures and complex variables.
  • Docstrings: Follow Google or NumPy style docstrings.
  • Asyncio: Use async/await for I/O bound tasks.

Testing with Pytest

  • Use fixtures for setup/teardown.
  • Place conftest.py in the tests/ directory for shared fixtures.
  • Mock external dependencies using pytest-mock.

Common Workflows

  • Linting: ruff check .
  • Formatting: ruff format .
  • Type Checking: mypy src
  • Testing: pytest

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nylegarcia/ai-skills/python-dev/badge)](https://verified-skill.com/skills/nylegarcia/ai-skills/python-dev)

Something wrong with this skill or its page? Tell us.