Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

helpmetest-context帮助测试上下文

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

  • 适用于需要编写测试计划或分析失败日志以定位问题的开发工作。
  • 使用时需确认项目测试框架和运行命令,确保测试逻辑符合实际业务。
  • 涉及外部服务时应区分本地模拟与生产环境,防止误操作影响线上系统。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

HelpMeTest Context

Two responsibilities: discover what already exists before doing work, and link new work back into artifacts after doing it.

These are two sides of the same coin — context discovery prevents recreating work that already exists, and artifact linking ensures future sessions can discover what you just did.

Part 1: Discovery (Before Starting Work)

Always call this before any task:

how_to({ type: "context_discovery" })

Then read the output to understand:

  • ProjectOverview — what site is being tested, what features are known, what's missing
  • Personas — which user types and auth states exist (use these, don't recreate them)
  • Features — which capabilities have been discovered, their status (untested/working/broken/partial)
  • Tests — what's already been written and run

What to do with the results

FoundAction
Existing ProjectOverviewResume from it — don't recreate
Existing Persona with auth stateUse As <StateName> — don't re-authenticate
Feature with status: untestedThese are candidates for test generation
Feature with test_ids: [] on a scenarioThis scenario has no test yet
Feature with status: broken/partialKnown bugs exist — check feature.bugs[]
No artifacts at allCheck for orphaned tests first (see below), then start with /helpmetest-discover

Recovering context from orphaned tests

Tests are a rich source of implicit context. A test tagged feature:password-reset, project:evershop, priority:critical is essentially a compressed Feature artifact — it names the feature, the project, and the importance level. When Feature artifacts are missing but tests exist, reconstruct context from the tests rather than starting from scratch.

  1. Search for all tests: helpmetest_status or helpmetest_search_artifacts
  2. Group tests by their feature:X tag — each unique feature tag represents a capability
  3. For each feature group, create a minimal Feature artifact stub:

- goal: infer from test names (e.g. tests named "User can reset password" → goal is password reset) - status: infer from recent pass/fail rates — all passing → "working", failing → "broken", mixed → "partial" - test_ids: populate from the existing tests immediately - functional: create a scenario stub for each test

{
  "type": "Feature",
  "id": "feature-password-reset",
  "name": "Feature: Password Reset",
  "content": {
    "goal": "Users can recover account access via email reset",
    "status": "working",
    "functional": [
      {
        "name": "User can request password reset email",
        "given": "User is on login page",
        "when": "User submits reset request with valid email",
        "then": "Reset email is sent",
        "test_ids": ["test-password-reset-basic"]
      }
    ],
    "edge_cases": [],
    "bugs": []
  }
}
  1. Create a ProjectOverview linking all reconstructed features
  2. Tell the user what was reconstructed and what gaps remain (e.g., scenarios with no tests, features with no artifacts)

This gives the user an accurate picture of current state rather than "no artifacts found." The reconstructed artifacts also serve as the starting point for future sessions.

If user says "continue" or "same as before"

Infer the URL and context from the existing ProjectOverview. Don't ask the user to repeat information that's already in artifacts.

Part 2: Linking (After Doing Work)

Whenever you create something, update the artifact that owns it. This is how future sessions know what was done.

Test created → link to Feature scenario

Find the Feature artifact the test belongs to (via context_discovery or helpmetest_search_artifacts), then add the test ID to the matching scenario's test_ids:

{
  "name": "User can complete checkout",
  "given": "...",
  "when": "...",
  "then": "...",
  "test_ids": ["test-checkout-complete"]
}

If the Feature artifact doesn't exist yet: don't silently create one from scratch. First check if tests exist for that feature (they may have been written before the artifact). If tests exist, use the recovery path above to reconstruct the artifact from them. If truly nothing exists, create a minimal stub and tell the user the feature hadn't been formally discovered yet.

Bug found → add to Feature.bugs

{
  "bugs": [
    {
      "name": "Checkout fails when cart has >10 items",
      "given": "User has 11 items in cart",
      "when": "User clicks Checkout",
      "then": "Order confirmation page",
      "actual": "500 error from /api/checkout",
      "severity": "critical",
      "test_ids": ["test-checkout-large-cart"],
      "tags": ["priority:critical", "severity:critical", "feature:checkout"]
    }
  ]
}

Valid tag categories: priority:X, severity:X, feature:X, scenario:X, workflow:X, role:X, project:X. Do not invent new categories like platform:mobile or type:bug — these break filtering. To capture platform-specific context, put it in the bug's name or actual field instead.

Feature status changed → update ProjectOverview

// In ProjectOverview.features, update the status:
{ "feature_id": "feature-checkout", "name": "Checkout", "status": "broken" }

Auth state created → save to Persona artifact

{
  "auth_state": "CustomerState",  ← this is what other skills use with "As CustomerState"
  "username": "test@example.com",
  "password": "SecureTest123!"
}

The Rule

If you created it, link it. If you discovered it, use it.

A test without a test_ids link is invisible to the next session. A bug without a feature.bugs entry will be rediscovered. A persona without an auth_state will require re-authentication. Artifacts are the memory of the system — keep them current.

Quick Checklist

Before starting:

  • Called how_to({type: "context_discovery"})
  • Found and read existing ProjectOverview (if any)
  • Identified which Persona auth states exist
  • Identified which features still need tests

After finishing:

  • New tests linked to scenario test_ids
  • Bugs added to feature.bugs[]
  • Feature status updated (untested → working/broken/partial)
  • ProjectOverview updated if feature status changed

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.83%
按下载量换算24

Claude

27.41%
按下载量换算18

Cursor

17.65%
按下载量换算12

Gemini CLI

9.9%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills