sugar-viewdef-editing

Official

Safely edit SugarCRM Sidecar viewdefs with explicit numeric array key management.

Authorsugarcrm-developers
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of safely editing existing SugarCRM Sidecar viewdefs, ensuring proper numeric array key management to avoid data corruption and compatibility issues.

Core Features & Use Cases

  • Safe Editing: Provides methods to safely edit record.php, list.php, subpanel-list.php, etc., without breaking the viewdef structure.
  • Array Key Management: Ensures that explicit numeric array keys remain contiguous and sorted to maintain compatibility with Sugar's metadata pipeline.
  • Error Handling: Offers techniques to fix corrupted viewdefs and recover from common editing mistakes.
  • Use Case: Ideal for Sugar developers who need to modify viewdefs and ensure that changes do not interfere with Sugar's Studio or other automated processes.

Quick Start

Use the sugar-viewdef-editing skill to renumber the array keys in the 'src/SugarModules/modules/Foos/clients/base/views/record/record.php' file.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sugar-viewdef-editing
Download link: https://github.com/sugarcrm-developers/ai-for-sugar-devs/archive/main.zip#sugar-viewdef-editing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.