bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
This skill should be used when the user asks to "generate tests", "write unit tests", "analyze test coverage", "scaffold E2E tests", "set up Playwright", "configure Jest", "implement testing patterns", or "improve test quality". Use for React/Next.js testing with Jest, React Testing Library, and Playwright.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install alirezarezvani/senior-qa打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Test automation, coverage analysis, and quality assurance patterns for React and Next.js applications.
# Generate Jest test stubs for React components
python scripts/test_suite_generator.py src/components/ --output __tests__/
# Analyze test coverage from Jest/Istanbul reports
python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80
# Scaffold Playwright E2E tests for Next.js routes
python scripts/e2e_test_scaffolder.py src/app/ --output e2e/
Scans React/TypeScript components and generates Jest + React Testing Library test stubs with proper structure.
Input: Source directory containing React components Output: Test files with describe blocks, render tests, interaction tests
Usage:
# Basic usage - scan components and generate tests
python scripts/test_suite_generator.py src/components/ --output __tests__/
# Output:
# Scanning: src/components/
# Found 24 React components
#
# Generated tests:
# __tests__/Button.test.tsx (render, click handler, disabled state)
# __tests__/Modal.test.tsx (render, open/close, keyboard events)
# __tests__/Form.test.tsx (render, validation, submission)
# ...
#
# Summary: 24 test files, 87 test cases
# Include accessibility tests
python scripts/test_suite_generator.py src/ --output __tests__/ --include-a11y
#...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Production-ready quality assurance and test automation skill for React/Next.js applications.
| Category | Technologies |
|---|---|
| Unit/Integration | Jest, React Testing Library |
| E2E Testing | Playwright |
| Coverage Analysis | Istanbul, NYC, LCOV |
| API Mocking | MSW (Mock Service Worker) |
| Accessibility | jest-axe, @axe-core/playwright |
# Generate component tests
python scripts/test_suite_generator.py src/components --include-a11y
# Analyze coverage gaps
python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80 --strict
# Scaffold E2E tests for Next.js
python scripts/e2e_test_scaffolder.py src/app --page-objects
Scans React/TypeScript components and generates Jest + React Testing Library test stubs.
Features:
--include-a11y for jest-axe assertionsUsage:
python scripts/test_suite_generator.py <component-dir> [options]
Options:
--scan-only List components without generating tests
--include-a11y Add accessibility test assertions
--output DIR Output directory for test files
Parses Istanbul JSON or LCOV coverage reports and identifies testing gaps.
Features:
--strict flagUsage:
python scripts/coverage_analyzer.py <coverage-file> [options]
Options:
--threshold N Minimum coverage percentage (default: 80)
--strict Exit with error if below threshold
--format FORMAT Output format: text, json, html
--output FILE Output file path...
# Senior QA Engineer Test automation, coverage analysis, and quality assurance patterns for React and Next.js applications. ## Table of Contents - [Quick Start](#quick-start) - [Tools Overview](#tools-overview) - [Test Suite Generator](#1-test-suite-generator) - [Coverage Analyzer](#2-coverage-analyzer) - [E2E Test Scaffolder](#3-e2e-test-scaffolder) - [QA Workflows](#qa-workflows) - [Unit Test Generation Workflow](#unit-test-generation-workflow) - [Coverage Analysis Workflow](#coverage-analysis-workflow) - [E2E Test Setup Workflow](#e2e-test-setup-workflow) - [Reference Documentation](#reference-documentation) - [Common Patterns Quick Reference](#common-patterns-quick-reference) --- ## Quick Start ```bash # Generate Jest test stubs for React components python scripts/test_suite_generator.py src/components/ --output __tests__/ # Analyze test coverage from Jest/Istanbul reports python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80 # Scaffold Playwright E2E tests for Next.js routes python scripts/e2e_test_scaffolder.py src/app/ --output e2e/ ``` --- ## Tools Overview ### 1. Test Suite Generator Scans React/TypeScript components and generates Jest + React Testing Library test stubs with proper structure. **Input:** Source directory containing React components **Output:** Test files with describe blocks, render tests, interaction tests **Usage:** ```bash # Basic usage - scan components and generate tests python scripts/test_suite_generator.py src/components/ --output __tests__/ # Output: # Scanning: src/components/ # Found 24 React components # # Generated tests: # __tests__/Button.test.tsx (render, click handler, disabled state) # __tests__/Modal.test.tsx (render, open/close, keyboard events) # __tests__/Form.test.tsx (render, validation, submission) # ... # # Summary: 24 test files, 87 test cases # Include accessibility tests python scripts/test_suite_generator.py src/ --output __tests__/ --include-a11y #...
# Senior QA Testing Engineer Skill Production-ready quality assurance and test automation skill for React/Next.js applications. ## Tech Stack Focus | Category | Technologies | |----------|--------------| | Unit/Integration | Jest, React Testing Library | | E2E Testing | Playwright | | Coverage Analysis | Istanbul, NYC, LCOV | | API Mocking | MSW (Mock Service Worker) | | Accessibility | jest-axe, @axe-core/playwright | ## Quick Start ```bash # Generate component tests python scripts/test_suite_generator.py src/components --include-a11y # Analyze coverage gaps python scripts/coverage_analyzer.py coverage/coverage-final.json --threshold 80 --strict # Scaffold E2E tests for Next.js python scripts/e2e_test_scaffolder.py src/app --page-objects ``` ## Scripts ### test_suite_generator.py Scans React/TypeScript components and generates Jest + React Testing Library test stubs. **Features:** - Detects functional, class, memo, and forwardRef components - Generates render, interaction, and accessibility tests - Identifies props requiring mock data - Optional `--include-a11y` for jest-axe assertions **Usage:** ```bash python scripts/test_suite_generator.py <component-dir> [options] Options: --scan-only List components without generating tests --include-a11y Add accessibility test assertions --output DIR Output directory for test files ``` ### coverage_analyzer.py Parses Istanbul JSON or LCOV coverage reports and identifies testing gaps. **Features:** - Calculates line, branch, function, and statement coverage - Identifies critical untested paths (auth, payment, API routes) - Generates text and HTML reports - Threshold enforcement with `--strict` flag **Usage:** ```bash python scripts/coverage_analyzer.py <coverage-file> [options] Options: --threshold N Minimum coverage percentage (default: 80) --strict Exit with error if below threshold --format FORMAT Output format: text, json, html --output FILE Output file path...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.