Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计提醒

helpmetest-proxy帮助测试 Agent

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

392

周安装

16

GitHub Stars

公开资料未说明

下载量

127
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:helpmetest-proxy(帮助测试 Agent)
来源仓库:https://github.com/help-me-test/skills
仓库路径:skills/helpmetest-proxy
安装命令:
npx skills add https://github.com/help-me-test/skills --skill helpmetest-proxy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/help-me-test/skills --skill helpmetest-proxy

简介

helpmetest-proxy 用于辅助测试设计、自动化测试用例整理和回归验证。

  • 适用于需要编写单元测试、端到端测试或根据失败日志定位问题的开发工作。
  • 使用时需确认项目测试框架、运行命令和夹具数据,避免为通过测试而破坏真实逻辑。
  • 涉及浏览器或外部服务时,应严格区分本地模拟、测试环境与生产环境。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

No MCP? The CLI has full feature parity — use helpmetest proxy start/stop/list instead of helpmetest_proxy({...}). See the CLI reference.

HelpMeTest Proxy Setup

Sets up proxy tunnels to test local development servers through HelpMeTest.

How It Works

HelpMeTest tests run on remote infrastructure. Your local dev server (localhost:3000) is not reachable from there. The proxy creates a TCP tunnel:

  1. You start a proxy via the MCP tool — it registers a tunnel with the proxy server and spawns an frpc process
  2. The tunnel maps a domain (e.g. dev.local) to your local port
  3. HelpMeTest's test runner routes traffic for that domain through the tunnel back to your machine
  4. Your local server responds as if accessed directly

The proxied URL (e.g. http://dev.local) is NOT accessible from your local browser or curl. It only works inside HelpMeTest test commands (Go To, helpmetest_run_interactive_command, etc.).

When to Use

  • Testing against localhost during development
  • Substituting production URLs with local versions
  • Routing frontend and backend on different ports
  • Before writing or running any local tests

Quick Start

Start a proxy:

helpmetest_proxy({ action: "start", domain: "dev.local", sourcePort: 3000 })

Verify it works (use HelpMeTest, NOT curl):

helpmetest_run_interactive_command({ command: "Go To  http://dev.local" })

Should load your local app. If it doesn't, fix the proxy before writing tests.

Check active proxies:

helpmetest_proxy({ action: "list" })

Stop a proxy:

helpmetest_proxy({ action: "stop", domain: "dev.local" })

Three Proxy Strategies

Strategy 1: Single Tunnel to Frontend

When: Your dev server already proxies some routes internally (e.g., Vite's server.proxy sends /api to backend port)

helpmetest_proxy({ action: "start", domain: "dev.local", sourcePort: 5001 })

Tests use http://dev.local — both UI and API calls work through one tunnel.


Strategy 2: Separate Tunnels for Frontend and Backend

When: Services need different hostnames (cookies, CORS), or no internal proxy configured.

helpmetest_proxy({ action: "start", domain: "frontend.local", sourcePort: 5001 })
helpmetest_proxy({ action: "start", domain: "backend.local", sourcePort: 3001 })

Tests use http://frontend.local for UI and http://backend.local for API.


Strategy 3: Substitute Production with Local

When: You have tests running against production URLs and want to test local changes without modifying test code.

helpmetest_proxy({ action: "start", domain: "my.awesome.app", sourcePort: 3000, externalPort: 80 })

Tests use http://my.awesome.app — routes to localhost:3000 instead of production.

Port mapping:

  • domain — hostname in test URLs
  • externalPort — port in test URLs (default 80 for HTTP)
  • sourcePort — your local development port

WebSocket Support

  • wss:// (TLS WebSocket) works through the tunnel via CONNECT
  • ws:// (plain WebSocket) does NOT work — browsers block non-TLS WebSocket through HTTP proxy

If your app uses WebSocket, make sure it connects over wss://.

Verification

After starting a proxy, always verify using HelpMeTest interactive commands:

helpmetest_run_interactive_command({ command: "Go To  http://dev.local" })

Expected: Your local app loads successfully. If you see chrome-error://chromewebdata/ or a connection error, the proxy is not working — fix it before writing tests.

Do NOT try to verify with curl or your local browser — the proxy only works inside HelpMeTest's infrastructure.

Troubleshooting

Tests show chrome-error or connection refused

  1. Check proxy is running: helpmetest_proxy({action: "list"})
  2. Check local server is running: curl http://127.0.0.1:3000 (this works locally)
  3. Restart proxy if needed: Stop and start again

Stale frpc processes blocking new proxy

If starting a proxy fails with "proxy already exists":

  • A previous frpc process may still be running with the same name
  • Stop the proxy first: helpmetest_proxy({action: "stop", domain: "dev.local"})
  • Or stop all: helpmetest_proxy({action: "stop_all"})
  • If MCP-managed stop doesn't work, check for orphaned frpc processes: ps aux | grep frpc

MCP tool shows old output format

If the proxy tool output looks different from what's documented here, the MCP server may be running old code. Restart the MCP server with /mcp.

Custom hostname not resolving

Custom hostnames (like frontend.local) are handled entirely by the proxy — no /etc/hosts edits needed. If verification fails:

  1. Verify proxy is running with list action
  2. Make sure you're using HTTP (not HTTPS) unless you have TLS configured
  3. Check the exact domain matches what you used in start

Multiple Services Example

# Local frontend on port 5001
helpmetest_proxy({ action: "start", domain: "frontend.local", sourcePort: 5001 })

# Local backend API on port 3001
helpmetest_proxy({ action: "start", domain: "api.local", sourcePort: 3001 })

# Production service running locally on port 8000
helpmetest_proxy({ action: "start", domain: "prod.myapp.com", sourcePort: 8000, externalPort: 80 })

Tests can now use all three domains inside HelpMeTest commands.

Best Practices

  1. Start proxy BEFORE writing tests — don't debug test failures caused by missing proxy
  2. Always verify with HelpMeTest — use interactive commands, not curl or browser
  3. Choose simplest strategy — if frontend already proxies backend, use Strategy 1
  4. Use consistent domains — if you use frontend.local in one test, use it in all tests for that service
  5. Stop proxies when donestop_all cleans up everything

Version: 0.2

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.33%
按下载量换算44

Claude

31.11%
按下载量换算40

Cursor

19.24%
按下载量换算24

Gemini CLI

10.53%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills