Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计提醒

quick-test快速测试

Agent Skill

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

总安装

24,531

周安装

1,012

GitHub Stars

公开资料未说明

下载量

8,015
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:quick-test(快速测试)
来源仓库:https://github.com/gustavoziaugra/quick-test
安装命令:
openclaw skills install quick-test
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install quick-test

简介

运行基本系统命令来验证 Python、工作目录、文件访问和命令执行,以进行 OpenClaw 环境验证和调试。

SKILL.md

name
quick-test
description
Quick system test to verify OpenClaw environment. Simple command execution with output validation. Use when testing if OpenClaw is working correctly, verifying command execution, or need a simple command run. Perfect for debugging or confirming system status.

Quick Test

Overview / Visão Geral

Simple system test to verify OpenClaw environment. Run basic commands and validate output.

Teste de sistema simples para verificar o ambiente do OpenClaw. Rode comandos básicos e valide a saída.

Quick Start / Início Rápido

# Run all tests
python3 scripts/run_tests.py

# Run specific test
python3 scripts/run_tests.py --test date
python3 scripts/run_tests.py --test files

# Test with custom command
python3 scripts/run_tests.py --command "echo 'Hello World'"

Installation / Instalação

  1. Clone this repository / Clone este repositório:
git clone https://github.com/GustavoZiaugra/quick-test-skill.git
cd quick-test-skill
  1. No dependencies required / Sem dependências necessárias

- Uses only Python standard library - Não requer dependências externas

Usage / Uso

Run All Tests / Rodar Todos os Testes

python3 scripts/run_tests.py

This will:

  • Check Python availability
  • Verify current working directory
  • Test file system access
  • Run system commands
  • Validate all outputs

Isso irá:

  • Verificar disponibilidade do Python
  • Confirmar diretório de trabalho atual
  • Testar acesso ao sistema de arquivos
  • Rodar comandos do sistema
  • Validar todas as saídas

Run Specific Test / Rodar Test Específico

# Test date functionality
python3 scripts/run_tests.py --test date

# Test file system
python3 scripts/run_tests.py --test files

# Run custom command
python3 scripts/run_tests.py --command "pwd"

Parameters / Parâmetros

ParameterDescriptionDescriçãoDefault
--testSpecific test to run / Teste específico para rodarall--test date
--commandCustom command to execute / Comando customizado para executarnone--command "ls -la"
--quietSuppress output / Suprimir saídafalse--quiet

Output Format / Formato de Saída

✅ Quick Test Results

System Status: OK
Python: 3.12.7
Working Directory: /home/zig/.openclaw/workspace

Tests Run: 3/3 Passed
[✓] Python test
[✓] Date test
[✓] File system test

All tests passed successfully!

Features / Funcionalidades

  • Python Availability Check / Verificação de Disponibilidade do Python - Confirms Python 3.x installed
  • System Command Execution / Execução de Comando do Sistema - Runs and validates system commands
  • File System Access / Acesso ao Sistema de Arquivos - Verifies directory access and permissions
  • Custom Command Support / Suporte a Comandos Customizados - Run any command with validation
  • Working Directory Check / Verificação de Diretório de Trabalho - Confirms current location
  • 📝 Detailed Logging / Log Detalhado - Comprehensive output for debugging

How It Works / Como Funciona

  1. System Check / Verificação de Sistema - Verifies Python and OS environment
  2. Directory Check / Verificação de Diretório - Validates working directory permissions
  3. Test Execution / Execução do Teste - Runs requested tests
  4. Validation / Validação - Checks outputs and returns
  5. Reporting / Relatório - Formats clear success/failure messages

Use Cases / Casos de Uso

System Verification / Verificação do Sistema

Confirm OpenClaw is running correctly:

python3 scripts/run_tests.py --test date --test files --test command

Debugging Commands / Comandos de Debugging

Run specific system commands:

python3 scripts/run_tests.py --command "pwd"
python3 scripts/run_tests.py --command "ls -la"
python3 scripts/run_tests.py --command "env | head -10"

Before/After Testing / Antes/Depois de Testar

Use Quick Test to verify system before/after:

# Before installing a skill
python3 scripts/run_tests.py

# After installing a skill
python3 scripts/run_tests.py

Examples / Exemplos

Basic Test / Teste Básico

# Check if everything works
python3 scripts/run_tests.py

Output:

✅ Quick Test - System Verification

Environment Check:
✓ Python 3.12.7
✓ Linux Ubuntu
✓ User: zig
✓ Working Directory: /home/zig/.openclaw/workspace

Tests:
[✓] Command: `pwd` → Passed
[✓] Command: `ls -la` → Passed
[✓] Command: `date` → Passed

All tests passed!

