build-python

Automate Python project builds via pyprojectx and parse mypy, ruff, and pytest outputs.

4|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/cuioss/plan-marshall --skill build-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-python
Source: https://github.com/cuioss/plan-marshall/tree/main/marketplace/bundles/plan-marshall/skills/build-python
Command: npx skills add https://github.com/cuioss/plan-marshall --skill build-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates Python project builds using pyprojectx, enabling consistent execution and automated parsing of results (mypy, ruff, and pytest) across local and CI environments.

Core Features & Use Cases

  • Deterministic build execution via the pyprojectx wrapper pw, with timeouts and log capture.
  • Output parsing for mypy type errors, ruff lint issues, and pytest failures, producing structured results.
  • Adaptive timeout learning to optimize for faster iteration in development environments.
  • Use Case: CI pipeline that runs a Python project build and reports a structured summary of failures and warnings.

Quick Start

Run a build with pyprojectx using the run subcommand to execute a command and parse results.

Frequently Asked Questions about build-python

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

FAQPage Schema
How do I automate Python build and testing pipelines with mypy, ruff, and pytest?

Automate Python builds using pyprojectx to execute deterministic tasks and parse structured outputs from mypy, ruff, and pytest. This provides consistent test reporting, static analysis, and type checking across local development and CI environments.

Can I capture and parse pytest failures and ruff lint issues in a CI pipeline?

Yes, the build process parses pytest failures and ruff lint issues into structured results. It captures logs during execution to deliver structured error and warning reporting directly applicable to CI pipeline summaries.

What is the best way to handle Python build timeouts in local development environments?

The build process uses adaptive timeout learning to optimize execution speeds. It manages deterministic build execution via the pyprojectx wrapper, applying adaptive timeouts to prevent hanging during local development iterations.

Does pyprojectx support deterministic build execution with automated log diagnostics?

Yes, pyprojectx enables deterministic build execution with integrated log capture. It automatically generates log-based diagnostics and structured reporting for mypy type errors and ruff issues to streamline troubleshooting.

How to generate structured error and warning reports from a Python project build?

Run a build using the pyprojectx wrapper to execute commands and parse results automatically. The mechanism analyzes mypy and ruff outputs to produce structured summaries of type errors, lint issues, and test failures.

Why do my Python static analysis outputs fail to parse consistently across environments?

Inconsistent parsing often stems from non-deterministic execution environments. Using pyprojectx ensures deterministic build execution and standardized log capture, enabling reliable parsing of mypy and ruff outputs across CI pipelines.