單元測試
5220 skills in 測試與安全 > 單元測試
python-testing-patterns
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.
patterns
Battle-tested automation patterns for GitHub Actions, Argo, and Kubernetes. Build resilient, idempotent workflows that scale with hub-and-spoke design.
root-package-json-config
Root package.json configuration for MetaSaver monorepos. Use when creating or auditing root package.json files to ensure workspace configuration, required scripts (build, dev, lint, test, format, clean), turbo pipeline scripts, packageManager field, and only devDependencies at root (no dependencies except cross-platform binaries).
test-coverage-improvement-expert
Analyze test coverage and add new test cases to improve coverage without changing implementation
cloudflare-browser-rendering
Complete knowledge domain for Cloudflare Browser Rendering - Headless Chrome automationwith Puppeteer and Playwright on Cloudflare Workers for screenshots, PDFs, web scraping,and browser automation workflows.Use when: taking screenshots, generating PDFs from HTML or URLs, web scraping content,crawling websites, browser automation tasks, testing web applications, managing browser sessions,performing batch browser operations, integrating with AI for content extraction, or encounteringbrowser rendering errors, XPath selector errors, browser timeout issues, concurrency limits,memory exceeded errors, or "Cannot read properties of undefined (reading 'fetch')" errors.Keywords: browser rendering cloudflare, @cloudflare/puppeteer, @cloudflare/playwright,puppeteer workers, playwright workers, screenshot cloudflare, pdf generation workers,web scraping cloudflare, headless chrome workers, browser automation, puppeteer.launch,playwright.chromium.launch, browser binding, session management, puppeteer.sessions,
hdwallet-verdaccio-local-publish-pipeline
Publishes hdwallet packages locally to verdaccio and updates them in the web repo. Use when you need to publish hdwallet locally, publish to verdaccio, run the verdaccio publish pipeline, or test hdwallet changes locally.
cloudflare-ci-cd-github-actions
Use this skill whenever the user wants to set up, refactor, or maintain a GitHub Actions CI/CD pipeline for deploying Cloudflare Workers/Pages apps (e.g. Hono + TypeScript) with D1/R2, including tests, build, migrations, and multi-environment deploys.
cui-java-cdi
CDI and Quarkus development standards for CUI projects, including CDI aspects, container configuration, testing, and native optimization
senior-qa
Comprehensive QA and testing skill for quality assurance, test automation, and testing strategies for ReactJS, NextJS, NodeJS applications. Includes test suite generation, coverage analysis, E2E testing setup, and quality metrics. Use when designing test strategies, writing test cases, implementing test automation, performing manual testing, or analyzing test coverage.
testing-zod-schemas
Test Zod schemas comprehensively with unit tests, integration tests, and type tests for validation logic
tmux-tui-testing
Test TUI (Text User Interface) applications using tmux. Use this skill when you need to automate testing of terminal-based applications by sending keystrokes and capturing pane output.
green-mirage-audit
Use when reviewing test suites, after test runs pass, or when user asks about test quality - performs exhaustive line-by-line audit tracing code paths through entire program, verifying tests actually validate what they claim. Outputs structured report compatible with fix-tests skill.
android-e2e-testing-setup
Setup UI Automator 2.4 smoke test for validating app launches (works with debug and release builds)
husky
Generates Husky Git hooks configuration with pre-commit checks. Creates .husky/pre-commit file for running linting, testing, and formatting before commits.
python
Develop Python applications using modern patterns, uv, and functional-first design. Activate when working with .py files, pyproject.toml, uv commands, or user mentions Python, itertools, functools, pytest, mypy, ruff, async, or functional programming patterns.
javascript-pragmatic-rules
30 pragmatic rules for production JavaScript covering async operations, V8 optimization, memory management, testing, error handling, and performance. Use when writing JavaScript, optimizing performance, handling promises, or building production-grade applications. Includes promise rejection handling, V8 hidden classes, memory leak prevention, and structured testing patterns.
frontend-responsive
Implement mobile-first responsive designs with fluid layouts, breakpoints, relative units, and touch-friendly interfaces that work across all device sizes. Use this skill when writing or modifying React components (.tsx, .jsx files), when implementing CSS or Tailwind responsive utilities (sm:, md:, lg:, xl: breakpoints), when working on layout components, navigation menus, grid systems, when optimizing for mobile devices, tablets, or desktop screens, when implementing media queries, when ensuring touch-friendly UI elements, or when testing cross-device compatibility.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization
testing-patterns
Testing patterns for Vercel AI SDK including mock providers, streaming tests, tool calling tests, snapshot testing, and test coverage strategies. Use when implementing tests, creating test suites, mocking AI providers, or when user mentions testing, mocks, test coverage, AI testing, streaming tests, or tool testing.
ui-testing
Systematic UI testing using Playwright for GAO-Dev web interface. Provides patterns for testing layouts, interactions, and visual regressions. Use when testing web interface changes or verifying UI bug fixes.