cocos-preview-qa

Community

Automate browser QA for Cocos previews.

Authoreaglhuang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates browser-based QA for Cocos previews by launching a headless browser, opening a locally hosted Preview, switching preview targets, capturing screenshots, and establishing visual checks against reference images. It enables screen-driven QA workflows when a Browser Review environment is prepared and can run at http://localhost:7456.

Core Features & Use Cases

  • Automates opening the built-in browser/headless browser (puppeteer-core) to load a Cocos Preview from the local Browser Review environment.
  • Supports switching preview targets and capturing multiple screenshots for batch visual comparison.
  • Compares captured screenshots against reference QA images to verify visual quality and regression.
  • Use Case: When a Browser Review environment is ready, run automated visual QA on various targets to confirm UI correctness before release or integration.

Quick Start

Open the Browser Review environment at http://localhost:7456, switch to the desired preview target, capture screenshots, and compare them with the reference images.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cocos-preview-qa
Download link: https://github.com/eaglhuang/cocos_new/archive/main.zip#cocos-preview-qa

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.