Find leftover compatibility shims

Find compatibility shims and barrel files left behind by earlier extractions. These are files that only re-export from a new home, and package exports entries that point at them. For each one, list the remaining impor

Prompt · برومبت

Works with

claude-code (compatible), claude (compatible), codex (compatible), chatgpt (compatible), gemini-cli (compatible), cursor (compatible), copilot (compatible), opencode (compatible), amp (compatible), roo (compatible), kiro (compatible), goose (compatible), junie (compatible), trae (compatible), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible), aider (compatible)

Content

Find compatibility shims and barrel files left behind by earlier extractions. These are files that only re-export from a new home, and package exports entries that point at them.

For each one, list the remaining importers. If there are none, or every importer can be repointed in one small change, propose removing it.

Check for:

  • package.json "exports" subpaths
  • tsconfig path aliases
  • vitest aliases
  • lint-guard baselines that mention the old path

Source and license

Source
Prompts Chat
Original
f/awesome-chatgpt-prompts/prompts.csv#find-leftover-compatibility-shims
License
MIT