non-functional-testing

Runs load, accessibility, security, Lighthouse, and visual regression tests for web applications.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/DimonikRV/ghost-pilot-project --skill non-functional-testing-dimonikrv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: non-functional-testing
Source: https://github.com/DimonikRV/ghost-pilot-project/tree/main/.claude/skills/non-functional-testing
Command: npx skills add https://github.com/DimonikRV/ghost-pilot-project --skill non-functional-testing-dimonikrv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Verifying that a web application meets performance, accessibility, security, and visual quality standards requires juggling multiple tools like k6, axe-core, Lighthouse, and Playwright, each with its own configuration and thresholds. This Skill consolidates all non-functional testing into a single guided workflow with predefined commands and budgets. ## Core Features & Use Cases - Load and Performance Testing: Run k6 scenarios against health, auth, canvas, AI, and collaboration endpoints with p95 latency thresholds. - Accessibility Audits: Enforce WCAG 2.1 AA compliance using axe-core with Playwright, failing CI on critical or serious violations. - Performance Budgets and Security Scans: Validate Lighthouse scores, Core Web Vitals, and bundle sizes, plus run npm audit and Snyk dependency scans. - Use Case: Before merging a UI change, run the full non-functional suite to confirm the editor page still meets Lighthouse budgets, passes WCAG checks, and matches visual baselines. ## Quick Start Ask the assistant to run the full non-functional test suite for the project and report any threshold violations.

Frequently Asked Questions about non-functional-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run load tests with k6 against a Next.js app?▼

Run npm run test:load to execute k6 scenarios covering health, auth, canvas, AI, and collaboration endpoints. Authenticated endpoints require setting the CLERK_SESSION_TOKEN environment variable before running.

How to test WCAG accessibility with axe-core and Playwright?▼

Use the checkAccessibility helper with Playwright to run axe-core analysis tagged with wcag2a, wcag2aa, wcag21a, and wcag21aa rules. Tests fail automatically on any critical or serious violations, enforcing WCAG 2.1 Level AA.

What performance budgets does Lighthouse CI enforce?▼

The lighthouserc.js configuration requires performance score of at least 85, accessibility, best practices, and SEO scores of at least 90, LCP under 2.5 seconds, TBT under 200 milliseconds, CLS under 0.1, and JavaScript bundles under 300KB.

Does the load test require authentication tokens?▼

Yes, authenticated endpoints require a Clerk session token passed via the CLERK_SESSION_TOKEN environment variable. Public endpoints like health checks run without any token.

How do I update Playwright visual regression baselines?▼

Run npx playwright test tests/visual/ --update-snapshots after intentional UI changes to regenerate baseline screenshots. CI compares new screenshots against baselines and fails when pixel differences exceed the maxDiffPixels threshold.

Why does the security test fail on npm audit?▼

npm audit fails when installed dependencies contain known vulnerabilities listed in the advisory database. Update the affected packages to patched versions or add Snyk for deeper dependency scanning and remediation guidance.