
Querying Soql
This is a focused SOQL authoring and optimization skill that turns natural language into Salesforce queries, handles relationship traversals and aggregates, and scores your output on a 100-point scale. It covers child-to-parent queries, subqueries, selectivity analysis, and governor-aware design. You'd reach for this when writing .soql files or debugging query performance, not when running bulk data operations or embedding queries in broader Apex logic (it delegates those). The workflow is sensible: generate the simplest correct query first, pick the right shape for your data pattern, then optimize for indexes and selective filters. It knows when to hand off execution to other skills and comes with reference files for syntax, anti-patterns, and selector layer patterns.
- skills.sh installs
- 3K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill querying-soql --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is a focused SOQL authoring and optimization skill that turns natural language into Salesforce queries, handles relationship traversals and aggregates, and scores your output on a 100-point scale. It covers child-to-parent queries, subqueries, selectivity analysis, and governor-aware design. You'd reach for this when writing .soql files or debugging query performance, not when running bulk data operations or embedding queries in broader Apex logic (it delegates those). The workflow is sensible: generate the simplest correct query first, pick the right shape for your data pattern, then optimize for indexes and selective filters. It knows when to hand off execution to other skills and comes with reference files for syntax, anti-patterns, and selector layer patterns.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Debugging, Productivity & Planning, Sales & Marketing
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Debugging Apex Logs3K
- Deploying Metadata3K
- Fetching Salesforce Docs3K
- Running Apex Tests3K
- Handling Sf Data2.9K
- Building Sf Integrations2.9K
- Generating Mermaid Diagrams2.8K
- Configuring Connected Apps2.8K
- Generating Visual Diagrams2.8K
- Getting Datacloud Schema2.6K
- Developing Datacloud Code Extension2.5K
- Retrieving Datacloud2.5K
- Connecting Datacloud2.5K
- Activating Datacloud2.5K
- Harmonizing Datacloud2.5K
- Orchestrating Datacloud2.5K
- Preparing Datacloud2.5K
- Segmenting Datacloud2.5K
- Deploying Omnistudio Datapacks2.4K
- Building Omnistudio Integration Procedure2.4K
- Building Omnistudio Callable Apex2.4K
- Building Omnistudio Omniscript2.4K
- Building Omnistudio Datamapper2.4K
- Building Omnistudio Flexcard2.4K