/frontend-skills:migrate-to-shoehornfrom frontend-skills
Migrates test casts from `as` to @total-typescript/shoehorn's type-safe helpers like fromPartial().
Ships in frontend-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Test code only. Never prod.
@total-typescript/shoehorn replaces test as casts with type-safe helpers for partial data.
bun add -d @total-typescript/shoehorn
as Type with partial object -> fromPartial():
import { fromPartial } from "@total-typescript/shoehorn";
getUser(fromPartial({ body: { id: "123" } }));
Intentionally invalid data -> fromPartial() plus targeted override helper from package docs. Avoid as unknown as.
*.test.*, *.spec.*, fixtures.rg " as |as unknown as".What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
69 skills in this plugin
/brainstormingUse when exploring design options, starting new features, or needing to think before coding. Two modes: design (explore approaches with trade-offs) and challenge (stress-test decisions). No implementation until design is approved./cavemanUltra-compressed reply mode. Use when user asks be brief or /caveman./codex-compatGenerate Codex hooks.json and AGENTS.md from Claude Code hooks. Maps supported hooks directly, including Edit|Write apply_patch aliases, and keeps Stop batch checks only as fallback. Use when setting up Codex compatibility or dual-agent support.npx claudepluginhub redpanda-data/ui-harness --plugin frontend-skillsOther plugins' skills for the same job