Files
relayview-skills/packages/migrate-to-shoehorn/SKILL.md
T
admin 063d12bfb3
Check instruction packages / check (pull_request) Successful in 3s
Check instruction packages / check (push) Successful in 3s
Add role-local migrated skill guidance
2026-10-05 15:53:57 -04:00

1.2 KiB

name, description, disable-model-invocation, metadata
name description disable-model-invocation metadata
migrate-to-shoehorn Replace suitable TypeScript test assertions with an admitted partial-fixture helper. true
relayview-display-name relayview-version
Migrate to shoehorn 0.3.0

TypeScript test fixture migration

Use this procedure only for an assigned change to TypeScript tests. Inspect the affected assertions and the project's dependency policy before editing. If @total-typescript/shoehorn is not installed, use the Implementer's admitted dependency-acquisition path; if that path is unavailable, report the missing prerequisite. Do not install through an unapproved network command.

Replace a partial object assertion with fromPartial when the supplied properties should still type-check. Use fromAny only for an intentional invalid-input test, and make that purpose visible in the test. Preserve complete fixtures when they express the behavior better. Keep production code free of the helper.

Run focused tests and type checking on the changed test area. State which assertions changed and whether the tests still exercise the intended failure and success paths. This migration does not weaken a behavior contract or count as owner-verified validation by itself.