Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

helpmetest-debugger帮助测试调试器

Agent Skill

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

总安装

649

周安装

26

GitHub Stars

公开资料未说明

下载量

210
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

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

SKILL.md

Who you are: If .helpmetest/SOUL.md exists in this project, read it before starting — it defines your character and shapes how you work.
No MCP? The CLI has full feature parity — use helpmetest <command> instead of MCP tools. See the CLI reference.

QA Debugger

Debugs failing tests to determine root cause and fix.

Golden Rule: ALWAYS reproduce interactively before fixing. Never guess. Never make blind fixes.

Prerequisites

Before debugging, load the project context and debugging guides:

how_to({ type: "context_discovery" })
how_to({ type: "interactive_debugging" })
how_to({ type: "debugging_self_healing" })

context_discovery tells you which Feature artifact the failing test belongs to, what scenarios are covered, and whether the bug is already known. This prevents documenting a bug that's already in feature.bugs[].

Input

  • Failing test ID
  • Error message/logs
  • Feature artifact the test belongs to

Before asking the user for any of these, scan the conversation — they're almost always already there.

Context Reading (do this before Phase 1)

Scan the conversation history for:

  • Test ID: any mention of a test name, test ID, or a test runner output block → use it directly, don't ask
  • Error message: any stack trace, "Element not found", timeout message, or assertion failure → pre-classify the failure type before loading test details
  • Feature domain: any mention of the feature being tested (e.g., "the login test broke") → pre-load the matching Feature artifact

Then check what code recently changed:

git diff --stat HEAD
git log --oneline -5

Map changed files to likely failure causes:

  • Selector-heavy files (components/, pages/, template files) → likely selector changes
  • Auth/session files → likely auth state or session issues
  • API route files → likely backend errors or changed response shapes
  • Config or env files → likely timing or environment issues

Use this to pre-classify the failure pattern before any interactive investigation. If you already know "auth files changed + test fails on login step", you can skip several investigation dead ends and go straight to checking whether the auth selector or flow changed.

If no context signals exist, proceed with Phase 1 and ask the user for the test ID and error.

Workflow

Phase 1: Understand the Failure

  1. Get test details using helpmetest_open_test
  2. Get test history using helpmetest_status({id: "test-id", testRunLimit: 10})
  3. Classify failure pattern (see the self-healing guide loaded above):

- Selector issue? Timing issue? State issue? API issue? Data issue? Test isolation? - Refer to pattern categories to identify symptoms and determine root cause

  1. Get Feature using helpmetest_get_artifact
  2. Identify failure point:

- Which step failed? - What was the error? - What was expected vs actual?

Phase 2: Reproduce Interactively

Don't skip this step. Use helpmetest_run_interactive_command to execute the test manually, step by step. This shows you exactly what's happening when the test fails - you can see the actual page state, missing elements, and error conditions that logs don't capture.

  1. Get Persona for auth_state if needed
  2. Start interactive session - Execute steps ONE AT A TIME, observing after EACH step: As <auth_state> Go To <url> → Observe: Did page load? Check URL. Look at page content.
  3. Execute steps leading up to failure - Run each step separately: Fill Text <selector> <value> → Observe: Did field get filled? Check with Get Attribute <selector> value Click <button-selector> → Observe: What happened after click? Did page change? Check Get Url
  4. When you reach the failing step, investigate based on error type: Element not found: Element not interactable: Wrong value/assertion failed: Timeout/page load failure:

- List all elements of that type on the page (buttons, inputs, etc.) - Try alternate selectors (text matching, class, attributes) - Determine: Is element missing (bug) OR selector wrong (test issue)? - Check if element is visible and enabled - Check if need to scroll to element - Check if multiple matches exist - Check if need to wait for element to become interactable - Determine: What's blocking interaction? - Check what's actually displayed - Check what page you're on - Check for error messages on page - Determine: Is behavior a bug OR did expectations change? - Try with longer timeout - Check where you ended up (Get Url) - Check for API responses - Wait for key elements that indicate page loaded - Determine: Is app slow (increase timeout) OR broken (bug)?

  1. Document findings after investigation:

- Exact step that failed - What you expected - What actually happened - Root cause (selector wrong, timing issue, feature broken, etc.)

Phase 3: Determine Root Cause

Refer to the self-healing guide (loaded above via how_to) for all failure pattern categories and fixes.

Quick reference:

  • Test isolation: Alternating PASS/FAIL + changing error values + shared state → Make idempotent
  • Selector issues: Element not found → Fix selector or document bug
  • Timing issues: Timeouts, element not visible → Add waits
  • State issues: Auth/session problems → Verify state restoration
  • API issues: Backend errors → Document as bug
  • Data issues: Conflicts, duplicates → Use unique data or cleanup

Phase 4A: Fix Test Issue

If problem is with the test (NOT a bug in the application):

  1. Identify fix based on interactive investigation:

- Update selector (found correct selector during investigation) - Add wait/timeout (saw element appears after delay) - Fix expected value (saw actual correct value during investigation) - Add missing setup step (discovered required state during investigation)

  1. Validate fix interactively before updating test: Run the COMPLETE corrected flow interactively to prove it works. Don't update the test until you've confirmed the entire flow succeeds interactively - otherwise you're applying an unverified fix. # Run the FULL test with fixes applied As <auth_state> Go To <url> # Step 1 with fix Fill Text <corrected-selector> <value> Get Attribute <corrected-selector> value == <value> # Verify it worked # Step 2 with fix Wait For Elements State <button> enabled timeout=5000 # Added wait Click <button> # Step 3 with fix Wait For Response url=/api/submit status=200 # Verify API call Get Text.success == Saved successfully # Updated expected text # Verify outcome Go To <url> # Reload to verify persistence Get Attribute <selector> value == <value> # Confirm data saved → If ANY step fails during interactive validation, STOP and investigate more → Only proceed when ENTIRE flow runs successfully interactively
  2. Update test using helpmetest_upsert_test with validated fixes
  3. Run test using helpmetest_run_test to confirm automated version works
  4. If test STILL fails:

- Return to Phase 2 (reproduce interactively) - Compare automated test output with interactive output - Find the difference - Repeat until test passes

Phase 4B: Document Bug

If problem is with the feature:

  1. Add bug to Feature.bugs: {"name": "Brief description", "given": "Precondition", "when": "Action taken", "then": "Expected outcome", "actual": "What actually happens", "severity": "blocker|critical|major|minor", "url": "http://example.com/page", "tags": ["affects:all-users"], "test_ids": []}
  2. Update Feature.status to "broken" or "partial"
  3. Skip or tag test until bug is fixed

Phase 5: Update Feature Status

After debugging:

  1. Update Feature.status:

- "working": All scenarios pass - "broken": Critical scenarios fail due to bugs - "partial": Some scenarios pass, some fail

  1. Update ProjectOverview.features with works: true/false

Output

  • Root cause identified
  • Test fixed OR bug documented
  • Feature.status updated
  • Summary of actions taken

Self-Healing Patterns

Refer to the self-healing guide (loaded above via how_to) for all auto-fixable patterns and strategies.

Critical Rules

  1. Always reproduce first - Don't guess, verify
  2. Determine bug vs test issue - Different actions needed
  3. Update artifacts - All findings go into Feature
  4. Verify fixes - Run test after fixing

Version: 0.1

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.74%
按下载量换算79

Claude

30.44%
按下载量换算64

Cursor

19.75%
按下载量换算41

Gemini CLI

8.89%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills