Skip to content
Business
Skill

/uat-testing

End-to-end User Acceptance Testing for web applications. Analyzes branch changes and specs to generate exhaustive test cases, sets up the local environment, executes tests via Playwright browser automation, and produces a pass/fail results report with screenshots and fix

From plugin
ccc
50517 skills4 agents18 commands

Claude Code

$ npx -y skills add ooiyeefei/ccc --skill uat-testing --agent claude-code

SKILL.md

uat-testing.SKILL.md
name: uat-testing
description: End-to-end User Acceptance Testing for web applications. Analyzes branch changes and specs to generate exhaustive test cases, sets up the local environment, executes tests via Playwright browser automation, and produces a pass/fail results report with screenshots and fix documentation. Use when the user says "run UAT", "test this feature", "UAT testing", "acceptance test", "test my branch", "generate test cases", or wants to verify a feature branch against its spec before merge.

UAT Testing

End-to-end UAT workflow: analyze → generate test cases → set up environment → execute → report.

Workflow Overview

Phase 1: Discovery
  ├─ Read spec/requirements (if provided)
  ├─ Analyze git branch diff against base
  └─ Identify what was built/changed

Phase 2: Environment Setup
  ├─ Determine target: local or production/staging?
  ├─ Local path:
  │   ├─ Check for .env.local → ask user if missing
  │   └─ Start dev server (npm run dev or equivalent)
  ├─ Prod/staging path:
  │   └─ Get application URL, verify reachable
  └─ Ask user for test account credentials (both paths)

Phase 3: Test Case Generation
  ├─ Write uat-test-cases.md (see references/test-case-template.md)
  ├─ Cover: happy path, errors, persistence, auth, responsive
  └─ Present to user for review before execution

Phase 4: Test Execution
  ├─ Start dev server (framework-appropriate command)
  ├─ Authenticate via the env-var auth script (never type passwords)
  ├─ Execute test cases with Playwright MCP tools
  ├─ Take screenshots as evidence
  └─ If a test fails → document the failure, continue testing

Phase 5: Reporting
  ├─ Write uat-results.md (see references/results-template.md)
  ├─ Include: summary table, detailed results, screenshots, fixes
  └─ Present overall PASS/FAIL verdict

Phase 1: Discovery

Finding the Spec

Look for feature context in this priority order:

1. **User-provided spec**: If user gives a path to a spec, requirements doc, or thread — read it first 2. **Spec directory**: Check `specs/[branch-name]/spec.md` or `specs/[feature-id]/spec.md` 3. **Tasks/todo**: Check `tasks/todo.md` or similar for what was planned 4. **PR description**: If a PR exists, read it via `gh pr view`

Analyzing Branch Changes

# What branch are we on?
git branch --show-current

# What changed vs base branch?
git log main..HEAD --oneline
git diff main..HEAD --stat

# What files were modified?
git diff main..HEAD --name-only

Read the changed files to understand what was built. Focus on:

  • New components or pages (user-facing features)
  • Modified API routes or backend logic (behavior changes)
  • Schema changes (data model additions)
  • Config changes (new env vars needed)

Output

Summarize findings to the user:

  • "This branch adds [feature] based on [spec]"
  • "Key changes: [list of modified areas]"
  • "I'll generate test cases covering [scope]"

Phase 2: Environment Setup

Determine Target Environment

Ask the user (or infer from context) whether this is local or production testing:

