querying-soql
Originally fromforcedotcom/sf-skills
Installation
SKILL.md
querying-soql: Salesforce SOQL Query Expert
Use this skill when the user needs SOQL/SOSL authoring or optimization: natural-language-to-query generation, relationship queries, aggregates, query-plan analysis, and performance/safety improvements for Salesforce queries.
When This Skill Owns the Task
Use querying-soql when the work involves:
.soqlfiles- query generation from natural language
- relationship queries and aggregate queries
- query optimization and selectivity analysis
- SOQL/SOSL syntax and governor-aware design
Delegate elsewhere when the user is:
- performing bulk data operations → handling-sf-data
- embedding query logic inside broader Apex implementation → generating-apex
- debugging via logs rather than query shape → debugging-apex-logs