Prompt

0 copies · 0 said it worked

Santosh Yadav@santoshyadavdev·
Coding· Chat UI

Audit monorepo shared packages for dependencies on apps and services

Walks a monorepo's packages/ directory to find workspace dependencies and imports that reach into apps or services, groups them by root cause, and ranks fixes by build-graph impact measured with turbo dry runs.

People use this for

  • monorepo shared package dependency audit
  • find packages importing from apps
  • turbo build graph dependency analysis
  • workspace package boundary violations review
  • detect shared library coupling to services
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from Find packages that depend on apps . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Prompt

Audit the monorepo for shared packages (under packages/) that depend on an app or service, either directly or transitively.

1. For every package.json under packages/, list the workspace dependencies that point to apps/*, services, or other non-package workspaces.
2. Search source for imports of app modules. Use `git grep` with a pathspec rather than recursive grep. Search for both package-name imports and relative paths that escape the package.
3. For each hit, record the importing file, the imported symbol, and whether it is used as a type or at runtime.
4. Group the hits by root cause:
    - a schema or generated types
    - test support
    - constants or headers
    - real logic
5. Rank the groups by how many consumers they unblock and how much build-graph weight they remove.

Measure the improvement by comparing `turbo run build --dry=json --filter=<pkg>` before and after. Count tasks and dependency edges. Report numbers, not estimates. Do not change any code.

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.