cypressnetworkstubgenerator

Generate cy.intercept() stubs from recorded HAR files for deterministic end-to-end tests. Supports using cy.session() for authentication caching and cy.origin() for cross-origin test workflows.

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 "cypressnetworkstubgenerator" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7bca6446b030b794a32d41bfa9666baeaecf213e80e8d440c1a689d9b4e7c495. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/cypress-network-stub-generator 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

Generate cy.intercept() stubs from recorded HAR files for deterministic end-to-end tests. Supports using cy.session() for authentication caching and cy.origin() for cross-origin test workflows.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Cypress Network Stub Generator"
slug: "cypress-network-stub-generator"
version: "1.0.0"
displayName: "Cypress Network Stub Generator"
summary: "从记录的 HAR 文件生成 cy.intercept() 桩函数,用于确定性端到端测试。使用 cy.session() 进行身份验证缓存,使用 cy.origin() 进行跨源测试工作流程。"
license: "MIT"
description: "从记录的 HAR 文件生成 cy.intercept() 桩函数,用于确定性端到端测试。使用 cy.session() 进行身份验证缓存,使用 cy.origin() 进行跨源测试工作流程。"
github_stars: 49617
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
category: "Browser Automation"
framework: "Codex"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 49617
  npm_package: "cypress"
  npm_weekly_downloads: 7268478

Cypress 网络桩生成器

从记录的 HAR 文件生成 cy.intercept() 桩函数,用于确定性端到端测试。使用 cy.session() 进行身份验证缓存,使用 cy.origin() 进行跨源测试工作流程。

安装

使用与您的环境匹配的上游安装或设置路径:

  • npm install cypress --save-dev
  • yarn add cypress --dev
  • pnpm add cypress --save-dev

基本用法或入门说明:

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

Highlights

  • 提供从 HAR 文件生成 Cypress 网络桩函数的能力,解决端到端测试中的网络请求模拟痛点
  • 支持 cy.session() 身份验证缓存和 cy.origin() 跨源测试,提升测试效率和覆盖范围
Trigger Precision95/100

Highlights

  • description 明确描述了核心功能和关键特性,触发词精准完整
Structure and Standards60/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少详细的使用场景说明和端到端示例,用户难以理解具体应用方式

    Recommendation: 补充 When to Use 章节和详细的端到端使用示例,帮助用户快速上手

  • 文档结构不完整 Reported severity: Minor

    文档结构较为简单,缺少详细的 Phase/步骤划分和出口条件说明

    Recommendation: 增加详细的步骤划分和使用流程说明,提升文档的完整性和可读性

Highlights

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

Areas to improve

  • 异常处理不完善 Reported severity: Minor

    未提及如何处理 HAR 文件解析错误、网络请求匹配失败等主要异常情况

    Recommendation: 补充异常处理机制说明,提升工具的健壮性和可靠性

Highlights

  • 工具来源明确,基于成熟的 Cypress 框架和 npm 生态系统
Evidence Verifiability (mean of the first four)71/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 28
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
  • 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.

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