repo-integration

Place and sequence Revenue Cloud metadata, data plans, and UX templates in the repository.

Updated Sep 23, 2026
One-click install
npx skills add https://github.com/drgaciw/rlm-base-dev-fork --skill repo-integration-drgaciw
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: repo-integration
Source: https://github.com/drgaciw/rlm-base-dev-fork/tree/main/.cursor/skills/repo-integration
Command: npx skills add https://github.com/drgaciw/rlm-base-dev-fork --skill repo-integration-drgaciw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adding new features to a Salesforce Revenue Cloud repository requires knowing exactly where each artifact belongs and in what order it deploys; this Skill removes the guesswork around directory placement, dependency ordering, and UX drift capture. ## Core Features & Use Cases - Directory Placement Rules: Maps every artifact type (Apex, LWC, flexipages, layouts, profiles, SFDMU data plans, Robot tests) to its correct location across force-app/, unpackaged/, templates/, and datasets/. - Dependency Ordering: Documents the 34-step prepare_rlm_org flow ordering, data load sequence (PCM before pricing before billing), and reverse-order deletion rules. - UX Drift Capture: Explains the capture/apply drift workflow that writes org UX changes back to templates/ instead of hand-editing generated unpackaged/post_ux/ output. - Use Case: When adding a new feature, follow the checklist to create a feature flag in cumulusci.yml, place metadata, register CCI tasks, wire a sub-flow, and regenerate CCI references. ## Quick Start Ask the agent to read the repo-integration skill and tell you where to place a new flexipage and its data plan for a new Revenue Cloud feature.

Frequently Asked Questions about repo-integration

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

FAQPage Schema
How do I add a new feature to a Salesforce CumulusCI repository?▼

Add a feature flag under project.custom in cumulusci.yml, place metadata in the correct directory, register CCI insert/delete/extract tasks, create a prepare_<feature> sub-flow, and wire it into prepare_rlm_org respecting dependency ordering.

Where should flexipages and layouts go in a Salesforce repo?▼

New flexipage overrides go in templates/flexipages/standalone/<feature>/ and additive patches in templates/flexipages/patches/<feature>/. Layouts belong in templates/layouts/, never edited directly in unpackaged/post_ux/ which is fully regenerated.

Can I edit unpackaged/post_ux files directly?▼

No, unpackaged/post_ux/ is fully regenerated by the assemble_and_deploy_ux task. Edit templates/ sources instead, or use the capture_ux_drift and apply_ux_drift flows to write org changes back to templates.

What is the correct data load order for Revenue Cloud data plans?▼

Load products (qb-pcm) first, then pricing, DRO, tax, billing, CLM, rating, and rates. Delete in reverse dependency order: rates before rating before billing before pricing before PCM, due to foreign key constraints.

Why does my deployment fail when a feature flag is off?▼

Failures happen when base or always-on templates reference feature-gated custom fields or components that only deploy with post_<feature> metadata. Move those references into the feature's patch path so flag-off orgs never see them.