pytest-splitcipytest

Enable agents to split large pytest suites into time-balanced shards so parallel CI lanes finish faster with reduced variance.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pytest-splitcipytest" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f6475a6ba25874048b7178f220598df31c336c6e1a5964c084a3a83eef5f9a86. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/shard-slow-pytest-suites-by-historic-timings-before-ci-bottlenecks-pile-up-with-pytest-split before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Enable agents to split large pytest suites into time-balanced shards so parallel CI lanes finish faster with reduced variance.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Python, pytest, pytest-split
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用pytest-split在CI瓶颈堆积之前按历史时间分片慢速pytest套件"
slug: "shard-slow-pytest-suites-by-historic-timings-before-ci-bottlenecks-pile-up-with-pytest-split"
version: "1.0.0"
displayName: "使用pytest-split在CI瓶颈堆积之前按历史时间分割慢速pytest套件"
summary: "让代理将大型 pytest 套件分割成时间平衡的分片,从而使并行 CI 频道能够更快完成,并且差异更小。"
license: "MIT"
description: "让代理将大型 pytest 套件分割成时间平衡的分片,从而使并行 CI 频道能够更快完成,并且变异更小。"
github_stars: 308
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "CI/CD Integrations"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 308
  npm_package: "pytest-split"
  npm_weekly_downloads: 12820130

使用pytest-split在CI瓶颈堆积之前按历史时间分割慢速pytest套件

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

Use the upstream install or setup path that matches your environment:

  • pip install pytest-split

Requirements and caveats from upstream:

  • PyPI
  • PyPI - Python Version
  • PyPI - License

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决CI/CD中pytest套件并行执行的痛点,具有明确的工程实用价值
  • 针对大型测试套件的时间平衡分片需求,能提升并行效率和稳定性
Trigger Precision75/100

Areas to improve

  • 触发词描述不够具体 Reported severity: Minor

    description中未明确列出具体的触发关键词,仅描述了功能场景

    Recommendation: 建议在description中补充具体的触发关键词,如'pytest分片'、'CI并行测试'、'测试套件分割'等

Highlights

  • 功能场景描述清晰,能准确传达Skill的核心用途
Structure and Standards70/100

Areas to improve

  • 缺少明确的执行步骤划分 Reported severity: Minor

    文档有Prerequisites和Installation,但缺少Phase或Step的明确步骤划分

    Recommendation: 建议添加Phase 1/2/3等明确的执行步骤,并补充端到端的使用示例

  • 文档结构可进一步完善 Reported severity: Minor

    缺少When to Use章节和具体的操作示例

    Recommendation: 建议补充When to Use说明和完整的操作示例,帮助用户理解何时以及如何使用该Skill

Highlights

  • frontmatter完整,包含必要的元数据信息
  • 文档结构基本完整,有清晰的章节划分
Execution Reliability80/100

Highlights

  • 工具来源明确,提供了pip安装命令和上游文档链接
  • 参数使用正确,符合pytest-split的标准用法
  • 提供了基本的注意事项说明
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 34
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • img.shields.io
  • pypi.python.org
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python, pytest, pytest-split

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.