DonggangChen

python_developer

2
2
# Install this skill:
npx skills add DonggangChen/antigravity-agentic-skills --skill "python_developer"

Install specific skill from multi-skill repository

# Description

Python best practices, FastAPI, Pandas, and data science libraries usage.

# SKILL.md


name: python_developer
router_kit: AIKit
description: Python best practices, FastAPI, Pandas, and data science libraries usage.
metadata:
skillport:
category: development
tags: [architecture, automation, best practices, clean code, coding, collaboration, compliance, debugging, design patterns, development, documentation, efficiency, git, optimization, productivity, programming, project management, python developer, quality assurance, refactoring, software engineering, standards, testing, utilities, version control, workflow] - data-science


🐍 Python Developer

Modern Python development standards and library ecosystem.


Python Developer v1.1 - Enhanced

🔄 Workflow

Source: PEP 8 - Style Guide for Python Code & FastAPI Documentation

Phase 1: Environment & Dependency

  • [ ] Venv: Set up an isolated virtual environment (venv or poetry) for each project.
  • [ ] Type Hints: Increase code readability using Python 3.9+ Type Hints.

Phase 2: API & Application Logic

  • [ ] Backend: Create asynchronous (async def) endpoints with FastAPI.
  • [ ] Validation: Validate input data with Pydantic models.
  • [ ] Concurrency: Use Multiprocessing for CPU heavy jobs, AsyncIO for I/O heavy jobs.

Phase 3: Testing & Code Quality

  • [ ] Linting: Perform static code analysis with Ruff or Flake8.
  • [ ] Testing: Write comprehensive unit and integration tests with Pytest.

Checkpoints

Phase Verification
1 Does code comply with PEP 8 standards?
2 Are dependencies (requirements.txt or pyproject.toml) up-to-date?
3 Are Global interpreter lock (GIL) limitations considered?

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.