python-backend

Enforce Python backend development workflows with uv, Ruff, mypy, and pytest.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/Kasuletrevor/marconi-elearn --skill python-backend-kasuletrevor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-backend
Source: https://github.com/Kasuletrevor/marconi-elearn/tree/main/.gemini/skills/python-backend
Command: npx skills add https://github.com/Kasuletrevor/marconi-elearn --skill python-backend-kasuletrevor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive set of best practices, tooling recommendations, and guardrails for developing robust, maintainable, and performant Python backend applications and services.

Core Features & Use Cases

  • Tooling Standardization: Enforces consistent use of modern Python development tools like uv, Ruff, mypy, and pytest.
  • Code Quality: Promotes clear, well-typed, and maintainable Python code following PEP 8 standards.
  • Data Handling: Recommends efficient data processing with polars and secure configuration management.
  • Use Case: When building a new FastAPI service, use this Skill to ensure all dependencies are managed with uv, code is linted by Ruff, and public APIs are type-annotated with mypy.

Quick Start

Apply these rules when producing or modifying Python backend code.

Frequently Asked Questions about python-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for Python backend development tooling?

Python backend best practices involve standardizing tooling with uv for dependency management, Ruff for linting, mypy for type-checking, and pytest for testing. This ensures clear, well-typed, and maintainable code following PEP 8 standards.

How do I set up a FastAPI service with modern Python tooling?

You set up a FastAPI service by managing dependencies with uv, linting code with Ruff, and type-annotating public APIs with mypy. This workflow enforces consistent tooling and secure configuration management for robust backend services.

Does this approach work with polars for data processing?

Yes, the approach works with polars for data processing. It recommends polars for efficient data handling and enforces secure .env patterns for configuration management within your backend application or service.

Why use uv and Ruff instead of standard Python packaging and linting tools?

Using uv and Ruff standardizes dependency management and linting, replacing traditional tools to improve performance and maintainability. This approach enforces consistent tooling decisions for packaging, linting, and type-checking across Python backend projects.

Can I use this workflow for background jobs and CLIs?

Yes, you can use this workflow for background jobs and CLIs. The enforced best-practice guardrails cover APIs, services, data access, background jobs, and command-line interfaces, ensuring comprehensive backend code quality.

When should I not use mypy for type-checking in Python backend projects?

You should not skip mypy for public APIs. The workflow mandates type-annotating public APIs with mypy to enforce code quality and maintainability, though internal implementations may have more flexible typing requirements.