trim-unused-modules

Identify unused Open Mercato modules in src/modules.ts for disabling.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/dainamite-technologies/dainamite-core --skill trim-unused-modules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trim-unused-modules
Source: https://github.com/dainamite-technologies/dainamite-core/tree/main/.ai/skills/trim-unused-modules
Command: npx skills add https://github.com/dainamite-technologies/dainamite-core --skill trim-unused-modules

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies and suggests disabling modules in src/modules.ts that are not used by the current standalone project, thereby reducing unnecessary processing, clutter, and dependencies.

Core Features & Use Cases

  • Identifies Unused Modules: Scans src/modules.ts and detects modules not actively used by the application.
  • Confirms with User: Always seeks user confirmation before disabling any modules.
  • Safety First: Ensures that core framework dependencies remain enabled and that database tables are not deleted.

Quick Start

To get started, run the trim-unused-modules skill in your app's root directory.

Frequently Asked Questions about trim-unused-modules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I disable unused Open Mercato modules to optimize app performance?

To optimize app performance by disabling unused Open Mercato modules, the Skill scans `src/modules.ts` to assess active references, imports, and event subscriptions. It proposes disabling unused modules and requires your confirmation before applying changes.

What is the best way to identify inactive modules in a standalone app?

The best way to identify inactive modules is to scan `src/modules.ts` and evaluate module usage based on references, imports, and event subscriptions. This process detects modules not actively used by your standalone app.

Does disabling unused Open Mercato modules delete database tables or modify package installations?

Disabling unused Open Mercato modules does not modify package installations or delete database contents. The Skill only proposes disabling modules in `src/modules.ts` after confirming changes with you, ensuring safety.

How are active module usages assessed before trimming dependencies?

Active module usages are assessed based on references, imports, and event subscriptions within your standalone app. This ensures only truly unused Open Mercato modules are proposed for disabling in `src/modules.ts`.

Can I automatically trim unused modules without manual confirmation?

You cannot automatically trim unused modules without manual confirmation. The Skill always seeks user confirmation before applying any changes to `src/modules.ts` to ensure core framework dependencies remain enabled.

Why should I remove unused modules from src/modules.ts?

Removing unused modules from `src/modules.ts` reduces unnecessary processing, clutter, and dependencies. This streamlines performance and resource usage for your standalone Open Mercato app.