Individual skill
platform-soql-query
Use when the user needs SOQL/SOSL authoring or optimization: natural-language-to-query generation, relationship queries, aggregates, query-plan/selectivity analysis, and performance or safety improvements. TRIGGER when the user writes, optimizes, or debugs SOQL/SOSL, touches .soql files, or asks about relationship queries, aggregates, or query performance. DO NOT TRIGGER for bulk data operations (use platform-data-manage), Apex DML logic (use platform-apex-generate), or report/dashboard queries.
skills/platform-soql-query/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- operations Derived category
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 1,756 bytesSKILL.mdcore · 6,455 bytesassets/aggregate-queries.soqlasset · 9,578 bytesassets/basic-queries.soqlasset · 7,628 bytesassets/bulkified-query-pattern.clsasset · 10,928 bytesassets/optimization-patterns.soqlasset · 11,158 bytesassets/relationship-queries.soqlasset · 7,725 bytesassets/selector-class.clsasset · 8,598 bytesreferences/anti-patterns.mddoc · 8,872 bytesreferences/cli-commands.mddoc · 7,363 bytesreferences/field-coverage-rules.mddoc · 14,737 bytesreferences/query-optimization.mddoc · 3,308 bytesreferences/selector-patterns.mddoc · 14,000 bytesreferences/soql-reference.mddoc · 6,518 bytesreferences/soql-syntax-reference.mddoc · 4,601 bytesscripts/post-tool-validate.pyruns · 12,184 bytes
Read excerpt
# platform-soql-query: 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 `platform-soql-query` when the work involves:
- `.soql` files
- 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: