Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问clear审计异常

test-health-check-setup测试健康检查设置

Agent Skill

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

总安装

222

周安装

9

GitHub Stars

1

下载量

70
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/victorpay1/intelligems-plugins --skill test-health-check-setup

简介

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

  • 适合编写单元测试、端到端测试或根据日志定位问题。
  • 需确认项目测试框架、运行命令和夹具数据后使用。test-health-check-setup 属于待分类类 Skill,可作为该场景下的辅助能力补充。
  • 涉及浏览器或外部服务时应区分模拟环境与生产环境。
  • 安装方式:通过 npx 从指定 GitHub 仓库添加。

SKILL.md

/test-health-check-setup

Create the Intelligems Test Health Check automation through conversation.

What you'll get:

  • Daily Slack messages with health status for each active test
  • Alerts when tests need attention (conversion drops, low orders)
  • Clear statistical outlook for each test
  • One message per test (not per brand)

Based on: Jerica's tutorial


Setup Workflow

Follow these steps in order. Ask questions conversationally, then create files directly.

Step 1: Project Directory

Ask where to create the project files.

Default: current working directory. If it's empty or home directory, suggest creating ~/Desktop/intelligems-slack-health-check/.

Step 2: Slack Webhook

Ask: "Do you already have a Slack webhook URL, or do you need help creating one?"

If they need help creating one:

Guide them through:

  1. Go to https://api.slack.com/apps
  2. Click "Create New App" > "From scratch"
  3. Name it "Intelligems Health Check" and select workspace
  4. Click "Incoming Webhooks" in sidebar
  5. Toggle "Activate Incoming Webhooks" to On
  6. Click "Add New Webhook to Workspace"
  7. Select the channel and click "Allow"
  8. Copy the webhook URL (starts with https://hooks.slack.com/services/)

If using Chrome browser automation: Offer to guide them through the Slack API website step by step.

Once they have the URL, save it for Step 4.

Step 3: Intelligems API Key

Ask: "What's your Intelligems API key?"

Format is ig_live_xxxxxxxxxx. If they don't have one, direct them to contact Intelligems support.

This is for a single brand - unlike the agency digest which handles multiple brands.

Step 4: Optional Threshold Customization

Show the default thresholds and ask if they want to change any:

SettingDefaultPurpose
MIN_SESSIONS_FOR_SIGNIFICANCE100Minimum visitors before analyzing
MIN_ORDERS_FOR_SIGNIFICANCE10Minimum orders before analyzing
CONVERSION_DROP_ALERT_THRESHOLD0.20Alert if conversion drops 20%+
MIN_CONFIDENCE_LEVEL0.9595% confidence for conclusions

Ask: "These are the default thresholds. Want to customize any of them?"

Step 5: Schedule Time

Ask: "What time should the daily health check run? (Default: 10:00 AM)"

Convert their answer to 24-hour format for the scheduler.

Step 6: Create Files

Read the templates from references/file-templates.md and create these files in the project directory:

  1. intelligems_health_check.py - Main script (copy exactly from template)
  2. config.py - Fill in user's thresholds
  3. .env - Fill in user's API key and Slack webhook
  4. requirements.txt - Python dependencies (copy from template)
  5. .gitignore - Protects credentials (copy from template)

Step 7: Install Dependencies

Create a virtual environment and install dependencies:

cd {PROJECT_DIR}
python3 -m venv venv
./venv/bin/pip install -r requirements.txt

This isolates packages and avoids conflicts with system Python.

Step 8: Daily Scheduler (Optional, macOS only)

Ask: "Want to set up automatic daily health checks?"

If yes:

  1. Create the plist file at ~/Library/LaunchAgents/com.intelligems.health-check.plist using template
  2. Replace {PROJECT_DIR} with the actual project path (uses venv Python automatically)
  3. Replace {HOUR} and {MINUTE} with user's chosen time
  4. Load the scheduler: launchctl load ~/Library/LaunchAgents/com.intelligems.health-check.plist

Tell user: "Your computer needs to be on at the scheduled time for the check to run."

Step 9: Test

Ask: "Want to run a test health check now?"

If yes, run:

./venv/bin/python3 intelligems_health_check.py

Check Slack for the message. The format should show:

  • Header with status icon (checkmark or warning)
  • Test name
  • Runtime and sessions
  • Control vs variant metrics
  • Key metrics with lift percentages
  • Statistical outlook

Step 10: Confirm Setup

Summarize what was created:

  • Files location
  • API key configured (masked)
  • Scheduler status and time
  • Commands for later use

Commands After Setup

# Run health check now (from project directory)
./venv/bin/python3 intelligems_health_check.py

# Check scheduler status (macOS)
launchctl list | grep health-check

Customizing Thresholds Later

Edit config.py:

# Alert if conversion drops more than this percentage
CONVERSION_DROP_ALERT_THRESHOLD = 0.20  # 20%

# Minimum data before analyzing
MIN_SESSIONS_FOR_SIGNIFICANCE = 100
MIN_ORDERS_FOR_SIGNIFICANCE = 10

# Confidence level for conclusions
MIN_CONFIDENCE_LEVEL = 0.95  # 95%

Troubleshooting

No Slack message?

  • Check the terminal for error messages
  • Verify webhook URL in .env
  • Verify API key format: ig_live_xxxxxxxxxx

Scheduler not running (macOS)?

launchctl list | grep health-check

Getting warnings for healthy tests?

  • Adjust CONVERSION_DROP_ALERT_THRESHOLD in config.py
  • Lower the percentage for stricter monitoring

Differences from Agency Digest

This SkillAgency Digest
Single brandMultiple brands
Health alerts per testSummary per brand
Conversion drop detectionLift + confidence focus
Based on Jerica's tutorialBased on Victor's approach

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

28.2%
按下载量换算20

windsurf

23.28%
按下载量换算16

trae

17.75%
按下载量换算12

OpenCode

12.42%
按下载量换算9

Cursor

7.97%
按下载量换算6

Codex

3.52%
按下载量换算2

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills