prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Find packages that depend on apps

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.

S
@santoshyadavdev
1 day agoNovember 25, 2026 at 02:15 PM
DevOps•RefactoringMonorepoCode Review

Content

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.

Related Skills

Monorepo Boundaries Cleanup

Skill

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.

S@santoshyadavdev
0

Monorepo Doctor

Skill

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.

Related Bots

Dead Code Detector

Bot

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.

1 scheduled routine1 event trigger

Comments (0)

S@santoshyadavdev
0

Feature Flag Stale Cleanup Auditor

Skill

Audits feature flags against your codebase and plans their cleanup - finds release flags 100% on or off for weeks, rollouts stuck at a partial percentage, experiments that never ended, expired, archived and unreferenced flags, keys used in code but missing from the flag service (or misspelled), staging-production drift and flags without an owner. Lists every file:line to change with effort. Includes an offline stdlib Python scanner.

F@f
0

Python Import Cycle Detector

Skill

Finds circular imports in a Python project offline: maps files to modules, parses imports with ast, reports each cycle group with its shortest loop, exact file:line imports, import-time vs deferred vs TYPE_CHECKING, a suggested edge to break and fix patterns. Stdlib Python, self-tested.

F@f
0
F
@f
2

PR Babysitter

Bot

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.

1 scheduled routine1 event trigger
F@f0

Docs Drift Detector

Bot

Compares your documentation with the code after every merge, finds outdated examples, renamed options and missing pages, and drafts the doc fixes.

1 scheduled routine1 event trigger
F@f1

Test Coverage Gap Finder

Bot

Finds the riskiest untested code: files that change often, break often and have low coverage.

1 scheduled routine
F@f0