stub AI Agent Skills
Browse 53 skills related to stub
generating-test-doubles
This skill uses the test-doubles-generator plugin to automatically create mocks, stubs, spies, and fakes for unit testing. It analyzes dependencies in the code and generates appropriate test doubles based on the chosen testing framework, such as Jest, Sinon, or others. Use this skill when you need to generate test doubles, mocks, stubs, spies, or fakes to isolate units of code during testing. Trigger this skill by requesting test double generation or using the `/gen-doubles` or `/gd` command.
stub-creator
Stub Creator - Auto-activating skill for Test Automation. Triggers on: stub creator, stub creator Part of the Test Automation skill category.
generating-grpc-services
Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".
deep-debug
Multi-agent investigation for stubborn bugs. Use when: going in circles debugging, need to investigate browser/API interactions, complex bugs resisting normal debugging, or when symptoms don't match expectations. Launches parallel agents with different perspectives and uses Chrome tools for evidence gathering.
graphql-schema-generator
Generate GraphQL schemas from data models with resolver stubs and federation support
format-lint-assistant
Run the project's formatter, linters, and mypy checks in the required order, fixing issues and managing any needed stub dependencies via uv.
cypress-advanced
Use when advanced Cypress features including custom commands, plugins, and network stubbing.
rspec-mocking
Use when rSpec mocking with doubles, stubs, mocks, spies, and partial mocking strategies.
mocking-stubbing
Create and manage mocks, stubs, spies, and test doubles for isolating unit tests from external dependencies. Use for mock, stub, spy, test double, Mockito, Jest mocks, and dependency isolation.
Cypress Component Testing
Component testing with Cypress including mount API, React/Vue/Angular component testing, stub patterns, and visual snapshot testing.
Test Doubles Patterns
Comprehensive guide to test doubles including mocks, stubs, spies, fakes, and dummies with when-to-use guidelines and anti-pattern avoidance.
WireMock API Simulation
API simulation and service virtualization with WireMock for HTTP stubbing, request matching, stateful behavior, and fault injection testing.
swift-testing
Expert guidance on Swift Testing best practices, patterns, and implementation. Use when developers mention: (1) Swift Testing, @Test, #expect, #require, or @Suite, (2) "use Swift Testing" or "modern testing patterns", (3) test doubles, mocks, stubs, spies, or fixtures, (4) unit tests, integration tests, or snapshot tests, (5) migrating from XCTest to Swift Testing, (6) TDD, Arrange-Act-Assert, or F.I.R.S.T. principles, (7) parameterized tests or test organization.
testing-automation
World-class test automation - unit, integration, e2e testing strategies, and the battle scars from flaky tests that broke CI/CD pipelinesUse when "test, testing, unit test, integration test, e2e, end to end, jest, vitest, pytest, playwright, cypress, mock, stub, fixture, coverage, tdd, bdd, flaky, test automation, testing, unit-tests, integration-tests, e2e, tdd, bdd, jest, pytest, playwright, cypress, vitest" mentioned.
testing
Testing philosophy and practices. This skill should be used when writing tests, designing test strategies, or reviewing test code. Use proactively when discussing TDD, red-green-refactor, test doubles, mocks, stubs, fakes, RSpec, Jest, pytest, unit tests, integration tests, test coverage, or test-first development. (user)
.NET Testing
.NET testing foundational skills overview and guidance hub. Triggered when users ask general testing questions such as "how to write .NET tests", ".NET testing getting started", "what testing tools are needed", "testing best practices", or "learn testing from scratch". It recommends appropriate combinations of subskills based on specific needs, covering 19 foundational skills including testing basics, test data, assertions, mocking, and special scenarios. Keywords: dotnet testing, .NET testing, testing getting started, how to write tests, testing best practices, unit test, xUnit, 3A pattern, FIRST principles, assertion, mock, stub, NSubstitute, test data, AutoFixture, Bogus, validator, FluentValidation, TimeProvider, IFileSystem, code coverage, ITestOutputHelper, test naming
performing-systematic-debugging-for-stubborn-problems
Applies a modified Fagan Inspection methodology to systematically resolve persistent bugs and complex issues. Use when multiple previous fix attempts have failed repeatedly, when dealing with intricate system interactions, or when a methodical root cause analysis is needed. Do not use for simple troubleshooting. Triggers after multiple failed debugging attempts on the same complex issue.
Dotnet Testing - NSubstitute Mocking
A specialized skill for creating test doubles (Mock, Stub, Spy) using NSubstitute. Use it when you need to isolate external dependencies, simulate interface behavior, or verify method calls. Covers complete guidance on Substitute.For, Returns, Received, Throws, and more. Keywords: mock, stub, spy, nsubstitute, mocking, test double, repository (IRepository), service (IService), Substitute.For, Returns, Received, Throws, Arg.Any, Arg.Is, dependency isolation, mocking external services, dependency injection testing
Cypress
Cypress end-to-end and component testing patterns for web apps: reliable selectors, stable waits, network stubbing, auth handling, CI parallelization, and flake reduction
joblib-stub-updater
Detects changes between joblib versions by comparing git diffs, analyzes API changes (new/modified/removed functions, classes, parameters), and updates corresponding .pyi stub files. Use when joblib releases a new version and stubs need to be synchronized, or when the user mentions 'update stubs', 'joblib upgrade', 'sync stubs with joblib', or 'check joblib changes'.
vitest-mocking
Vitest mocking patterns and test double strategies. Use when writing tests that need mocks, spies, stubs, or fakes. Triggers include: mocking modules, stubbing globals (fetch, Date, timers), testing composables, mocking imports (default/named), creating test doubles, replacing dependencies, verifying mock calls, cleaning up mocks, or any question about "how do I mock X in Vitest". Also use when reviewing tests for proper mocking practices.
harvest-proposal-pipeline
Automate ICE-Crawler ingestion → registry update → proposal stub creation. Use when you want a full harvest loop that ends with a ready-to-review skill idea.
wiremock
When the user wants to create HTTP mock servers with advanced request matching, recording, and proxying using WireMock. Also use when the user mentions "wiremock," "HTTP mocking," "request stubbing," "API recording," "wire mock," or "HTTP stub server." For GUI-based API mocking, see mockoon.
grpc
Build high-performance RPC services with gRPC and Protocol Buffers. Use when a user asks to create gRPC services, define protobuf schemas, implement streaming RPCs, build microservice communication, set up service-to-service calls, implement bidirectional streaming, add interceptors/middleware to gRPC, generate client stubs, handle gRPC errors, implement health checks, configure load balancing, or build gRPC-Web for browser clients. Covers unary, server/client/bidirectional streaming, interceptors, deadlines, metadata, reflection, and production patterns.
cloudflare-durable-objects
Comprehensive guide for Cloudflare Durable Objects - globally unique, stateful objects for coordination, real-time communication, and persistent state management. Use when: building real-time applications, creating WebSocket servers with hibernation, implementing chat rooms or multiplayer games, coordinating between multiple clients, managing per-user or per-room state, implementing rate limiting or session management, scheduling tasks with alarms, building queues or workflows, or encountering "do class export", "new_sqlite_classes", "migrations required", "websocket hibernation", "alarm api error", or "global uniqueness" errors. Prevents 15+ documented issues: class not exported, missing migrations, wrong migration type, constructor overhead blocking hibernation, setTimeout breaking hibernation, in-memory state lost on hibernation, outgoing WebSocket not hibernating, global uniqueness confusion, partial deleteAll on KV backend, binding name mismatches, state size limits exceeded, non-atomic migrations, location hints misunderstood, alarm retry failures, and fetch calls blocking hibernation. Keywords: durable objects, cloudflare do, DurableObject class, do bindings, websocket hibernation, do state api, ctx.storage.sql, ctx.acceptWebSocket, webSocketMessage, alarm() handler, storage.setAlarm, idFromName, newUniqueId, getByName, DurableObjectStub, serializeAttachment, real-time cloudflare, multiplayer cloudflare, chat room workers, coordination cloudflare, stateful workers, new_sqlite_classes, do migrations, location hints, RPC methods, blockConcurrencyWhile, "do class export", "new_sqlite_classes", "migrations required", "websocket hibernation", "alarm api error", "global uniqueness", "binding not found"
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".
generating-grpc-services
Generate gRPC service definitions, stubs, and implementations from Protocol Buffers. Use when creating high-performance gRPC services. Trigger with phrases like "generate gRPC service", "create gRPC API", or "build gRPC server".
gdb-start
Start GDB for Vela/NuttX crash dump analysis, coredump debugging, or live target debugging. Supports coredump (*.core), crashlog (*.log), and memory dump (*.bin) files. Uses tmux for GDB process management and gdbmcp MCP server for AI-controlled debugging via gdbrpc socket. Use when: crash analysis, coredump, crashlog, memory dump, GDB debugging, KASAN, assert failure, hardfault, panic, nxstub, online debugging.
substitute-eraser
This skill should be used when the user asks to "scan for TODOs", "find placeholders", "clean up stubs", "remove temporary code", "audit for incomplete code", or "erase substitutions from codebase". Scans existing files for placeholder tokens and generates remediation plan.
accelint-ts-testing
Comprehensive vitest testing guidance for TypeScript projects. Use when (1) Writing new tests with AAA pattern, parameterized tests, or async/await, (2) Reviewing test code for anti-patterns like loose assertions (toBeTruthy), over-mocking, or nested describe blocks, (3) Optimizing slow test suites, (4) Implementing property-based testing with fast-check - especially for encode/decode pairs, roundtrip properties, validators, normalizers, and idempotence checks. Covers test organization, assertions, test doubles hierarchy (fakes/stubs/mocks), async testing, performance patterns, and property-based testing patterns. Trigger keywords on vitest, *.test.ts, describe, it, expect, vi.mock, fast-check, fc.property, roundtrip, idempotence.
python:testing
Stub-Driven TDD and layer boundary testing with pytest. Use when writing tests, deciding what to test, testing at component boundaries, or implementing test-driven development.
atelier-spec-testing
Stub-Driven TDD and layer boundary testing. Use when writing tests, deciding what to test, or testing at component boundaries.
decomp-permuter
Use the decomp-permuter to automatically find C code variations that match target assembly. Useful when stuck at 99%+ match with stubborn register allocation issues. Invoked with /decomp-permuter <function_name> <scratch_slug> or when manual matching attempts are exhausted.
socketio-stub-updater
Detects changes between python-socketio versions by comparing git diffs, analyzes API changes (new/modified/removed functions, classes, parameters), and updates corresponding .pyi stub files. Use when python-socketio releases a new version and stubs need to be synchronized, or when the user mentions "update stubs", "socketio upgrade", "sync stubs with socketio", or "check socketio changes".
photonos-secureboot-iso
Create UEFI Secure Boot enabled Photon OS ISOs for physical hardware. Handles MOK enrollment, custom GRUB stub, RPM signing, and kickstart installation. Use when building bootable ISOs for laptops/servers with Secure Boot enabled.
mock-generator
Generates test mocks, stubs, and fixtures for testing (Jest, Vitest, pytest, etc.). Use when user asks to "create mock", "generate stub", "mock function", "test fixtures", or "mock API response".
new-blueprint
Generate a Flask blueprint with route stubs, service, schema, and registration
testing
Skill for writing iOS tests. Used when writing unit tests and UI tests for iOS apps, or when adding tests to existing code. Covers XCTest structure, Mock/Stub/Spy patterns, async testing, test naming conventions, and the XCUITest Page Object pattern. Provides Xcode/XCTest file structure and naming conventions (one test file per tested class, test_[method]_[condition]_[expected]), case coverage (happy path, error path, boundary conditions, asynchronous behavior), and test patterns for async/await and Combine. Explains choosing and implementing Mock/Stub/Spy (Mock to verify call counts and parameters, Stub to control return values, Spy to record call history), the XCUITest Page Object pattern and accessibilityIdentifier requirements, best practices for waiting for asynchronous loads, examples of test data factories, and common anti-patterns (do not test private methods, do not depend on network/files, keep tests independent, avoid using sleep). Suitable for adding tests to existing code, building reliable CI test suites, and improving test maintainability and observability. // skill-used: testing
sdk-architecture
SDK/Framework architecture design skill. Used when designing SDK architecture, module boundaries, public APIs, SDK entry classes, Configuration, and distribution strategies. Also applicable when writing tests for the SDK, designing testable architectures, or creating mocks/stubs. Covers layered architectures, SPM modularization, and XCFramework distribution.
forge-verifier
Gap detection and verifier creation. Reports tools without verifier coverage, suggests verifiers by output group, generates verifier stubs and barrel registration.
stub-creator
Create stub creator operations. Auto-activating skill for Test Automation. Triggers on: stub creator, stub creator Part of the Test Automation skill category. Use when working with stub creator functionality. Trigger with phrases like "stub creator", "stub creator", "stub".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".
Dev Browser
Development browser automation patterns (stub — not yet implemented).
cpp-mock-testing
Automates mock test creation for C++ projects using Google Mock (GMock) framework with consistent software testing patterns. Use when creating tests with mocked dependencies, interface mocking, behavior verification, or when the user mentions mocks, stubs, fakes, or GMock.
dummy
Placeholder skill template used for testing and scaffolding new skills. Use when setting up a new skill that has not yet been given real instructions, when validating skill routing infrastructure, when a skill slot needs to be reserved before its capabilities are defined, or when a user lands on an unconfigured or stub skill and needs redirection.
Forge Verifier
Detects coverage gaps and creates verifiers. Reports tools lacking verifier coverage, suggests verifiers by output group, and generates verifier stubs and barrel/registry entries.
vibe-check
Scan a git diff for AI agent anti-patterns before pushing. Use after making code changes in any git repo — catches hardcoded secrets, stubbed tests, deleted error handlers, empty catch blocks, and TODO comments left in production code. Do not use for code review of other people's work, for non-git projects, or for reviewing changes you did not make.
open-source-maintainer
Open source project maintenance workflows (stub — not yet implemented).