agentplane-testkit-migration

Solid

Use when migrating Agentplane tests to @agentplane/testkit, replacing local test helpers, fixing testkit export/build failures, splitting large CLI/backend suites, or diagnosing missing testkit dist exports in package builds.

AI & Automation 77 stars 11 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
63
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Agentplane Testkit Migration ## Use This Skill When - A task mentions `@agentplane/testkit`, `run-cli.test-helpers`, shared fixtures, Vitest wrappers, or test helper duplication. - CI/build fails because `packages/agentplane/src/testing/*` cannot import `../../../testkit/dist/*`. - A large test file is being split into scenario-focused suites. - Tests use local helper clones that should move behind the canonical testkit surface. ## Source Of Truth Prefer exported testkit surfaces over deep imports or local helper copies. Before adding a helper, search for an existing one: ```bash rg -n "tempRepo|mockTaskBackend|mockPrApi|mockConfig|describeWhen|runCliSilent|installRunCliIntegrationHarness" packages/testkit packages/agentplane/src ``` ## Migration Steps 1. Identify the test family: CLI PR flow, task lifecycle, release/upgrade, runner, recipes, Redmine/backend, or scripts. 2. Replace local setup with canonical testkit helpers: - repository setup: `tempRepo`, git helpers, config writers - backend setup: mock task backend helpers - GitHub PR setup: mock PR API helpers - suite gating: `describeWhenEnvPresent`, `describeWhenNotHook`, `describeCritical` 3. Keep compatibility exports in `packages/agentplane/src/testing/index.ts` only as a bridge. The canonical implementation belongs in `packages/testkit`. 4. If `agentplane build` imports from `../../../testkit/dist/*`, ensure `@agentplane/testkit` is built before `agentplane`. 5. Remove obsolete shims only after ...

Details

Author
basilisk-labs
Repository
basilisk-labs/agentplane
Created
7 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

prolog-migrate-project

Step-by-step guidance for migrating legacy or ad-hoc Prolog projects to Prolog Agent Toolkit conventions, cleaning up subsumed vendor configs, adopting standard directory layouts, pure ISO Prolog logic, and encouraging execution in a fresh Git branch and worktree.

4 Updated 3 days ago
dougransom
AI & Automation Listed

hedera-agent-kit-v4-migration

This skill should be used when the user asks to "migrate to hedera-agent-kit v4", "upgrade hak v3 to v4", "convert plugin to BaseTool", "migrate Tool to BaseTool", "rename hedera-agent-kit imports", "fix v3 deprecation warnings", or has a project still on `hedera-agent-kit@3.x` / `@hashgraph/sdk` that needs to move to `@hashgraph/hedera-agent-kit@4.x` / `@hiero-ledger/sdk`. Covers both custom-plugin migration (Tool → BaseTool) and toolkit-consumer migration (LangChain/AI SDK/ElizaOS/MCP).

0 Updated 1 months ago
nickthelegend
Code & Development Listed

test-migration

Phase 3 of the test-readiness pipeline. Reconciles existing tests against the Phase 1 inventory and Phase 2 blueprint, bucketing each existing test and each inventory item into reuse / promote / rebuild / trim (redundant assertions) / net-new. Same bucketing applies to test infrastructure. Enforces the canonical-layer rule — a test whose assertions are already owned by a lower-layer test gets redundant assertions trimmed, not the test deleted. Writes `docs/test-readiness/test-migration.md`. Invoke when the `/test-migration` command runs.

14 Updated today
app-vitals