← Back to Skills Marketplace
vetmomen

Automation Testing Protocol

by VetMomen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
124
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install automation-testing-protocol
Description
A comprehensive framework for testing and validating automation projects to ensure stability, security, and scalability.
README (SKILL.md)

Automation Quality Assurance & Testing Protocol

This skill is the primary authority for testing any automation project within the OpenClaw environment. It ensures operational stability, prevents regressions, and maintains high-quality standards across all automated workflows.


Agent: How to Use This Skill

Read this protocol fully before modifying or deploying any automation script. Follow the steps sequentially.

1. Comprehensive Automation Testing Strategy

To ensure a robust automation, every project must pass through these 6 critical testing layers:

  • Layer 1: Unit Testing (Logic) - Test individual functions, mathematical calculations, and internal logic branches in isolation.
  • Layer 4: Idempotency & Recovery - Ensure that if a script fails and restarts, it does not produce side effects (e.g., no duplicate emails or redundant API calls). The script must be "Safe to Restart."
  • Layer 2: Integration Testing (Connectors) - Verify successful communication with external services (Meta API, Google Sheets, SMTP, etc.) using real or sandbox credentials.
  • Layer 3: End-to-End (E2E) Flow - Simulate a complete lifecycle of the automation (e.g., Budget Breach -> Pause -> Notify) to ensure the entire chain works.
  • Layer 5: Regression Testing - Always run the full run_tests.py suite after any change to confirm that existing features remain functional.
  • Layer 6: Observability & Logging Verification - Confirm that the script produces clear, actionable logs for every step, especially during failures, to ensure "blind spots" are eliminated.

2. Execution Protocol

Do find and execute tests before and after every modification:

  1. Discover: Always look for run_tests.py or a tests/ directory within the project root.
  2. Execute:
    python3 path/to/project/run_tests.py
    
  3. Initialize: If the project lacks tests, you are mandated to create a run_tests.py file implementing the 6 layers above.

3. Standard Exit Criteria (Definition of Done)

A task is considered "Complete" only when:

  • 100% Pass Rate: All 6 testing layers pass without errors.
  • Timezone Uniformity: All timestamps and scheduling are synchronized to the environment's local time (e.g., Africa/Cairo).
  • Security Compliance: Zero hardcoded secrets. All tokens and passwords must be isolated in .env or config files.
  • Failure Resilience: The script handles API timeouts and connection drops gracefully without crashing.
  • Documentation: The code is clean, commented, and includes a brief explanation of any new test cases added.

Maintenance & Scalability

  • The Test Suite must grow with the project. Every new feature requires a corresponding test case.
  • Any project without a functional run_tests.py is considered "Substandard" and must be fixed immediately.
Usage Guidance
This skill appears to be a coherent QA framework, but there are meaningful mismatches you should resolve before trusting it: (1) It says tests should exercise external connectors with real/sandbox credentials but declares no required environment variables or credentials — verify where API keys should come from and never let an agent fetch secrets automatically. (2) The runtime instructions mandate creating and executing run_tests.py if missing — require manual code review of any generated tests before execution. (3) The skill prescribes timezone and a 100% pass rule which could cause repeated or blocking operations; confirm that behavior is acceptable. Recommendations: run the skill only with human-in-the-loop approval (disable autonomous invocation), inspect any run_tests.py the agent proposes to add, restrict network/credentials access when testing (use isolated sandboxes), and ask the author for an explicit list of required environment variables and a clear safety policy before enabling it broadly.
Capability Analysis
Type: OpenClaw Skill Name: automation-testing-protocol Version: 1.0.0 The skill bundle defines a standard Quality Assurance (QA) framework for automation projects. It provides instructions for an AI agent to perform multi-layer testing, including unit, integration, and idempotency checks, and explicitly mandates security compliance by checking for hardcoded secrets. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found in SKILL.md or the associated metadata files.
Capability Assessment
Purpose & Capability
The name, README, and SKILL.md consistently describe a QA/testing framework — that purpose matches the instructions to discover and run tests. However, the protocol explicitly mentions verifying connectors (Meta API, Google Sheets, SMTP) and using real/sandbox credentials yet the skill declares no required environment variables, credentials, or configuration paths. The required timezone (example: Africa/Cairo) is also prescriptive and not justified in metadata.
Instruction Scope
Runtime instructions direct the agent to search project roots for run_tests.py or tests/, execute python3 path/to/project/run_tests.py, and if none exist, to create a run_tests.py implementing six layers (including integration with external APIs). That grants the agent broad discretion to modify project files, run arbitrary test code, and interact with external services — actions beyond a simple read-only QA helper. The instructions also mandate 100% pass criteria and timezone enforcement, which could cause repeated modifications or blocking behavior.
Install Mechanism
No install spec or code files are present; this is instruction-only and does not add binaries or download code. This lowers surface risk because nothing is written to disk by an installer step.
Credentials
The protocol expects use of real or sandbox credentials for external connectors but requires zero environment variables or credentials in its manifest. It also instructs secrets be stored in .env or config files — which implies the agent may read or write such files — but no credential access is declared. This mismatch means agents following the skill may attempt to access credentials that were not signaled as required, creating a surprise access vector.
Persistence & Privilege
always:false (no forced inclusion) is appropriate. The skill is allowed to be invoked autonomously by default (disable-model-invocation:false) — that is normal for skills but worth noting: combined with the instruction to modify projects and run code that may access external services, autonomous invocation increases blast radius if the skill runs without human review. The skill does not request persistent privileges or modify other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install automation-testing-protocol
  3. After installation, invoke the skill by name or use /automation-testing-protocol
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Version 1.1.0 introduces a structured, multi-layer protocol for robust and secure automation testing. - Added a six-layer testing framework: Unit, Integration, End-to-End, Idempotency/Recovery, Regression, and Logging/Observability verifications. - Standardized execution protocol: mandatory dynamic test discovery and execution before and after any modification. - Enforced strict exit criteria for completion, including pass rate, timezone consistency, security, resilience, and documentation. - Mandated continuous maintenance—every new feature must have an accompanying test case; projects lacking tests must be fixed urgently.
Metadata
Slug automation-testing-protocol
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Automation Testing Protocol?

A comprehensive framework for testing and validating automation projects to ensure stability, security, and scalability. It is an AI Agent Skill for Claude Code / OpenClaw, with 124 downloads so far.

How do I install Automation Testing Protocol?

Run "/install automation-testing-protocol" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Automation Testing Protocol free?

Yes, Automation Testing Protocol is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Automation Testing Protocol support?

Automation Testing Protocol is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Automation Testing Protocol?

It is built and maintained by VetMomen (@vetmomen); the current version is v1.0.0.

💬 Comments