Home / akillness / jeo-skills · .agent-skills/migrate-to-shoehorn/SKILL.md · GitHub

migrate-to-shoehorn skillA

migrate-to-shoehorn is agent-read markdown (skill) from akillness/jeo-skills: Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Migrate to Shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

This skill is imported from `mattpocock/skills` (MIT) and is **model-invoked** upstream.

## When to use this skill

- Migrate test files from `as` type assertions to @total-typescript/shoehorn.
- Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

## Instructions

## Migrate to Shoehorn

### Why shoehorn?

`shoehorn` lets you pass partial data in tests while keeping TypeScript happy. It replaces `as` assertions with type-safe alternatives.

**Test code only.** Never use shoehorn in production code.

Problems with `as` in tests:

- Trained not to use it
- Must manually specify target type
- Double-as (`as unknown as Type`) for intentionally wrong data

### Install

```bash
npm i @total-typescript/shoehorn
```

### Migration patterns

#### Large objects with few needed properties

Before:

```ts
type Request = {
  body: { id: string };
  headers: Record<string, string>;
  cookies: Record<string, string>;
  // ...20 more properties
};
…

Read the whole file at its exact version.

How to install

Latest version
mdr add akillness/jeo-skills/migrate-to-shoehorn@v1.0
Exact content
mdr add akillness/jeo-skills/migrate-to-shoehorn@sha256:fb17f8398cae8d85

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rk6krfgorslu6e2x.svg)](https://markdownregistry.com/a/art_rk6krfgorslu6e2x)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.0 latest2026-09-11 8052d3c 4,540 BA view · diff
v1.02026-07-28 6910059 3,764 BA view · diff
v1.02026-05-05 eb68a6f 3,970 BA view · diff
v1.02026-05-04 aab4b13 3,275 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4540 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

akillness/jeo-skills · 47 stars · license none · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_rk6krfgorslu6e2x
GET https://markdownregistry.com/api/v1/resolve?ref=akillness/jeo-skills/migrate-to-shoehorn
GET https://markdownregistry.com/api/v1/blob/fb17f8398cae8d8597ab21e21d3436000a46200b1066468343578b43ab05395b

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from akillness/jeo-skills

academic-research skill
akillness/jeo-skills · .agent-skills/academic-research/SKILL.md · Full academic research pipeline from discovery to publication — 4 reference pipelines, 27 modes, 39-agent ensemble…
v1.0.0 · audit A · 47 stars
agent-pulse skill
akillness/jeo-skills · .agent-skills/agent-pulse/SKILL.md · Operate and extend barretlee/agent-pulse, the evidence-backed AI industry intelligence system: inspect source catalog…
v1.0 · audit A · 47 stars
agent-reach skill
akillness/jeo-skills · .agent-skills/agent-reach/SKILL.md · Operate Panniantong/Agent-Reach, the MIT-licensed installer, doctor, and routing layer for platform-specific internet…
v1.0.0 · audit A · 47 stars
agentation skill
akillness/jeo-skills · .agent-skills/agentation/SKILL.md · Exact rendered-UI feedback router → choose copy-paste review, watch-loop sync, self-driving critique, or platform…
v1.1.0 · audit A · 47 stars
agentic-gamedev-skills skill
akillness/jeo-skills · .agent-skills/agentic-gamedev-skills/SKILL.md · Discover, select, and safely install focused skills from abagames/agentic-gamedev-skills. Use when a user explicitly…
v1.0.0 · audit A · 47 stars
agentic-skills skill
akillness/jeo-skills · .agent-skills/agentic-skills/SKILL.md · Production engineering lifecycle for spec-first, test-driven implementation, review, and staged shipping; use for…
v1 · audit A · 47 stars
agenticskills skill
akillness/jeo-skills · .agent-skills/agenticskills/SKILL.md · One-shot installer for the akillness/oh-my-gods agent skill bundle (80+ god-skills) — wraps the official install.sh…
v1.0.0 · audit B · 47 stars
aider-cli-workflow skill
akillness/jeo-skills · .agent-skills/aider-cli-workflow/SKILL.md · Runs a scope-locked, test-backed Aider coding loop with commit hygiene; use for local-repo AI pair-programming on one…
v1.0.0 · audit A · 47 stars
airship skill
akillness/jeo-skills · .agent-skills/airship/SKILL.md · Drive Airship (`@airshiplabs/cli`), a CLI that puts a visual, pannable design canvas in front of a running dev server…
v1.0 · audit A · 47 stars
amrouter skill
akillness/jeo-skills · .agent-skills/amrouter/SKILL.md · Self-hosted AI gateway with one OpenAI-compatible endpoint for multi-provider LLM, embedding, image, and audio routing…
git:20260911.fa4fe6b · audit A · 47 stars
animato skill
akillness/jeo-skills · .agent-skills/animato/SKILL.md · Drive Animato (github.com/otdnnc/Animato) as an API-key agent loop that turns a rigged .fbx/.gltf model plus a…
v1.0.0 · audit A · 47 stars
api-design skill
akillness/jeo-skills · .agent-skills/api-design/SKILL.md · Design or refactor API contracts for REST and GraphQL systems.
v1.1.0 · audit A · 47 stars

Every file in akillness/jeo-skills

Other files named migrate-to-shoehorn

migrate-to-shoehorn skill
mxyhi/ok-skills · migrate-to-shoehorn/SKILL.md · Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to…
git:20260427.26d456f · audit A · 490 stars
migrate-to-shoehorn skill
vodailocz/kilo-kit-mcp · skills/productivity/migrate-to-shoehorn/SKILL.md · Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to…
git:20260821.05c0d52 · audit A · 26 stars
migrate-to-shoehorn skill
mambo-wang/codewiki-plus · .trae/skills/migrate-to-shoehorn/SKILL.md · Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to…
git:20260916.5a385b8 · audit A · 17 stars
migrate-to-shoehorn skill
mambo-wang/codewiki-plus · .codebuddy/skills/migrate-to-shoehorn/SKILL.md · Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to…
git:20260916.5a385b8 · audit A · 17 stars

Browse by kind, by grade A, or by owner.