mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 03:09:50 +08:00
more starter prompts
This commit is contained in:
parent
deae018c06
commit
44a77cb1d8
9
prompts/data-operations/create-fake-data.md
Normal file
9
prompts/data-operations/create-fake-data.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
name: Account Test Data Generator
|
||||
description: Create an Apex script that generates 10 realistic Account records with complete business data including name, account number, type, industry, annual revenue, ticker symbol, and number of employees. Includes documentation on how to execute the script anonymously.
|
||||
tags: salesforce, apex, data-generation, test-data, developer, admin
|
||||
---
|
||||
|
||||
Create an apex script that I can run anonymously to insert 10 account records with name, account number, type, industry, annual revenue, ticker symbol and number of employees.
|
||||
|
||||
Generate a document with instruction on how to run the script.
|
||||
BIN
prompts/getting-started/.DS_Store
vendored
BIN
prompts/getting-started/.DS_Store
vendored
Binary file not shown.
7
prompts/getting-started/add-fields-pagelayout.md
Normal file
7
prompts/getting-started/add-fields-pagelayout.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Account Layout Field Enhancement
|
||||
description: Add Type and Industry fields to the Account page layout for better data organization and reporting.
|
||||
tags: salesforce, account, page-layout, admin, data-management
|
||||
---
|
||||
|
||||
Add Type and Industry fields to the Account Layout, placing them below Account Name.
|
||||
7
prompts/getting-started/add-picklist-value.md
Normal file
7
prompts/getting-started/add-picklist-value.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Lead Source Picklist Enhancement
|
||||
description: Add a new 'Referral' value to the Lead Source picklist on the Lead object for better lead tracking.
|
||||
tags: salesforce, lead, picklist, data-management, admin
|
||||
---
|
||||
|
||||
Add a new value 'Referral' to the Lead Source picklist on the Lead object.
|
||||
7
prompts/getting-started/create-assignment-rules.md
Normal file
7
prompts/getting-started/create-assignment-rules.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: High Priority Case Assignment Rule
|
||||
description: Create an assignment rule that automatically routes high priority Cases to a specific queue or user for immediate attention.
|
||||
tags: salesforce, case-management, assignment-rules, automation, admin
|
||||
---
|
||||
|
||||
Add an Assignment Rule that automatically assigns new Cases with Priority = High to a specific queue or user.
|
||||
7
prompts/getting-started/create-opp-formula.md
Normal file
7
prompts/getting-started/create-opp-formula.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Opportunity Days Open Formula
|
||||
description: Create a formula field on Opportunity that calculates the number of days since the record was created.
|
||||
tags: salesforce, opportunity, formula-field, automation, admin
|
||||
---
|
||||
|
||||
Add a formula field on Opportunity called Days_Open__c that calculates TODAY() - DATEVALUE(CreatedDate).
|
||||
7
prompts/getting-started/create-permission-set.md
Normal file
7
prompts/getting-started/create-permission-set.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Account Editor Permission Set
|
||||
description: Create a permission set that grants edit access to Account records and assign it to the current user.
|
||||
tags: salesforce, permission-set, security, admin, user-management
|
||||
---
|
||||
|
||||
Create a permission set Account_Editor with Edit access to Account and assign it to your current user.
|
||||
7
prompts/getting-started/create-rollup-summary.md
Normal file
7
prompts/getting-started/create-rollup-summary.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Account Opportunity Count Roll-Up
|
||||
description: Create a roll-up summary field on Account that counts related Opportunities for better relationship tracking.
|
||||
tags: salesforce, account, opportunity, rollup-summary, automation, admin
|
||||
---
|
||||
|
||||
Create a Roll-Up Summary on Account that counts the number of related Opportunities.
|
||||
7
prompts/getting-started/opp-validation-rule.md
Normal file
7
prompts/getting-started/opp-validation-rule.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Opportunity Close Date Validation
|
||||
description: Create a validation rule on Opportunity that prevents saving when the Close Date is in the past.
|
||||
tags: salesforce, opportunity, validation-rule, data-quality, admin
|
||||
---
|
||||
|
||||
Add a validation rule on Opportunity that prevents saving when Close Date < TODAY().
|
||||
7
prompts/testing-automation/create-unit-test.md
Normal file
7
prompts/testing-automation/create-unit-test.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Apex Unit Test Generator
|
||||
description: Create a comprehensive test class for any Apex class with test data setup and result verification.
|
||||
tags: salesforce, apex, testing, unit-test, automation, developer
|
||||
---
|
||||
|
||||
Write a test class for [insert class name] that inserts test data and verifies results.
|
||||
7
prompts/testing-automation/run-all-test.md
Normal file
7
prompts/testing-automation/run-all-test.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
name: Run All Apex Tests
|
||||
description: Execute all Apex tests in the org and display a comprehensive summary including total tests run, number passed, and overall code coverage percentage.
|
||||
tags: salesforce, apex, testing, automation, test-coverage
|
||||
---
|
||||
|
||||
Run all Apex tests and show a summary of total tests run, number passed, and code coverage.
|
||||
Loading…
Reference in New Issue
Block a user