What problem does it solve?
Standalone Open Mercato apps ship with many built-in modules, and removing unused ones by hand risks breaking module dependencies, backend navigation, bootstrap, CLI workers, and code generation. This Skill performs a dependency-aware audit and disables modules safely through supported configuration.
Core Features & Use Cases
- Dependency-aware classification: Labels each module as required, optional-used, optional-unused, or uncertain by inspecting declared dependencies, app imports, DI resolves, events, setup, CLI, and workers.
- Confirmation-first workflow: Proposes the disabled set and its effects, then edits
src/modules.ts only after user approval.
- Landing route repair: When dashboards is disabled, redirects the backend landing route to the first accessible enabled page with profile as fallback.
- Use Case: You generated a standalone app but only need CRM and Sales. Use this Skill to identify safe-to-disable modules, update
src/modules.ts, then run yarn generate, typecheck, and login/navigation verification.
Quick Start
Ask the assistant to trim unused built-in modules from this app and propose a safe disabled set before editing src/modules.ts.