技能 编程开发 插件测试验证器

插件测试验证器

v20260222
test-skill
在端到端测试中通过读取文件、执行命令、确认触发词与工具权限,验证 Claude Code 插件能否正确激活与运行。
获取技能
414 次下载
概览

Test Skill

This is a minimal skill used for E2E testing of the Claude Code plugin system.

Purpose

This skill validates:

  • Skill loading from plugin directory
  • Frontmatter parsing (YAML)
  • Trigger phrase detection
  • Tool permission validation
  • 2025 schema compliance

Activation

This skill activates when you use phrases like:

  • "run test skill"
  • "execute test"
  • "test skill activation"

Allowed Tools

  • Read - Read files for validation
  • Write - Write test results
  • Bash - Execute test commands

Implementation

This skill performs basic test operations to validate the plugin system works correctly.

Test Operations

  1. Read test files
  2. Write test results
  3. Execute validation commands

Expected Behavior

When activated, this skill should:

  • Load successfully from the plugin
  • Parse frontmatter correctly
  • Match trigger phrases
  • Respect tool permissions

Error Handling

If this skill fails to activate:

  • Check plugin installation
  • Verify SKILL.md frontmatter
  • Validate allowed-tools format
  • Ensure trigger phrases are correct

Resources

  • E2E Test Suite Documentation: /tests/e2e/README.md
  • Plugin Structure: /.claude-plugin/plugin.json
信息
Category 编程开发
Name test-skill
版本 v20260222
大小 1.46KB
更新时间 2026-02-26
语言