TopRank Skills

Home / Claw Skills / Publication / qa-check
Official OpenClaw rules 36%

qa-check

Mandatory quality assurance for all dev work before publishing. Use BEFORE deploying any project to production. Validates build, tests browser functionality, checks mobile responsiveness, and ensures no broken links/images.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

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

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

Overview

Skill Key
gizmo-dev/qa-check
Author
gizmolab
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/gizmo-dev/qa-check
Latest Commit SHA
00929f3e28d8db537f235b84f68b108a934c1b64

Extracted Content

SKILL.md excerpt

# QA Check

Mandatory pre-deployment quality assurance. Run this before ANY project goes live.

## When to Use

- Before `vercel --prod` or any production deploy
- Before announcing/sharing any project URL
- Before publishing skills to ClawHub
- After major code changes

## QA Checklist

### 1. Build Validation
```bash
# Ensure build succeeds without errors
cd <project-dir>
npm run build
```

**Fail criteria:** Build errors, warnings about missing dependencies

### 2. Browser Functional Test

Use browser tool to verify:
- [ ] Page loads without console errors
- [ ] All interactive elements work (buttons, links, forms)
- [ ] No broken images (check Network tab for 404s)
- [ ] No JavaScript errors in console

```
browser snapshot → check for errors
browser console → verify no red errors
```

### 3. Mobile Responsiveness

```
browser screenshot --mobile
```

Check:
- [ ] Content readable on mobile viewport
- [ ] No horizontal scroll
- [ ] Buttons/links tappable (not too small)
- [ ] Navigation works

### 4. Link Validation

```bash
# Check all external links resolve
grep -r "href=" src/ | grep -o 'https://[^"]*' | sort -u | while read url; do
  curl -s -o /dev/null -w "%{http_code} $url\n" "$url"
done
```

### 5. Performance Quick Check

- Page loads in < 3 seconds
- No massive bundle warnings (> 500KB)
- Images optimized (not raw screenshots)

### 6. SEO/Meta Basics

Verify in index.html:
- [ ] `<title>` set (not generic)
- [ ] `<meta name="description">` present
- [ ] `<meta property="og:*">` for social sharing
- [ ] Favicon present

## Pre-Deploy Command

```bash
# Run full QA suite
scripts/qa-check.sh <project-dir>
```

## Fail = No Deploy

If ANY check fails:
1. Document the issue
2. Fix it
3. Re-run QA
4. Only then deploy

## Quick Reference

| Check | Tool | Pass Criteria |
|-------|------|---------------|
| Build | `npm run build` | Exit 0, no errors |
| Browser | `browser snapshot` | No console errors |
| Mobile | `browser screenshot` | Readable, no scroll |
|...

Related Claw Skills