Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

plugin-testing插件测试

Agent Skill

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

总安装

356

周安装

15

GitHub Stars

182

下载量

125
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/glittercowboy/plugin-freedom-system --skill plugin-testing

简介

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

  • 适合编写单元测试、端到端测试或根据失败日志定位问题。
  • 使用时需确认项目测试框架、运行命令和夹具数据,避免误改逻辑。
  • 可通过 npx skills add 命令从指定仓库安装并使用。
  • 注意:涉及浏览器或外部服务时应区分模拟环境与生产环境,防止意外调用。

SKILL.md

plugin-testing Skill

Purpose: Catch crashes, parameter issues, and state bugs in 2 minutes with automated tests.

IMPORTANT: Automatic validation is now built into the workflow. validation-agent runs automatically after each implementation stage (Stages 1-3) with compile-time and runtime tests. Validation is blocking - errors must be fixed before progressing.

This skill is for MANUAL testing only:

  • After completing workflow (via /test command)
  • After bug fixes (via /improve)
  • For additional verification beyond automatic validation
  • For manual DAW testing workflows

Was previously invoked by: plugin-workflow after Stages 3, 4, 5 (DEPRECATED - now handled by validation-agent)

Workflow Overview

Three test modes: (1) Automated (~2 min), (2) Build + Pluginval (~5-10 min) ⭐ RECOMMENDED, (3) Manual DAW (~30-60 min). See decision menu for details.

Phase 1: Detect Plugin and Mode Selection

<decision_gate> Complete all prerequisite checks before presenting mode selection:

  1. Parse plugin name from user input (from /test [Name] or natural language)
  2. Read PLUGINS.md and verify plugin exists
  3. Verify plugin status is NOT 💡 (implementation must exist)
  4. Check for Tests/ directory: test -d "plugins/{PLUGIN_NAME}/Tests/"

