Prompt

0 copies · 0 said it worked

Santosh Yadav@santoshyadavdev·
Coding· Chat UI

Find and remove leftover compatibility shims and barrel files

Locates re-export shim files and package exports, tsconfig and vitest aliases, and lint baselines that still point at old paths, then lists importers and proposes removal where repointing is simple.

People use this for

  • find unused re-export shim files
  • remove barrel files codebase cleanup
  • typescript path alias cleanup
  • package exports stale subpath removal
  • lint baseline old import paths
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from Find leftover compatibility shims . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Prompt

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

No result recorded for this import yet. Tried it? File a report so the next person knows how it went.

Tried it

Structured reports from people who ran this prompt. They roll up into the per-model badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.