---
title: "Shard slow pytest suites by historic timings before CI bottlenecks pile up with pytest-split"
description: "Lets an agent split a large pytest suite into timing-balanced shards so parallel CI lanes finish faster and with less variance."
verification: "listed"
source: "https://github.com/jerry-git/pytest-split"
author: "jerry-git"
publisher_type: "individual"
category:
  - "CI/CD Integrations"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "jerry-git/pytest-split"
  github_stars: 308
  npm_package: "pytest-split"
  npm_weekly_downloads: 12820130
---

# Shard slow pytest suites by historic timings before CI bottlenecks pile up with pytest-split

Lets an agent split a large pytest suite into timing-balanced shards so parallel CI lanes finish faster and with less variance.

## Prerequisites

Python, pytest, pytest-split

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
pip install pytest-split
```

## Documentation

- https://github.com/jerry-git/pytest-split

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/shard-slow-pytest-suites-by-historic-timings-before-ci-bottlenecks-pile-up-with-pytest-split/)
