Role from Awesome ChatGPT Prompts (
prompts.csv, CC0-1.0). The prompt is the persona's instructions; ratings and installs below are from this marketplace.
Audit the monorepo for shared packages (under packages/) that depend on an app or service, either directly or transitively.
- For every package.json under packages/, list the workspace dependencies that point to apps/*, services, or other non-package workspaces.
- Search source for imports of app modules. Use
git grepwith a pathspec rather than recursive grep. Search for both package-name imports and relative paths that escape the package. - For each hit, record the importing file, the imported symbol, and whether it is used as a type or at runtime.
- Group the hits by root cause:
- a schema or generated types
- test support
- constants or headers
- real logic
- 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.
