A read-only audit prompt that finds shared monorepo packages depending on apps or services, groups the hits by root cause, and measures the build-graph cost with turbo dry runs.
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.Pays down existing monorepo boundary violations in small, reviewable PRs that keep CI green. Works from turbo boundaries, Nx enforce-module-boundaries, dependency-cruiser, eslint-plugin-boundaries, Bazel visibility or a monorepo-doctor report: deep imports, undeclared workspace dependencies, app-to-app or package-to-app imports, shared test fixtures and circular dependencies.
Read-only audit skill for JS/TS monorepos (Nx, Turborepo or plain package-manager workspaces) and Bazel JS/Java workspaces. Checks package boundaries, circular dependencies, Nx/Turborepo caching, CI affected-test coverage, and test code leaking into production, then writes an evidence-backed Markdown and JSON report.
Finds code nobody uses anymore: unused files, exports, routes, styles and dependencies, with proof for each one, and suggests small safe pull requests to remove them.
Keeps your open pull requests moving: watches CI, summarises failing checks with the likely cause, nudges reviewers who have been sitting on a review, and tells you when a PR is ready to merge.
Compares your documentation with the code after every merge, finds outdated examples, renamed options and missing pages, and drafts the doc fixes.
Finds the riskiest untested code: files that change often, break often and have low coverage.