# Migrate To Shoehorn (agent skill)

> Migrate To Shoehorn is an agent skill (a SKILL.md file) from mattpocock/skills. Migrate test files from as type assertions to @total-typescript/shoehorn. It works with Claude Code and Codex and has 278,361 GitHub stars across a repository of 15 listed 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. shoehorn lets you pass partial data in tests while keeping TypeScript happy. It replaces as assertions with type-safe alternatives.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mattpocock/skills |
| Skill path | skills/misc/migrate-to-shoehorn/SKILL.md |
| Skill name | migrate-to-shoehorn |
| GitHub stars | 278,361 |
| Installs on skills.sh | 414,405 |
| License | MIT |
| Skills in repo | 15 |
| Plugin marketplace | mattpocock |
| Official | no |
| Works with | Claude Code, Codex |
| Category | Testing & QA |
| Last commit | Oct 6, 2026 |

## When it triggers

- Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

## Add this skill

### Claude Code

```sh
/plugin marketplace add mattpocock/skills
/plugin install mattpocock-skills@mattpocock
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/mattpocock/skills.git
cp -r skills/skills/misc/migrate-to-shoehorn .agents/skills/migrate-to-shoehorn   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/mattpocock/skills.git
cp -r skills/skills/misc/migrate-to-shoehorn .cursor/skills/migrate-to-shoehorn   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/mattpocock/skills/migrate-to-shoehorn

---

Canonical page: https://appsgit.com/skills/mattpocock-migrate-to-shoehorn
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
