What problem does it solve? Building a Partner Development Environment (PDE) org for Revenue Cloud requires temporary feature-flag changes (pde=true, billing_ui=false) that must never leak into committed configuration, and long builds make it hard to tell success from a frozen log. This skill routes you to a self-reverting build script that handles flag overrides, scratch org provisioning, and cleanup automatically. ## Core Features & Use Cases - Self-Reverting Builds: Applies runtime-only flag overrides in cumulusci.yml and restores every touched file on exit, whether the build succeeds, fails, or is interrupted. - Flexible Org Shapes: Provisions a uniquely-aliased scratch org from the tfid-pde Trialforce snapshot by default, or from the dev-r1 Developer Edition shape via SHAPE=dev-r1. - Exit-Code Gating: Treats the script exit code as the authoritative success signal rather than the visible log tail, which caps around 1 MB and appears frozen mid-build. - Use Case: Schedule a Cursor Cloud Agent that runs the build nightly; each run creates a unique pde<datetimestamp><pid> alias so runs never collide, and git status confirms the working tree is clean afterward. ## Quick Start Run scripts/build_pde_dev_r1.sh to build a PDE org with the default tfid-pde shape and automatic cleanup.