neo-python

Solid

Use this skill when writing, reviewing, debugging, or architecting Python 3.10+ code, including type hints, structural pattern matching, dataclasses, async/task groups, packaging-aware project structure, testability, and maintainability.

AI & Automation 7 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Python 3.10+ Expert Skill ## Trigger On - The user asks to write, debug, review, or refactor Python code. - Working in a repository containing `*.py`, `pyproject.toml`, `requirements.txt`, `Pipfile`, or `poetry.lock`. - Requires asynchronous programming (`asyncio`), type hinting, or modern Python feature recommendations. - The project needs setup for testing frameworks (`pytest`) or static analysis tools (`ruff`, `mypy`). ## Workflow 1. **Perceive:** - Inspect the project root to identify package management tools: `pyproject.toml` (Poetry/PDM/Ruff), `requirements.txt` (pip), or `environment.yml` (Conda). - Probe for Python version requirements (ensure compatibility with 3.10+ minimum). - Identify the application type: Web API (FastAPI, Flask, Django), Data Science (Pandas, PyTorch), or CLI tools. 2. **Reason:** - Evaluate if the current code follows modern Python (3.10+) idioms (e.g., `match/case`, `|` union types). - Decide if type checking (MyPy/Pyright) or auto-formatting (Ruff/Black) needs to be introduced. - Recommend appropriate architectural patterns based on project scale. 3. **Act:** - Write Python code with complete Type Hints, prioritizing the `X | Y` syntax. - Prefer modern language features: `match` statements (3.10+), `TaskGroup` (3.11+), and new generic syntax (3.12+). - Ensure code passes static analysis and unit tests. ## Coding Standards - **Type Hinting:** Strongly recommended for all function signatures. Use 3.10+ union synt...

Details

Author
Benknightdark
Repository
Benknightdark/neo-skills
Created
6 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

python-pro

Use when building Python 3.11+ applications requiring type safety, async programming, or production-grade patterns. Invoke for type hints, pytest, async/await, dataclasses, mypy configuration.

4 Updated today
zacklecon
Code & Development Solid

python-backend-expert

This skill should be used when the user is writing, reviewing, debugging, or architecting Python backend services (FastAPI + SQLAlchemy 2.0 async + Pydantic v2) or long-running runtime processes (workers, ETL, daemons, CLI tools). Assumes Python 3.13+/3.14; detects installed libraries from pyproject.toml/uv.lock and adapts. Covers async correctness, dependency injection with Annotated[T, Depends], N+1 and MissingGreenlet, lifecycle and graceful shutdown, signals/subprocess/atomic writes, project structure, validation, testing, and AI-generated anti-patterns. Trigger phrases include "critique my FastAPI backend", "why am I getting MissingGreenlet", "is this blocking the event loop", "fix N+1 query", "structure my FastAPI project", "review my Pydantic models", "write a Python worker", "subprocess deadlock", and "process keeps growing in memory". Not for Django or Flask apps, notebooks, or data-science scripts — those stacks have different idioms this skill would misapply.

11 Updated yesterday
johnkozaris
AI & Automation Listed

ref-sp-py-python

Portable Python guidance for typed application code, scripts, CLIs, and tests. Use when: writing or refactoring Python modules, designing Python feature folders, or deciding typing and testing patterns.

0 Updated 3 days ago
swiftpostlabs