script-test

测试脚本执行功能的示例 Skill

⭐182stars🔀32forks📁View on GitHub🕐Updated Jan 1, 2026

When & Why to Use This Skill

This Claude skill provides a specialized environment for executing and validating automated scripts across multiple languages including Bash, Python, and Node.js. It streamlines the testing process by allowing users to trigger script-based workflows, manage execution timeouts, and capture real-time logs, ensuring that automation logic is robust and error-free before deployment.

Use Cases

  • Automated Script Validation: Quickly test the logic and output of shell or python scripts within the Claude agent environment to ensure they perform as expected.
  • Environment Initialization: Use the auto-execute feature to run setup scripts (like init.sh) that configure dependencies or environment variables automatically upon skill activation.
  • Diagnostic and Health Checks: Execute system diagnostic scripts to gather logs and performance metrics, facilitating rapid debugging and quality assurance reporting.
namescript-test
description测试脚本执行功能的示例 Skill
version1.0.0
categorytesting
scriptPathinit.sh
scriptTypebash
autoExecutetrue
scriptTimeout10

脚本测试技能包

这是一个用于测试 Skill 脚本执行功能的示例。

当这个 Skill 被激活时,会自动执行 init.sh 脚本。

功能说明

  1. 脚本会在 Skill 激活时自动执行
  2. 支持多种脚本类型(bash, python, node 等)
  3. 可配置超时时间和环境变量
  4. 脚本执行结果会记录到日志中

使用示例

触发此 Skill:

请执行脚本测试

系统会:

  1. 匹配并激活此 Skill
  2. 注入技能包内容到上下文
  3. 自动执行 init.sh 脚本
  4. 显示脚本执行结果