agentplane-testkit-migration

Migrate local test helpers to the canonical @agentplane/testkit package.

72|9|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/basilisk-labs/agentplane --skill agentplane-testkit-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentplane-testkit-migration
Source: https://github.com/basilisk-labs/agentplane/tree/main/skills/agentplane-testkit-migration
Command: npx skills add https://github.com/basilisk-labs/agentplane --skill agentplane-testkit-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves fragmentation in test infrastructure by migrating local test helpers to the canonical @agentplane/testkit, ensuring build stability and consistent testing patterns.

Core Features & Use Cases

  • Canonical Migration: Replaces scattered local test helpers with centralized, reusable testkit utilities.
  • Build Integrity: Fixes import failures and circular dependencies between package builds and test suites.
  • Use Case: When a large test suite fails due to missing exports or duplicated logic, use this skill to refactor the suite to use the official testkit surface, ensuring compatibility with the current build pipeline.

Quick Start

Use the agentplane-testkit-migration skill to refactor the current test suite by replacing local helpers with canonical exports from the testkit package.

Frequently Asked Questions about agentplane-testkit-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why do my vitest suite builds fail with import errors and duplicated test helpers?

Vitest suite builds fail due to fragmented local test helpers causing circular dependencies and missing exports. Migrating to a centralized testkit package resolves these build-time import errors and dependency duplication by standardizing test infrastructure.

How do I migrate local test helpers to a canonical testkit package?

Migrate local test helpers by replacing scattered utilities with centralized exports from the testkit package. This refactoring process requires adherence to the established barrel export pattern and verifies success through focused package builds.

What is a testkit barrel export pattern for standardizing test infrastructure?

A testkit barrel export pattern centralizes reusable testing utilities into a single canonical package surface. This standardization ensures consistent testing patterns across large CLI and backend suites while resolving build instability and dependency duplication.

Can I use this testkit migration approach for large CLI and backend test suites?

Yes, this testkit migration approach specifically applies to refactoring large CLI and backend test suites. It resolves build-time import errors by replacing local helpers with canonical testkit utilities, ensuring compatibility with current build pipelines.

What's the best way to resolve circular dependencies between package builds and test suites?

The best way to resolve circular dependencies is migrating local test helpers to a canonical testkit package. This refactoring replaces duplicated logic and missing exports with centralized utilities, restoring build integrity and ensuring consistent testing patterns.

How do I verify test infrastructure refactoring after migrating to a testkit package?

Verify test infrastructure refactoring by running focused package builds after replacing local helpers with canonical testkit exports. This confirms that the migration successfully resolved import failures and maintains compatibility with the build pipeline.