python

Provides guidance for structuring Python projects, emphasizing reusable templates and workflowsbfs for consistent development.

47|11|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/styrene-lab/omegon --skill python-styrene-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/styrene-lab/omegon/tree/main/skills/python
Command: npx skills add https://github.com/styrene-lab/omegon --skill python-styrene-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes guesswork from Python development by giving you a consistent set of conventions for project structure, tooling, testing, and packaging.

Core Features & Use Cases

  • Project scaffolding: Use a src layout, a single pyproject.toml, and standard dev commands for clean Python repositories.
  • Tooling guidance: Apply Ruff for linting and formatting, Mypy for type checking, and Pytest for reliable test workflows.
  • Workflow patterns: Follow practical conventions for virtual environments, editable installs, async tests, CI checks, and packaging.
  • Use Case: When starting a new Python CLI or library, this Skill helps you choose the right backend, organize files, and set up repeatable development commands.

Quick Start

Ask the assistant to apply the Python Development Skill to your repository and produce a setup, linting, testing, and packaging plan that follows its conventions.

Frequently Asked Questions about python

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

FAQPage Schema
What's the best way to structure a Python project with pyproject.toml?

Python project structure using pyproject.toml should adopt a src layout to separate source code from tests, consolidating all configuration into a single file for clean repository scaffolding and reliable editable installs.

How do I set up Ruff, Mypy, and Pytest in a Python repository?

Set up Ruff, Mypy, and Pytest by centralizing their configuration within pyproject.toml, applying Ruff for linting and formatting, Mypy for type checking, and Pytest for establishing reliable testing workflows.

Does this Python workflow standard support Python 3.11 and older versions?

The workflow standard supports Python 3.11 and newer versions, targeting CLI tools, libraries, and application code that need consistent scaffolding, linting, testing, and packaging guidance.

How do I configure editable installs for local Python development?

Configure editable installs by using a virtual environment and a pyproject.toml-centric configuration, ensuring reliable local development where package changes immediately reflect without reinstallation.

Why use a src layout instead of a flat layout for Python packaging?

Using a src layout for Python packaging prevents import errors during testing by ensuring tests run against the installed package rather than the local directory, resulting in reliable local development and validation.

Can I manage async tests and CI checks with Pytest in this setup?

You can manage async tests and CI checks with Pytest by following practical workflow patterns that integrate standard development commands for reliable test execution and continuous integration.