From ab61a58a0c35aa45afc1d51bbdc0ab7cef0699e0 Mon Sep 17 00:00:00 2001 From: Chandresh Patel Date: Wed, 6 May 2026 14:45:01 -0700 Subject: [PATCH] updated getting-datacloud-schema --- skills/getting-datacloud-schema/SKILL.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/skills/getting-datacloud-schema/SKILL.md b/skills/getting-datacloud-schema/SKILL.md index 3bd2ed5..f55dff8 100644 --- a/skills/getting-datacloud-schema/SKILL.md +++ b/skills/getting-datacloud-schema/SKILL.md @@ -65,30 +65,28 @@ sf org login web --alias ### Step 3a: Execute DLO Schema Script -Use the Python script to retrieve DLO information: +The Python scripts are bundled with this skill. They live in the `scripts/` subdirectory of the same directory that contains this SKILL.md file. Use the absolute path to that directory — do NOT use `./scripts/` as that resolves relative to the current working directory, not the skill directory. **To list all DLOs:** ```bash -python3 ./scripts/get_dlo_schema.py +python3 /scripts/get_dlo_schema.py ``` **To get specific DLO schema:** ```bash -python3 ./scripts/get_dlo_schema.py +python3 /scripts/get_dlo_schema.py ``` ### Step 3b: Execute DMO Schema Script -Use the Python script to retrieve DMO information: - **To list all DMOs:** ```bash -python3 ./scripts/get_dmo_schema.py +python3 /scripts/get_dmo_schema.py ``` **To get specific DMO schema:** ```bash -python3 ./scripts/get_dmo_schema.py +python3 /scripts/get_dmo_schema.py ``` ### Step 4: Present Results @@ -225,7 +223,7 @@ User: "Show me all DLOs in afvibe org" Response: 1. Run sf org list to discover connected org alias 2. Authenticate to afvibe -3. Run: python3 ./scripts/get_dlo_schema.py afvibe +3. Run: python3 /scripts/get_dlo_schema.py afvibe 4. Display formatted list of DLOs ``` @@ -236,7 +234,7 @@ User: "Get the schema for Employee__dll in afvibe" Response: 1. Run sf org list to discover connected org alias 2. Authenticate to afvibe -3. Run: python3 ./scripts/get_dlo_schema.py afvibe Employee__dll +3. Run: python3 /scripts/get_dlo_schema.py afvibe Employee__dll 4. Display field schema with types and metadata ``` @@ -259,7 +257,7 @@ User: "Show me all DMOs in afvibe org" Response: 1. Run sf org list to discover connected org alias 2. Authenticate to afvibe -3. Run: python3 ./scripts/get_dmo_schema.py afvibe +3. Run: python3 /scripts/get_dmo_schema.py afvibe 4. Display formatted list of DMOs ``` @@ -270,7 +268,7 @@ User: "Get the schema for Individual__dlm in afvibe" Response: 1. Run sf org list to discover connected org alias 2. Authenticate to afvibe -3. Run: python3 ./scripts/get_dmo_schema.py afvibe Individual__dlm +3. Run: python3 /scripts/get_dmo_schema.py afvibe Individual__dlm 4. Display field schema with types and metadata ```