Present mode selection menu (see assets/decision-menu-templates.md#mode-selection) and WAIT for user selection (1-4). Do not proceed to Phase 2 until mode selected. </decision_gate>

Parse shorthand commands:

  • /test [PluginName] build → Jump to Mode 2
  • /test [PluginName] quick → Jump to Mode 1
  • /test [PluginName] manual → Jump to Mode 3

Phase 2: Execute Test Mode

Mode 1: Automated Testing

Track your progress:

Mode 1 Progress:
- [ ] Step 1: Check for Tests/ directory
- [ ] Step 2: Read test specifications
- [ ] Step 3: Build and execute tests
- [ ] Step 4: Parse test results
- [ ] Step 5: Present results and next steps

<critical_sequence> Execute these steps in exact order:

Verify Tests/ directory exists:

test -d "plugins/{PLUGIN_NAME}/Tests/"

VALIDATION GATE: If Tests/ directory does not exist:

  1. Inform user that automated tests require test infrastructure
  2. Present decision menu from assets/decision-menu-templates.md#missing-tests
  3. WAIT for user selection
  4. STOP - Do not proceed to Step 2 (user must select Mode 2 or cancel)

If Tests/ directory exists, proceed to Step 2.

Read references/test-specifications.md for detailed test implementations before proceeding.

Build and run tests (see references/test-specifications.md#execution).

Parse test output and generate report using template from assets/report-templates.md#mode1-results.

Present test results and post-test decision menu (see assets/decision-menu-templates.md#post-test-mode1). WAIT for user selection. </critical_sequence>

Mode 2: Build + Pluginval

Track your progress:

Mode 2 Progress:
- [ ] Step 1: Prerequisites check (pluginval installation)
- [ ] Step 2: Build Release binaries (VST3 + AU)
- [ ] Step 3: Run pluginval at strictness level 10
- [ ] Step 4: Parse validation results
- [ ] Step 5: Present results and next steps

<critical_sequence> Execute these steps in exact order:

Read references/pluginval-guide.md#installation-check for implementation details.

Check for pluginval installation using script from reference file.

VALIDATION GATE: If pluginval not found:

  1. Present installation decision menu (see assets/decision-menu-templates.md#pluginval-install)
  2. WAIT for user selection
  3. If user chooses to install: Provide installation instructions and wait for confirmation
  4. If user cancels: STOP workflow and return to main menu
  5. STOP - Do not proceed to Step 2 until pluginval is confirmed installed

Verify pluginval is accessible before proceeding to Step 2.

Build in Release mode (see references/pluginval-guide.md#build-process):

Locate binaries:

VST3_PATH="build/plugins/{PLUGIN_NAME}/{PLUGIN_NAME}_artefacts/Release/VST3/{PRODUCT_NAME}.vst3"
AU_PATH="build/plugins/{PLUGIN_NAME}/{PLUGIN_NAME}_artefacts/Release/AU/{PRODUCT_NAME}.component"

Validate both formats at strictness level 10 (see references/pluginval-guide.md#execution).

Parse pluginval output (see references/pluginval-guide.md#parsing-output) and generate report using template from assets/report-templates.md#mode2-results.

Present post-test decision menu (see assets/decision-menu-templates.md#post-test-mode2) and WAIT for user selection. </critical_sequence>

Mode 3: Manual DAW Testing

Track your progress:

Mode 3 Progress:
- [ ] Step 1: Read DAW testing guide
- [ ] Step 2: Generate customized checklist (parameter-specific)
- [ ] Step 3: Present checklist with testing instructions
- [ ] Step 4: Collect user test results (pass/fail per item)
- [ ] Step 5: Present next steps

<critical_sequence> Execute these steps in exact order:

Read references/manual-testing-guide.md for complete manual testing procedures.

Generate customized checklist from parameter-spec.md tailored to plugin's specific parameters and features.

Present checklist to user with instructions for manual testing in their DAW.

Inform user to report back with results (pass/fail per item).

WAIT for user to complete manual testing and provide results.

Parse user's feedback and generate completion report.

Present post-test decision menu (see assets/decision-menu-templates.md#post-test-mode3) and WAIT for user selection. </critical_sequence>

Phase 3: Failure Investigation (Option 1)

<delegation_rule> When user chooses "Investigate failures":

  1. For non-trivial issues: Non-trivial issues include: <handoff_protocol> Delegate to deep-research skill via Task tool: Task tool parameters: - task: "Investigate [test_name] failure in [PluginName] Context: - Test failed: [specific failure message] - Plugin type: [from creative-brief.md] - Relevant code: [file paths from investigation] Goal: Find root cause and provide specific fix" - subagent_type: "research-planning-agent" After deep-research completes: Never attempt to fix complex issues without delegation to deep-research. </handoff_protocol>

- Errors not documented in troubleshooting.md - Multiple interconnected test failures (3+ tests failing together) - JUCE API-specific problems (APVTS, processBlock, threading) - Issues requiring cross-file analysis (DSP + parameters + state management) - Platform-specific crashes or validation failures 1. Read deep-research return message completely 2. Verify root cause identified (not just symptoms) 3. Extract specific fix recommendations 4. THEN present findings to user with decision menu

</delegation_rule>

Phase 4: Log Test Results and Checkpoint

<state_requirement> After completing any test mode (1, 2, or 3):

Requirement 1: Save Test Log

Save detailed test log to: logs/{PLUGIN_NAME}/test_[timestamp].log

Use format from assets/report-templates.md#test-log-format

Requirement 2: Update.continue-here.md

Update .continue-here.md:

  • Set stage: "testing_complete"
  • Set next_step based on test results (installation if passed, investigation if failed)
  • Record last_tested: [timestamp]
  • Record test_mode: [1/2/3]

Requirement 3: Update PLUGINS.md

Update PLUGINS.md for {PLUGIN_NAME}:

  • Set test_status: "✅ passed" or "❌ failed"
  • Record last_tested: [date]
  • Record test_mode_used: [Mode 1/2/3]

Requirement 4: Commit Changes

Commit test results and state updates:

git add logs/{PLUGIN_NAME}/test_[timestamp].log .continue-here.md PLUGINS.md
git commit -m "test({PLUGIN_NAME}): {test_mode} validation {RESULT}"

Requirement 5: Check Workflow Mode

Read .claude/preferences.json to determine workflow mode:

  • If express mode with auto_test=true: Auto-progress to installation (skip decision menu)
  • If manual mode OR auto_test=false: Present post-test decision menu (see templates)

Complete all five requirements before proceeding.

Error Handling: If any requirement fails (file write error, missing plugin entry), report the specific error to the user and abort state update. Do not present the decision menu with incomplete state.

VERIFY all state files updated and committed successfully before presenting next steps. </state_requirement>

Success Criteria

Testing is successful when:

  • ✅ Tests run without crashes (even if some fail, process completes)
  • ✅ All tests pass OR failures are documented with clear explanations
  • ✅ User understands what failed and why (no mystery errors)
  • ✅ Logs saved for future reference (logs/[PluginName]/)
  • ✅ User knows next step (install, fix issues, continue workflow)
  • ✅ Test results stored in PLUGINS.md (test date, pass/fail, mode used)

NOT required for success:

  • 100% pass rate (failures are learning opportunities)
  • Fixing all issues immediately (user can defer fixes)
  • Running all 3 test modes (one mode is sufficient for validation)

Integration Points

Invoked by:

Commands:

  • /test [PluginName] → Mode selection menu
  • /test [PluginName] build → Direct to Mode 2 (pluginval)
  • /test [PluginName] quick → Direct to Mode 1 (automated)
  • /test [PluginName] manual → Direct to Mode 3 (DAW testing)

Skills:

  • plugin-improve → After implementing bug fixes or features
  • plugin-workflow → DEPRECATED (now uses validation-agent for automatic testing)

Natural Language:

  • "Test [PluginName]"
  • "Run validation on [PluginName]"
  • "Check [PluginName] for crashes"

Note: For workflow implementation testing, validation-agent runs automatically after each stage. This skill is only needed for manual testing outside the workflow.

Invokes:

  • deep-research skill → When user chooses "Investigate failures"

Creates:

  • Test logs in logs/{PLUGIN_NAME}/test_[timestamp].log
  • Build artifacts in build/plugins/{PLUGIN_NAME}/

Updates:

  • .continue-here.md → Testing checkpoint
  • PLUGINS.md → Test status

Reference Documentation

  • Test specifications: references/test-specifications.md - Detailed implementation of 5 automated tests
  • Pluginval guide: references/pluginval-guide.md - Industry-standard validation details
  • Manual testing guide: references/manual-testing-guide.md - DAW testing methodology
  • Troubleshooting: references/troubleshooting.md - Common issues and fixes

Template Assets

  • Manual testing checklist: assets/manual-testing-checklist.md - DAW testing template

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

26.18%
按下载量换算33

windsurf

24.69%
按下载量换算31

OpenCode

16.05%
按下载量换算20

Codex

12.66%
按下载量换算16

Antigravity

8.05%
按下载量换算10

Gemini CLI

3.13%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills