Prompt

0 copies · 0 said it worked

Santosh Yadav@santoshyadavdev·
Coding· Chat UI

Audit workspace convenience re-exports and plan removals

Finds export-star and named re-exports that forward symbols from other workspace packages, counts consumers with git grep, classifies each, and produces a table of recommended actions without editing files.

People use this for

  • audit barrel file re-exports
  • find unused package re-exports
  • workspace re-export cleanup plan
  • list export star forwarding symbols
  • monorepo convenience re-export audit
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from Find convenience re-exports . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Prompt

Find convenience re-exports in <package>: `export * from` and `export { X } from` statements that forward symbols owned by another workspace package.

For each re-export:

- Name the owning package. Say whether the re-export forces consumers to install or build that package when they would not otherwise need it.
- Count consumers with `git grep` and note which ones already depend on the owning package.
- Classify it:
  (a) Type-only. Usually keep it, because it has no runtime cost.
  (b) A runtime value with few consumers. Remove it and point consumers at the owner.
  (c) Real code that only looks like a re-export. Keep it.
  (d) Many consumers. Defer it to its own PR.

Produce a table with these columns: symbol, owner, consumers, classification, recommended action. Do not edit any files yet.

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.