> Are we testing **locally** (I'll start the dev server) or against a **deployed environment** (provide the URL)?

| Aspect | Local | Production / Staging | |--------|-------|----------------------| | **Server** | Start with `npm run dev` | Already running at provided URL | | **Env vars** | Need `.env.local` with all keys | N/A — app is already configured | | **Test data** | May need seeding or setup | Uses existing real/staging data | | **Auth** | Test account on local auth provider | Test account on prod/staging auth | | **Base URL** | `http://localhost:3000` (or configured port) | `https://app.example.com` |

Local Environment Path

Check Environment Variables

# Check if env file exists
ls -la .env.local .env 2>/dev/null

**If `.env.local` does not exist**, ask the user:

> I don't see a `.env.local` file. Do you have an environment file or credentials I should use? Common needs: > - Database connection (e.g., Convex URL/deploy key) > - Auth provider keys (e.g., Clerk publishable/secret key) > - API keys (e.g., AI model keys, external service keys) > > Please provide the file path or paste the required variables.

Start Dev Server

Detect the framework and start the dev server:

| Signal | Framework | Start Command | |--------|-----------|---------------| | `next.config.*` | Next.js | `npm run dev` | | `vite.config.*` | Vite | `npm run dev` | | `angular.json` | Angular | `ng serve` | | `nuxt.config.*` | Nuxt | `npm run dev` | | `package.json` scripts | Generic | Read `dev` script |

If the project needs multiple services (e.g., Next.js + Convex), start all of them.

Verify the server is reachable before proceeding:

curl -s -o /dev/null -w "%{http_code}" http://localhost:3000

Production / Staging Environment Path

No server startup or env file needed. Ask the user for:

> Please provide: > 1. **Application URL** (e.g., `https://app.example.com`) > 2. **Any test data considerations** (is there a staging org/business to use?)

Verify the URL is reachable:

curl -s -o /dev/null -w "%{http_code}" https://app.example.com

Request Test Account (Both Environments)

Authentication uses the **env-var auth script**, never interactive password entry (see Phase 4 and `references/agent-guide.md` → Auth Handling). So ask the user to put the credentials in a **gitignored env file**, not to paste the password into chat:

> For UAT I authenticate with a small script that reads the test creds from a > gitignored env file — I never type your password into a login field. Please > either point me at an existing env file (e.g. `.env.local`) or create > `.env.uat` (gitignored) with: > ``` > UAT_BASE_URL=https://app.example.com # or http://localhost:3000 > UAT_USER_EMAIL=test@example.com > UAT_USER_PASSWORD=... > ``` > Also tell me: any **2FA/MFA** steps, and which **business/org/team** to use > after login (if applicable). Don't pa

Read more
@ooiyeefei
Ships withccc

Custom plugins and skills for Claude Code.

50517 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
505
Star history of ooiyeefei/ccc on GitHub, a chart by star-history.com

Other skills on ccc.

daily-chief

daily-chief

Run the user-invoked Daily Chief Plan today workflow with device login, a local preview, and explicit confirmation before remote…

@ooiyeefei@ooiyeefeiInstall Skill
mvp-launch

mvp-launch

Web app MVP launch checklist knowledge. Auto-triggered when conversation involves "launch readiness", "MVP checklist",…

@ooiyeefei@ooiyeefeiInstall Skill
product-management

product-management

This skill should be used when the user asks to "analyze my product", "research competitors", "find feature gaps", "create…

@ooiyeefei@ooiyeefeiInstall Skill
rethink-surveys

rethink-surveys

Design, critique, or scaffold surveys grounded in Caroline Jarrett, Dillman, and Tourangeau methods. Use when designing a new…

@ooiyeefei@ooiyeefeiInstall Skill
agentic-system-design

agentic-system-design

Prescriptive Q&A workflow for designing agentic pipelines, multi-model councils, sub-agent hierarchies, and tool-loop hardening…

@ooiyeefei@ooiyeefeiInstall Skill
cross-app-shared-auth

cross-app-shared-auth

Blueprint for wiring many apps to one shared login plus a central accounts database, so a person has a single account across…

@ooiyeefei@ooiyeefeiInstall Skill

More skills from other plugins.

opc-asset-ops

opc-asset-ops

Turn repeatable outputs of a one-person company into compounding assets. Use when Codex needs to explain asset-compounding…

@easychen@easychenInstall Skill
dbs

dbs

dontbesilent 商业工具箱的技能调度台,根据当前问题和反馈选择下一步,在对话中直接执行、澄清、组合或对照尝试 Skill。用户不知道从哪里开始、需要调整处理方法、第一次使用…

dbs2w11k
@dontbesilent2025@dontbesilent2025Install Skill

Questions about uat-testing.

Which coding agents can use uat-testing?
uat-testing installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.