vcrpypythonhttp

Use VCR.py when an agent needs to convert unstable, slow, or rate-limited Python tests into stable runs by recording real HTTP interactions once and replaying them from tape files. The agent decides which requests are fixtures, refreshes expired tapes when upstream APIs change, and excludes external traffic from repeated test loops.

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 "vcrpypythonhttp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5c3180b84be7ec22614a73c854ba3748679f4587dc13467fbdfc55127e526570. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py 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

Use VCR.py when an agent needs to convert unstable, slow, or rate-limited Python tests into stable runs by recording real HTTP interactions once and replaying them from tape files. The agent decides which requests are fixtures, refreshes expired tapes when upstream APIs change, and excludes external traffic from repeated test loops.

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 plus VCR.py integrated into the project's test framework
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: "使用 VCR.py 为确定性 Python 测试记录和重放 HTTP 固件"
slug: "record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py"
version: "1.0.0"
displayName: "使用 VCR.py 为确定性 Python 测试记录和重放 HTTP 固件"
summary: "当代理需要通过录制真实的HTTP交互一次并从磁带文件中回放来将不稳定的、缓慢的或受速率限制的Python测试转换为稳定运行时,请使用VCR.py。该代理决定哪些请求属于fixtures,当上游API发生变化时刷新过期的磁带,并将外部流量排除在重复测试循环之外。"
license: "MIT"
description: "当代理需要通过录制真实的HTTP交互一次并从磁带文件中回放来将不稳定的、缓慢的或受速率限制的Python测试转换为稳定运行时,请使用VCR.py。该代理决定哪些请求属于fixtures,当上游API发生变化时刷新过期的磁带,并将外部流量排除在重复测试循环之外。"
github_stars: 2956
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 2956

使用 VCR.py 为确定性 Python 测试记录和重放 HTTP 固件

Use VCR.py when an agent needs to turn flaky, slow, or rate-limited Python tests into stable runs by recording real HTTP interactions once and replaying them from cassette files. The agent decides which requests belong in fixtures, refreshes stale cassettes when upstream APIs change, and keeps external traffic out of the repeat test loop.

Prerequisites

Python plus VCR.py integrated into the project's test framework

Installation

Requirements and caveats from upstream:

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 Value72/100

Highlights

  • 提供了解决 Python 测试中 HTTP 交互不稳定问题的实用方案
  • 适用于需要稳定测试环境的开发者场景
Trigger Precision75/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    description 提供了清晰的触发场景,但缺少具体的触发词示例或变体,边界稍显模糊。

    Recommendation: 建议补充具体的触发词示例(如 'record http', 'replay cassette' 等)以提升触发精准度。

Highlights

  • description 清晰描述了核心使用场景和解决的问题
Structure and Standards65/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档缺少详细的步骤划分和端到端示例,用户可能难以理解完整执行流程。

    Recommendation: 建议添加一个完整的端到端使用示例,展示从录制到回放的完整流程。

Highlights

  • frontmatter 完整,包含必要的元数据信息
Execution Reliability60/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖主要异常处理场景(如网络错误、磁带文件损坏等),可能影响执行可靠性。

    Recommendation: 建议补充常见异常的处理建议和错误恢复机制说明。

Highlights

  • 提供了基本用法说明和上游文档链接
Evidence Verifiability (mean of the first four)68/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.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

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
  • pypi.python.org
  • raw.githubusercontent.com
  • vcrpy.readthedocs.io

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 plus VCR.py integrated into the project's test framework

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