TopRank Skills

Home / Claw Skills / Git / GitHub / Afrexai Qa Testing Engine
Official OpenClaw rules 54%

Afrexai Qa Testing Engine

QA & Testing Engine — Complete Software Quality System

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Afrexai Qa Testing Engine 技能。 若已安装,则直接安装 Afrexai Qa Testing Engine 技能。

Overview

Skill Key
1kalin/afrexai-qa-testing-engine
Author
1kalin
Source Repo
openclaw/skills
Version
-
Source Path
skills/1kalin/afrexai-qa-testing-engine
Latest Commit SHA
cd642edb873dea5899f24ddb65ee2d914ef82d21

Extracted Content

SKILL.md excerpt

# QA & Testing Engine — Complete Software Quality System

> The definitive testing methodology for AI agents. From test strategy to execution, coverage to reporting — everything you need to ship quality software.

## Phase 1: Test Strategy Design

Before writing a single test, design the strategy.

### Strategy Brief Template

```yaml
project:
  name: ""
  type: web-app | api | mobile | library | cli | data-pipeline
  languages: [typescript, python, go, java]
  frameworks: [react, express, django, spring]
  
risk_profile:
  data_sensitivity: low | medium | high | critical  # PII, financial, health
  user_impact: internal | b2b | b2c | life-safety
  deployment_frequency: daily | weekly | monthly
  regulatory: [none, SOC2, HIPAA, PCI-DSS, GDPR]

test_scope:
  in_scope: []    # Features, services, components
  out_of_scope: [] # Explicitly excluded (with reason)
  
environments:
  dev: { url: "", db: "local" }
  staging: { url: "", db: "seeded" }
  prod: { url: "", smoke_only: true }
```

### Test Type Decision Matrix

| Risk Profile | Unit | Integration | E2E | Performance | Security | Accessibility |
|---|---|---|---|---|---|---|
| Internal tool | ✅ Core | ✅ API | ⚠️ Happy path | ❌ | ⚠️ Basic | ❌ |
| B2B SaaS | ✅ Full | ✅ Full | ✅ Critical flows | ✅ Load | ✅ OWASP Top 10 | ✅ WCAG AA |
| B2C high-traffic | ✅ Full | ✅ Full | ✅ Full | ✅ Stress + soak | ✅ Full | ✅ WCAG AA |
| Financial/Health | ✅ Full + mutation | ✅ Full + contract | ✅ Full + chaos | ✅ Full suite | ✅ Pen test | ✅ WCAG AAA |

### Test Pyramid Architecture

```
         /  E2E  \          5-10% — Critical user journeys only
        / Integration \     20-30% — API contracts, service boundaries
       /    Unit Tests   \  60-70% — Business logic, pure functions
```

**Anti-pattern: Ice cream cone** — More E2E than unit tests. Slow, flaky, expensive. Fix by pushing test coverage DOWN the pyramid.

**Anti-pattern: Hourglass** — Lots of unit + E2E, no integration. Misses contract bugs bet...

README excerpt

# 🧪 AfrexAI QA & Testing Engine

The most comprehensive testing skill on ClawHub. From unit tests to chaos engineering — a complete quality system for AI agents.

## What This Does

Turns your AI agent into a senior QA engineer. Covers the **full testing lifecycle**:

- **Test strategy design** with risk-based prioritization
- **Unit testing mastery** — AAA patterns, mocking rules, coverage targets
- **Integration testing** — API checklists, contract testing, database testing
- **E2E testing** — Critical journey mapping, selector strategy, flaky test triage
- **Performance testing** — Load/stress/soak/spike test design with budgets
- **Security testing** — OWASP Top 10 checklist, injection payloads, auth testing
- **Accessibility testing** — WCAG 2.1 Level AA compliance
- **CI pipeline design** — 5-stage test pipeline architecture
- **Quality metrics** — 100-point scoring system, health dashboard, reporting

## Install

```bash
clawhub install afrexai-qa-testing-engine
```

## Quick Start

Ask your agent:
- *"Create a test strategy for our payment service"*
- *"Write unit tests for this pricing calculator"*
- *"Security test our login endpoint"*
- *"What's our test health score?"*

## What's Inside

| Section | What You Get |
|---|---|
| Strategy Design | Risk matrix, test pyramid, scope template |
| Unit Testing | AAA pattern, naming conventions, mock rules, coverage targets |
| Integration | API checklist (20+ checks per endpoint), contract testing, DB rules |
| E2E | Journey mapping, selector priority, flaky test triage table |
| Performance | 5 test types with configs, budgets by app type, DB perf |
| Security | OWASP Top 10 checklist, injection payloads, validation tests |
| Automation | Framework selection guide, CI pipeline stages, test data management |
| Metrics | Quality score (0-100), dashboard YAML, report template |
| Accessibility | WCAG 2.1 A+AA checklist, tool recommendations |
| Chaos Engineering | Network, infra, app, data failure scenarios |

##...

Related Claw Skills