單元測試
5220 skills in 測試與安全 > 單元測試
jest-config-generator
Generate Jest configuration files for JavaScript/TypeScript testing with coverage, mocking, and environment-specific settings. Triggers on "create jest config", "generate jest.config", "jest configuration for", "testing config".
api-dev
Modern API development patterns for building high-performance, scalable web services. Expert in async/await patterns, REST/GraphQL APIs, middleware, error handling, rate limiting, OpenAPI documentation, testing, and production optimizations. Framework-agnostic patterns that work with Python, Node.js, Go, and other languages.
error-triage
Systematic error resolution with priority-based triage preventing cascade failures. Build→Types→Unused→Async→Logic→Tests priority order, TYPE_SAFETY_THEATER detection, proven from B2 validation work. Use when resolving errors, CI failures, cascade detection, type safety violations. Triggers on error resolution, CI failures, systematic error fixing, cascade detection, type safety theater, build errors, type errors, validation theater.
screenshot-eval
Evaluate browser screenshots and page state for errors. Use when verifying features work correctly, detecting error conditions, or validating UI state during browser testing.
cui-java-unit-testing
CUI Java unit testing standards and patterns with JUnit 5, generators, and value object testing
inkjs-design
Ink.js (React for CLI) design and implementation guide.Use when:(1) Creating or modifying Ink.js components(2) Implementing Ink-specific hooks (useInput, useApp, useFocus)(3) Handling emoji/icon width issues (string-width workarounds)(4) Building terminal-responsive layouts(5) Managing multi-screen navigation(6) Implementing animations (spinners, progress bars)(7) Optimizing performance (React.memo, useMemo)(8) Handling keyboard input and shortcuts(9) Testing CLI UI (ink-testing-library)
finishing-a-development-branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
dispatching-incremental-tdd
Use when implementing features or adding functionality - dispatches incremental-tdd-agent that enforces ONE test at a time, preventing batch test writing that defeats incremental design discovery. Maintains discipline through entire feature implementation (10+ test cycles)
lead-magnet-therapy
Create CRPO-compliant lead magnets for therapy practices that build email lists without crossing ethical boundaries. Use when planning top-of-funnel content to capture leads. Creates concepts for guides, frameworks, and educational resources. CRITICAL: NO diagnostic assessments, NO outcome promises, NO psychological tests. Triggers on: create lead magnet, build email list, free resource ideas, content upgrade concepts. Outputs educational lead magnet concepts that provide genuine value while staying compliant.
oauth-providers
Configure OAuth authentication providers for Clerk (Google, GitHub, Discord, Apple, Microsoft, Facebook, LinkedIn, Twitter, and 11+ more). Use when setting up social login, configuring OAuth providers, implementing authentication flows, generating redirect URLs, testing OAuth connections, or when user mentions Clerk OAuth, social authentication, provider setup, or multi-provider auth.
production-check
Use when verifying code is production-ready. Runs build, lint, and test commands to check compilation, code quality, and test suite. Essential validation step for /build and /audit commands.
nuxt-ui-tdd
Guide for building Vue 3 components with NuxtUI using strict Test-Driven Development (TDD) methodology enforced by a TDD guard hook. Use this skill when implementing new UI components (atoms, molecules, organisms) for the Poche project, creating Storybook stories with interaction tests, or working within the RED-GREEN-REFACTOR cycle. Particularly useful when the user mentions "TDD", "test-first", "create a component", "build a component", "implement [ComponentName]", or when adding UI functionality.
github-actions-versions
Use when writing or updating GitHub Actions workflow files (.github/workflows/*.yml) - provides latest version tags for official and popular third-party actions to avoid using outdated versions
cloudflare-workers
Comprehensive guide for building serverless applications with Cloudflare Workers. Use when developing Workers, configuring bindings, implementing runtime APIs, testing Workers, using Wrangler CLI, deploying to production, or building edge functions with JavaScript/TypeScript/Python/Rust.
typescript-expert
Expert guidance for writing TypeScript code following modern best practices, targeting TypeScript 5.x and ES2022. Use this skill when writing, reviewing, or refactoring TypeScript code in any .ts or .tsx file. Provides comprehensive guidelines on type system usage, architecture patterns, security, testing, and performance.
global-tech-stack
Follow the project's Python-based tech stack using uv, FastMCP, Claude Agent SDK, Pydantic v2, SQLite with SQLModel, and pytest with ruff. Use this skill when writing Python code for the MCP Task Aggregator. When using FastMCP to create MCP servers or tools. When working with Claude Agent SDK for AI agents. When defining Pydantic models or using pydantic-settings for configuration. When writing SQLModel queries or database operations. When using loguru for logging. When integrating with Jira (jira-python), GitHub (pygithub), or Linear (linear-sdk). When running pytest tests or ruff linting. When configuring GitHub Actions CI/CD.
gpu
GPU driver configuration for Bazzite. NVIDIA proprietary drivers, Optimus laptops,NVK (open-source NVIDIA), GPU switching, Broadcom WiFi, and Mesa testing builds.Use when users need to configure graphics drivers.
playwright
Browser automation using Playwright. Use for web scraping, UI testing, taking screenshots, form interaction, and any browser-based tasks. Keywords: browser, playwright, chromium, screenshot, scrape, test, click, type, navigate.
cicd
GitHub Actions expert for CI/CD pipelines, workflows, build failures, test failures, lint errors, format checks, gh run, gh pr checks, ESLint, Prettier, TypeScript errors, quality gates, automated fixes, pipeline debugging, workflow monitoring
cicd-diagnostics
Diagnoses DotCMS GitHub Actions failures (PR builds, merge queue, nightly, trunk). Analyzes failed tests, root causes, compares runs. Use for "fails in GitHub", "merge queue failure", "PR build failed", "nightly build issue".