Custom Command / Comando Customizado

# Run a specific command
python3 scripts/run_tests.py --command "echo 'Custom test'"

Output:

Custom Command: echo 'Custom test'
Result: ✅ Passed
Output: Custom test

Testing Results / Resultados dos Testes

Success Indicators / Indicadores de Sucesso

  • All tests passed - System is working correctly / Sistema funcionando corretamente
  • ⚠️ Some tests failed - Minor issues detected / Problemas menores detectados
  • Critical failures - System issues requiring attention / Problemas de sistema requerendo atenção

Common Test Failures / Falhas Comuns de Teste

Permission Denied: pwd or ls returns errors

  • Check user permissions / Verifique permissões do usuário
  • Verify directory access / Confirme acesso ao diretório

Command Not Found: Custom command not executable

  • Verify command exists / Verifique se o comando existe
  • Check PATH / Verifique o PATH

Directory Not Found: Working directory check fails

  • Verify path / Verifique o caminho
  • Check permissions / Verifique permissões

Scripts Included / Scripts Incluídos

scripts/run_tests.py

Main test runner script. Script principal de execução dos testes.

scripts/tests.py

Test suite with individual test functions. Suíte de testes com funções de testes individuais.

scripts/system_check.py

System validation functions. Funções de validação do sistema.

Philosophy / Filosofia

Keep It Simple / Mantenha Simples

  • Test core functionality only
  • Avoid complex dependencies / Evite dependências complexas
  • Clear, readable output / Saída clara e legível

Fast Feedback / Feedback Rápido

  • Show results immediately / Mostre resultados imediatamente
  • Pass/fail clear / Sucesso/Falha claro
  • No waiting or timeout / Sem espera ou timeout

Debugging Friendly / Amigável para Debugging

  • Detailed error messages / Mensagens de erro detalhadas
  • System information included / Informações do sistema incluídas
  • Suggest fixes / Sugere correções

Resources / Recursos

scripts/run_tests.py

Main runner script that executes all tests and formats results. Script principal que executa todos os testes e formata os resultados.

scripts/tests.py

Individual test functions for system verification. Funções de teste individuais para verificação do sistema.

scripts/system_check.py

System validation and environment check functions. Funções de validação e verificação de ambiente do sistema.

Dependencies / Dependências

None! / Nenhuma!

Uses only Python standard library (sys, os, subprocess, datetime, json, pathlib). Usa apenas biblioteca padrão do Python (sys, os, subprocess, datetime, json, pathlib).

Limitations / Limitações

User Permissions: Requires read and execute access to directories

  • Permissões do Usuário: Requer acesso de leitura e execução a diretórios
  • System commands must be in PATH / Comandos do sistema devem estar no PATH

System Differences: Behavior may vary by OS (Linux, macOS, Windows)

  • Diferenças do Sistema: Comportamento pode variar por sistema operacional (Linux, macOS, Windows)

Troubleshooting / Solução de Problemas

Tests Fail / Testes Falhando

If tests fail:

  1. Check permissions / Verifique permissões - Ensure user has read/write access
  2. Verify Python / Confirme Python - Test python3 --version
  3. Check commands / Verifique comandos - Ensure basic commands exist
  4. Review logs / Revise logs - Look for specific error messages

Command Not Executing / Comando Não Executando

If a custom command returns nothing or errors:

  1. Verify command exists / Verifique se o comando existe - Use which or whereis
  2. Test directly / Teste diretamente - Run command outside of this skill
  3. Check PATH / Verifique o PATH - Ensure command is in system PATH

Python Not Found / Python Não Encontrado

If Python test fails:

  1. Check Python version / Verifique versão do Python - Requires 3.7+
  2. Verify installation / Confirme instalação - Check which python3
  3. Reinstall if needed / Reinstale se necessário - See Python documentation

License / Licença

MIT License - Use freely for personal and commercial purposes. Licença MIT - Use livremente para fins pessoais e comerciais.

Credits / Créditos

Created by Gustavo (GustavoZiaugra) with OpenClaw Criado por Gustavo (GustavoZiaugra) com OpenClaw

  • Simple system testing / Teste de sistema simples
  • Python environment verification / Verificação de ambiente Python
  • Command validation / Validação de comandos
  • Debug-friendly output / Saída amigável para debug

Find this and more OpenClaw skills at ClawHub.com Encontre este e mais habilidades do OpenClaw em ClawHub.com

Star this repository if you find it useful! ⭐ Dê uma estrela neste repositório se você achar útil!

Simple, fast, no dependencies / Simples, rápido, sem dependências - Works everywhere, tests everything / Funciona em qualquer lugar, testa tudo / Test everywhere

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

98.89%
按下载量换算7,926

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install quick-test 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills