Testing

Unit tests, integration tests, test automation

Showing 193-216 of 6650 skills
vercel

next-partial-prefetching-adoption

by vercel

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with instant() tests, or resolve the instant-link-prefetch-partial and instant-shell-url-data insights.

Code Gen 143.2K 1mo ago
vercel

gate-tests

by vercel

How to use the @gate / @force-gate test directives instead of it.skip or fake-green skip patterns. Use when a test is known-failing under some test-matrix dimension (dev mode, a bundler, an experimental flag like cacheComponents), when converting if (isNextDev) return guards or env-var describe.skip branches, when adding a condition to test/lib/gate/conditions.ts, or when keying a fixture's experimental flag on a __NEXT_TEST_AXIS letter. Covers directive choice, condition tiers, the test-axis fixture pattern, pitfalls, and verification commands.

Testing 143.2K 22d ago
vercel

router-act

by vercel

How to write end-to-end tests using createRouterAct and LinkAccordion. Use when writing or modifying tests that need to control the timing of internal Next.js requests (like prefetches) or assert on their responses. Covers the act API, fixture patterns, prefetch control via LinkAccordion, fake clocks, and avoiding flaky testing patterns.

Testing 143.2K 4mo ago
vercel

next-dev-loop

by vercel

Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines /_next/mcp (Next.js's view) with agent-browser (the browser's view). Requires a running next dev.

Debugging 143.2K 26d ago
home-assistant

ha-quality-scale-verify

by home-assistant

Verifies that a Home Assistant integration follows a specific quality scale rule, checking whether it implements the required patterns, configurations, or code structures defined by the quality scale system. Use when asked to check a rule (e.g. "check if the peblar integration follows the config-flow rule") or to verify an integration reaches a quality tier (Bronze, Silver, Gold, Platinum).

Code Review 91.7K 3mo ago
streamlit

discovering-make-commands

by streamlit

Lists available make commands for Streamlit development. Use for build, test, lint, or format tasks.

Testing 46.1K 2mo ago
getsentry

react-testing

by getsentry

Write and review React/TypeScript tests for Sentry's frontend using Jest and React Testing Library. Use when adding or editing tests in static/ (*.spec.tsx), writing component/hook tests, mocking API responses with MockApiClient, testing routing or network requests, or when asked to "write a frontend test", "add a React test", "test this component", or "fix a flaky RTL test".

Testing 45.6K 2mo ago
oven-sh

writing-bundler-tests

by oven-sh

Guides writing bundler tests using itBundled/expectBundled in test/bundler/. Use when creating or modifying bundler, transpiler, or code transformation tests.

Testing 96.4K 10mo ago
oven-sh

writing-dev-server-tests

by oven-sh

Guides writing HMR/Dev Server tests in test/bake/. Use when creating or modifying dev server, hot reloading, or bundling tests.

Testing 96.4K 10mo ago
elastic

scout-migrate-from-ftr

by elastic

Single entry point for migrating Kibana Functional Test Runner (FTR) tests to Scout. Plans the migration first, asks the user to review the plan, then executes it and runs the new tests. Use when migrating FTR tests to Scout, triaging FTR suites for Scout readiness, deciding UI vs API vs RTL/Jest, mapping FTR services/page objects/hooks to Scout fixtures, or splitting loadTestFile patterns.

Code Gen 21.3K 2mo ago
elastic

branch-readiness-checks

by elastic

"Validate branch readiness before push or PR using base-diff and local-change checks."

Git & VCS 21.3K 7mo ago
elastic

scout-create-scaffold

by elastic

Generate or repair a Scout test scaffold for a Kibana plugin/package (test/scout*/{api,ui} Playwright configs, fixtures, example specs). Use when you need the initial Scout directory structure; prefer node scripts/scout generate with flags for non-interactive/LLM execution.

Code Gen 21.3K 2mo ago
elastic

enzyme-to-rtl

by elastic

Migrate Enzyme tests to React Testing Library (RTL). Use when converting shallow/mount enzyme tests to RTL render, replacing enzyme selectors with RTL queries, updating snapshot tests, or when the user mentions enzyme migration, RTL migration, or react-testing-library.

Testing 21.3K 7mo ago
elastic

scout-best-practices-reviewer

by elastic

Review Scout UI/API tests (including Scout test migrations) for best practices, reuse, parity, and server config hygiene.

Comments 21.3K 2mo ago
elastic

workflows-management-jest-testing

by elastic

Use the shared TestProvider in workflows_management Jest tests instead of hand-wiring KibanaContextProvider, QueryClientProvider, WorkflowsContextProvider, MemoryRouter, I18nProvider, and the Redux Provider. Use when writing or updating React/Jest tests under src/platform/plugins/shared/workflows_management/public/**, rendering components or hooks that touch Kibana services, the Redux store, react-query, routing, or i18n.

i18n 21.3K 5mo ago
elastic

cypress-to-scout-migration

by elastic

Migrate Kibana Cypress E2E tests (.cy.ts) to Scout (Playwright). Applies to any Kibana plugin or solution. Includes triage gates (duplicate detection, layer analysis, value assessment), Cypress-to-Scout pattern mapping, data cleanup audit, and PR workflow. Use when: (1) migrating a Cypress test to Scout, (2) converting .cy.ts to .spec.ts, (3) planning a Cypress-to-Scout migration batch, (4) rewriting Cypress screens/tasks as Scout page objects, (5) asked "how do I move this Cypress test to Scout/Playwright", (6) asked about differences between Cypress and Scout.

Code Review 21.3K 2mo ago
elastic

evals-write-spec

by elastic

Write LLM evaluation spec files with datasets, tasks, and evaluators using the @kbn/evals Playwright fixture. Use when authoring new eval specs, adding datasets or evaluators, or debugging evaluation test failures.

Monitoring 21.3K 4mo ago
woocommerce

woocommerce-email-editor

by woocommerce

Setup and develop the WooCommerce block email editor. Use when working on email templates, transactional emails, or the email editor feature.

Templates 10.6K 4mo ago
elastic

kibana-privilege-deprecation

by elastic

Implement and review Kibana feature privilege deprecations. Use when deprecating features, renaming features, splitting features, consolidating features, moving privilege capabilities, reviewing deprecation PRs, or working with the replacedBy mapping system.

i18n 21.3K 7mo ago
Significant-Gravitas

open-pr

by Significant-Gravitas

Open a pull request with proper PR template, test coverage, and review workflow. Guides agents through creating a PR that follows repo conventions, ensures existing behaviors aren't broken, covers new behaviors with tests, and handles review via bot when local testing isn't possible. TRIGGER when user asks to "open a PR", "create a PR", "make a PR", "submit a PR", "open pull request", "push and create PR", or any variation of opening/submitting a pull request.

Code Review 187.7K 7mo ago
dust-tt

dust-test

by dust-tt

Step-by-step guide for writing focused, practical tests for Dust codebases following the 80/20 principle.

Testing 1.5K 2mo ago
Significant-Gravitas

write-frontend-tests

by Significant-Gravitas

"Analyze the current branch diff against dev, plan integration tests for changed frontend pages/components, and write them. TRIGGER when user asks to write frontend tests, add test coverage, or 'write tests for my changes'."

File Ops 187.7K 6mo ago
woocommerce

woocommerce-code-review

by woocommerce

Review WooCommerce code changes for coding standards compliance. Use when reviewing code locally, performing automated PR reviews, or checking code quality.

File Ops 10.6K 2mo ago
apache

io-connectors

by apache

Guides development and usage of I/O connectors in Apache Beam. Use when working with I/O connectors, creating new connectors, or debugging data source/sink issues.

Code Gen 8.7K 4mo ago