afv-library/skills/platform-soql-query
2026-07-03 05:25:02 +00:00
..
assets feat: Release Skills Renaming by domain first convention @W-23187998@ 2026-06-26 12:21:51 +00:00
references feat: Release: Standardize skill folder structure scripts/, references/, assets/ @W-23262449@ 2026-07-03 05:25:02 +00:00
scripts feat: Release Skills Renaming by domain first convention @W-23187998@ 2026-06-26 12:21:51 +00:00
CREDITS.md feat: Release Skills Renaming by domain first convention @W-23187998@ 2026-06-26 12:21:51 +00:00
README.md feat: Release Skills Renaming by domain first convention @W-23187998@ 2026-06-26 12:21:51 +00:00
SKILL.md feat: Release Skills Renaming by domain first convention @W-23187998@ 2026-06-26 12:21:51 +00:00

platform-soql-query

Salesforce SOQL query generation, optimization, and analysis skill with 100-point scoring. Convert natural language into performant SOQL and validate queries for security, selectivity, and governor-limit awareness.

Features

  • Natural Language to SOQL: Convert requests into executable queries
  • Query Optimization: Improve selectivity, LIMIT usage, and field selection
  • Relationship Queries: Parent-child, child-parent, and polymorphic patterns
  • Security Guidance: WITH USER_MODE, WITH SECURITY_ENFORCED, and Apex-safe usage
  • 100-Point Scoring: Performance, correctness, security, and readability checks

Quick Start

1. Invoke the skill

Skill: platform-soql-query
Request: "Find Accounts with open Opportunities created this quarter"

2. Typical use cases

  • Generate SOQL from plain-English requirements
  • Optimize slow or non-selective queries
  • Build aggregates and relationship queries
  • Validate queries before using them in Apex or CLI workflows

Documentation

  • platform-data-manage - For data creation/import/export workflows
  • platform-apex-generate - For inline SOQL inside Apex code
  • platform-apex-test-run - For validating query behavior in tests