sugar-mlp-anatomy

Describe SugarCRM MLP structure, installdefs sections, and file routing rules.

6|3|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/sugarcrm-developers/ai-for-sugar-devs --skill sugar-mlp-anatomy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sugar-mlp-anatomy
Source: https://github.com/sugarcrm-developers/ai-for-sugar-devs/tree/main/skills/sugar-mlp-anatomy
Command: npx skills add https://github.com/sugarcrm-developers/ai-for-sugar-devs --skill sugar-mlp-anatomy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to the internal structure of SugarCRM Module Loadable Packages (MLPs), enabling developers to understand the layout, components, and routing rules used by pack.php and ModuleInstaller.

Core Features & Use Cases

  • Understanding MLP Structure: Offers a detailed explanation of the 7 installdefs sections and file pattern routing rules.
  • Conceptual Framework: Delivers a conceptual framework for MLPs, helping developers design and troubleshoot MLPs effectively.
  • Use Case: A developer trying to understand how MLPs are structured can use this skill to map out the layout of an MLP and ensure files are correctly placed.

Quick Start

Explore the anatomy of a SugarCRM MLP using the sugar-mlp-anatomy skill.

Frequently Asked Questions about sugar-mlp-anatomy

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

FAQPage Schema
What are the installdefs sections in a SugarCRM Module Loadable Package?

A SugarCRM Module Loadable Package uses 7 installdefs sections to define its installation logic. These sections map files and components to specific directories during the module installation process.

How does file pattern routing work in SugarCRM MLPs?

File pattern routing in SugarCRM MLPs dictates how pack.php and ModuleInstaller route files to their correct destinations. Understanding these routing rules ensures files are correctly placed within the SugarCRM directory structure.

How do I troubleshoot a SugarCRM MLP that is not installing correctly?

To troubleshoot a SugarCRM MLP that is not installing correctly, review the internal MLP structure and verify that files match the expected installdefs sections and file routing rules used by the ModuleInstaller.

Do I need prior knowledge of SugarCRM architecture to understand MLP structure?

Yes, understanding SugarCRM MLP structure requires existing knowledge of MLP components and common issues faced in MLP development. This conceptual framework builds upon that foundation to help developers map out layouts.

When do I need to use a SugarCRM Module Loadable Package?

You need a SugarCRM Module Loadable Package when you want to distribute custom modules, files, and logic in a single installable zip file. The MLP structure allows the SugarCRM Module Installer to deploy these components automatically.