Skills

Platform Trial Org Create

Use this skill to create a Salesforce trial, developer, or Trialforce org against an...

Install

npx skills add forcedotcom/sf-skills --skill platform-trial-org-create -g -a claude-code -y
Repository
forcedotcom/sf-skills1.1k
Category
Engineering
Updated
5d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Use this skill to create a Salesforce trial, developer, or Trialforce org against an already-authenticated host org, the same way a developer/Trialforce web signup form provisions one. INVOKE when the user asks to: create a trial org, sign up a new trial or developer org, provision a Trialforce org from a template, or check the status of a trial-org signup they started. Trigger phrases: 'create a trial org', 'sign up a trial org', 'spin up a dev org', 'Trialforce signup', 'provision trial from template', 'check my trial org signup status'. Do NOT use for scratch orgs (use dx-org-manage) or for checking trial expiration dates of existing orgs (use dx-org-trial-expiration-check).

What this skill does

Creates a Salesforce trial org by inserting a SignupRequest sObject with the sf CLI, the same request the Trialforce/developer web signup form issues under the hood. There is no bespoke signup endpoint: signup = inserting a SignupRequest (key prefix 0SR) against an authenticated host org (a Trialforce Source Org / Env Hub / partner org that is entitled to create trial orgs).

The flow is two CLI calls: (1) create the SignupRequest, (2) read it back to pick up the assigned org id (creation is asynchronous, the org id appears shortly after the insert).

Prerequisites, confirm before executing

  1. Authenticated host org, always confirm which one, explicitly. You are signing up from an authenticated host org, not anonymously. The sf CLI operates against an org you have already logged into once (sf org login web, or sf org login).

    Always pass an explicit --target-org (-o) with the host org's alias or username on every command, and confirm the target with the user before creating, even if a default org is configured. Creating a SignupRequest is a real provisioning action; do not let it run against whatever org happens to be the default.

Read the whole SKILL.md on GitHub

More in Engineering