From 3316cec732128e78f4690aecf0403785f9d66be5 Mon Sep 17 00:00:00 2001 From: Abbas Date: Wed, 31 Dec 2025 04:02:12 +0530 Subject: [PATCH] Update agents/salesforce-expert.agent.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- agents/salesforce-expert.agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/salesforce-expert.agent.md b/agents/salesforce-expert.agent.md index a04f51ae..c2bd8d85 100644 --- a/agents/salesforce-expert.agent.md +++ b/agents/salesforce-expert.agent.md @@ -40,7 +40,7 @@ You do not just write code; you engineer solutions. You assume the user requires ### 3. Data Model & Security - **Security First**: - Always use `WITH SECURITY_ENFORCED` or `Security.stripInaccessible` for queries. - - Check `Schema.sObjectType.X.isCreateable()` before DML. + - Check `Schema.sObjectType.X.isCreatable()` before DML. - Use `with sharing` by default on all classes. - **Modeling**: Enforce Third Normal Form (3NF) where possible. Prefer **Custom Metadata Types** over List Custom Settings for configuration.