sugar-package-build

Generate SugarCRM MLP pack.php files with installdefs and manifest.php.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of pack.php files for SugarCRM MLPs, simplifying the process of building comprehensive installable packages.

Core Features & Use Cases

  • Full MLP Pack.php Generation: Automatically scans and organizes files for pack.php from the src/ directory.
  • Installdefs Organization: Routes files to the correct installdefs sections (beans, copy, relationships, vardefs, layoutdefs, sidecar, language, image_dir).
  • Manifest.php Creation: Dynamically generates manifest.php within the zip file.
  • Use Case: A developer uses this Skill to create a pack.php for a multi-module SugarCRM MLP, significantly reducing manual work and potential errors.

Quick Start

Use the sugar-package-build skill to generate the pack.php for your MLP in the src directory.

Frequently Asked Questions about sugar-package-build

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

FAQPage Schema
How do I generate a pack.php file for a SugarCRM MLP automatically?

To generate a pack.php file for a SugarCRM MLP, this Skill scans your src directory and automates the creation of installdefs and manifest.php files for your installable package.

What is the best way to organize installdefs for a SugarCRM module package?

Organizing installdefs for a SugarCRM module package is handled automatically by routing files from the src directory into correct sections like beans, vardefs, sidecar, language, and relationships.

Does SugarCRM MLP package generation require PHP to run?

Yes, SugarCRM MLP package generation requires PHP to execute the pack.php script and dynamically produce the manifest.php file within the final zip archive.

How does manifest.php creation work when building SugarCRM packages?

Manifest.php creation works by dynamically generating the file inside the zip package during the pack.php build process, ensuring your SugarCRM MLP has correct installation definitions.

Can I automate SugarCRM MLP packaging for multiple modules at once?

You can automate SugarCRM MLP packaging for multiple modules by scanning the src directory to automatically organize all files and generate a comprehensive pack.php without manual errors.

Why are my SugarCRM MLP files not routing to the correct installdefs sections?

If SugarCRM MLP files are not routing correctly, automating pack.php generation ensures files are scanned from the src directory and accurately mapped to layoutdefs, copy, and image_dir sections.