Sf Datacloud
Jaganpro/sf-skills
Salesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows.
Creates Salesforce Apex selector classes using the SOQL Lib selector pattern.
$ npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install beyond-the-cloud-dev/soql-lib soql-lib-selector --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/beyond-the-cloud-dev/soql-lib.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/soql-lib-selector .claude/skills/soql-lib-selector && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "soql-lib-selector" agent skill from https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selector into .claude/skills/soql-lib-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "soql-lib-selector", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selectorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install beyond-the-cloud-dev/soql-lib soql-lib-selector --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/beyond-the-cloud-dev/soql-lib.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/soql-lib-selector .agents/skills/soql-lib-selector && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "soql-lib-selector" agent skill from https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selector into .agents/skills/soql-lib-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "soql-lib-selector", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install beyond-the-cloud-dev/soql-lib soql-lib-selector --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/beyond-the-cloud-dev/soql-lib.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/soql-lib-selector .cursor/skills/soql-lib-selector && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "soql-lib-selector" agent skill from https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selector into .cursor/skills/soql-lib-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "soql-lib-selector", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/beyond-the-cloud-dev/soql-lib.git --path .cursor/skills/soql-lib-selector--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install beyond-the-cloud-dev/soql-lib soql-lib-selector --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/beyond-the-cloud-dev/soql-lib.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/soql-lib-selector .gemini/skills/soql-lib-selector && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "soql-lib-selector" agent skill from https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selector into .gemini/skills/soql-lib-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "soql-lib-selector", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install beyond-the-cloud-dev/soql-lib soql-lib-selectorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/beyond-the-cloud-dev/soql-lib.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/soql-lib-selector .github/skills/soql-lib-selector && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "soql-lib-selector" agent skill from https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selector into .github/skills/soql-lib-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "soql-lib-selector", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install beyond-the-cloud-dev/soql-lib soql-lib-selector --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/beyond-the-cloud-dev/soql-lib.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/soql-lib-selector .opencode/skills/soql-lib-selector && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "soql-lib-selector" agent skill from https://github.com/beyond-the-cloud-dev/soql-lib/tree/main/.cursor/skills/soql-lib-selector into .opencode/skills/soql-lib-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "soql-lib-selector", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
soql-lib-selectorCreates Salesforce Apex selector classes using the SOQL Lib selector pattern.
Soql Lib Selector is an agent skill from beyond-the-cloud-dev/soql-lib. Creates Salesforce Apex selector classes using the SOQL Lib selector pattern. Covers class declaration (extends SOQL, implements SOQL.Selector), constructor defaults, static query() factory, domain-specific filter methods, naming conventions (SOQL<ObjectName), and call-site patterns. Use when creating a new selector class, adding filter methods to an existing selector, or when asked how to encapsulate SOQL queries in a reusable class.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Sales & Support, covering CRM management. It works with Salesforce. The repository describes itself as: The SOQL Lib provides functional constructs for SOQL queries in Apex. The licence is MIT.
Read from SKILL.md and the folder at commit cc06784. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are apex).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Soql Lib Selector loads about 2k tokens when it runs. Until then it costs about 115 tokens; SKILL.md has 138 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from beyond-the-cloud-dev/soql-lib at commit cc06784, republished under its MIT licence (© beyond-the-cloud-dev). 138 words, ~2,028 tokens.
.claude/skills/soql-lib-selector/SKILL.md (or your agent's skills folder).A selector is a dedicated Apex class that encapsulates all queries for one SObject. It extends SOQL, implements SOQL.Selector, and exposes domain-specific filter methods.
| Rule | Value |
|---|---|
| Class name | SOQL_<ObjectApiName> |
| Sharing keyword | inherited sharing |
| Extends | SOQL |
| Implements | SOQL.Selector |
| Constructor visibility | private |
| Mock ID constant | @TestVisible private static final String MOCK_ID = 'SOQL_<ClassName>' |
| Filter method return type | The selector class (e.g. SOQL_Account), not Queryable |
| Default security | .systemMode().withoutSharing() in constructor |
private SOQL_Account() {
super(Account.SObjectType); // 1. required
with(Account.Id, Account.Name); // 2. default SELECT fields
systemMode(); // 3. ignore FLS in selector layer
withoutSharing(); // 4. sharing enforced at service layer
mockId(MOCK_ID); // 5. enable unit test mocking
}// Equality
public SOQL_Account byType(String type) {
whereAre(Filter.with(Account.Type).equal(type));
return this;
}
// Null-safe — filter skipped when value is null
public SOQL_Account byIndustry(String industry) {
whereAre(Filter.with(Account.Industry).equal(industry).ignoreWhen(industry == null));
return this;
}
// IN
public SOQL_Account byOwnerIds(Set<Id> ownerIds) {
whereAre(Filter.with(Account.OwnerId).isIn(ownerIds));
return this;
}
// Boolean
public SOQL_Account activeOnly() {
whereAre(Filter.with(Account.IsActive__c).isTrue());
return this;
}
// Date literal
public SOQL_Opportunity closingThisMonth() {
whereAre(Filter.with(Opportunity.CloseDate).equal('THIS_MONTH').asDateLiteral());
return this;
}
// Range
public SOQL_Opportunity aboveAmount(Decimal minAmount) {
whereAre(Filter.with(Opportunity.Amount).greaterOrEqual(minAmount));
return this;
}
### Calling the selector
Selector filter methods always should be called first, then SOQL Lib overrides.
```apex
// Basic
List<Account> accounts = SOQL_Account.query().toList();
// Chained filters
List<Account> accounts = SOQL_Account.query()
.byType('Customer')
.byIndustry('Technology')
.with(Account.Phone)
.toList();
// Add extra fields beyond constructor defaults
List<Account> accounts = SOQL_Account.query()
.with(Account.BillingCity, Account.Phone)
.toList();
// Override security ad-hoc (e.g. from a controller)
List<Account> accounts = SOQL_Account.query()
.userMode()
.toList();
// Top-level OR logic between selector filters
List<Account> accounts = SOQL_Account.query()
.byIndustry('IT')
.byRecordType('Partner')
.anyConditionMatching()
.toList();
// Map result
Map<Id, Account> accountMap = (Map<Id, Account>) SOQL_Account.query()
.byIds(accountIds)
.toMap();
// Single record (null-safe)
Account acc = (Account) SOQL_Account.query()
.byId(accountId)
.toObject();
// Extract single field value
String industry = (String) SOQL_Account.query()
.byId(accountId)
.toValueOf(Account.Industry);
// Extract IDs of a related field
Set<Id> ownerIds = SOQL_Account.query().toIdsOf(Account.OwnerId);public inherited sharing class SOQL_Account extends SOQL implements SOQL.Selector {
@TestVisible
private static final String MOCK_ID = 'SOQL_Account';
public static SOQL_Account query() {
return new SOQL_Account();
}
private SOQL_Account() {
super(Account.SObjectType);
with(Account.Id, Account.Name);
systemMode();
withoutSharing();
mockId(MOCK_ID);
}
public SOQL_Account byType(String type) {
whereAre(Filter.with(Account.Type).equal(type));
return this;
}
public SOQL_Account byOwnerId(Id ownerId) {
whereAre(Filter.with(Account.OwnerId).equal(ownerId));
return this;
}
}public inherited sharing class SOQL_Opportunity extends SOQL implements SOQL.Selector {
@TestVisible
private static final String MOCK_ID = 'SOQL_Opportunity';
public static SOQL_Opportunity query() {
return new SOQL_Opportunity();
}
private SOQL_Opportunity() {
super(Opportunity.SObjectType);
with(Opportunity.Id, Opportunity.Name, Opportunity.StageName, Opportunity.CloseDate, Opportunity.Amount);
systemMode();
withoutSharing();
mockId(MOCK_ID);
}
public SOQL_Opportunity byStageName(String stageName) {
whereAre(Filter.with(Opportunity.StageName).equal(stageName));
return this;
}
public SOQL_Opportunity byAccountId(Id accountId) {
whereAre(Filter.with(Opportunity.AccountId).equal(accountId).ignoreWhen(accountId == null));
return this;
}
public SOQL_Opportunity byAccountIds(Set<Id> accountIds) {
whereAre(Filter.with(Opportunity.AccountId).isIn(accountIds));
return this;
}
public SOQL_Opportunity closingThisMonth() {
whereAre(Filter.with(Opportunity.CloseDate).equal('THIS_MONTH').asDateLiteral());
return this;
}
public SOQL_Opportunity isOpen() {
whereAre(Filter.with(Opportunity.IsClosed).isFalse());
return this;
}
public SOQL_Opportunity aboveAmount(Decimal minAmount) {
whereAre(Filter.with(Opportunity.Amount).greaterOrEqual(minAmount));
return this;
}
}public inherited sharing class SOQL_Contact extends SOQL implements SOQL.Selector {
@TestVisible
private static final String MOCK_ID = 'SOQL_Contact';
public static SOQL_Contact query() {
return new SOQL_Contact();
}
private SOQL_Contact() {
super(Contact.SObjectType);
with(Contact.Id, Contact.FirstName, Contact.LastName, Contact.Email);
with('Account', Account.Name, Account.Industry);
systemMode();
withoutSharing();
mockId(MOCK_ID);
}
public SOQL_Contact byAccountId(Id accountId) {
whereAre(Filter.with(Contact.AccountId).equal(accountId));
return this;
}
public SOQL_Contact byRecordTypeName(String devName) {
byRecordType(devName);
return this;
}
}public with sharing class ExampleController {
@AuraEnabled
public static List<Contact> getContactsByRecordType(String recordType) {
return SOQL_Contact.query()
.byRecordType(recordType)
.with(Contact.Email, Contact.Title)
.toList();
}
@AuraEnabled
public static List<Account> getAccountsByRecordTypeOrIndustry(String recordType) {
return SOQL_Account.query()
.byIndustry('IT')
.byRecordType(recordType)
.anyConditionMatching()
.with(Account.Industry, Account.AccountSource)
.toList();
}
@AuraEnabled
public static String getAccountIndustry(Id accountId) {
return (String) SOQL_Account.query()
.byId(accountId)
.toValueOf(Account.Industry);
}
}© beyond-the-cloud-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/soql-lib-selector of beyond-the-cloud-dev/soql-lib.
Open the folder on GitHubat commit cc06784
Soql Lib Selector next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Soql Lib Selector this skillbeyond-the-cloud-dev/soql-lib | 154 | — | ~2k | Automated safety check: Pass | MIT | |
| Sf DatacloudJaganpro/sf-skills | 424 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Dev SetupPortwood-Global-Solutions/Portwood | 125 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Sf FlowJaganpro/sf-skills | 424 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Automation Sandbox Post Copy Configureforcedotcom/sf-skills | 1.1k | — | ~5.3k | Automated safety check: Notes | Apache-2.0 | |
| Automation Sandbox Post Copy Configureforcedotcom/sf-skills | 1.1k | — | ~5.4k | Automated safety check: Notes | Apache-2.0 |
Jaganpro/sf-skills
Salesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows.
Portwood-Global-Solutions/Portwood
Get from a fresh clone of Portwood to a working, fully-tested Salesforce org.
Jaganpro/sf-skills
Creates and validates Salesforce Flows with 110-point scoring.
forcedotcom/sf-skills
Apply a Salesforce sandbox post-copy automation JSON config against a target org.
forcedotcom/sf-skills
Apply a Salesforce sandbox post-copy automation JSON config against a target org.
gmapsscraper/google-maps-agent-skills
Export Google Maps business data to CSV, JSON, or CRM format (HubSpot, Pipedrive, Salesforce).
beyond-the-cloud-dev/soql-lib
Builds Salesforce SOQL queries using the SOQL Lib fluent builder API (SOQL.cls).
beyond-the-cloud-dev/soql-lib
Writes unit tests for Salesforce Apex code that uses SOQL Lib (SOQL.cls).
Works with
Categories
Creates Salesforce Apex selector classes using the SOQL Lib selector pattern. Soql Lib Selector is an agent skill from beyond-the-cloud-dev/soql-lib. Creates Salesforce Apex selector classes using the SOQL Lib selector pattern.
Soql Lib Selector fits situations like: creating a new selector class; adding filter methods to an existing selector; asked how to encapsulate SOQL queries in a reusable class.
Run `npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a claude-code`. Or copy the skill folder (.cursor/skills/soql-lib-selector in beyond-the-cloud-dev/soql-lib) into .claude/skills/soql-lib-selector in your project. Claude Code loads it when a task matches its description.
Run `npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a codex`. Or copy the skill folder (.cursor/skills/soql-lib-selector in beyond-the-cloud-dev/soql-lib) into .agents/skills/soql-lib-selector in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add beyond-the-cloud-dev/soql-lib --skill soql-lib-selector -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/soql-lib-selector, .gemini/skills/soql-lib-selector, .github/skills/soql-lib-selector and .opencode/skills/soql-lib-selector in your project.
SKILL.md names no scripts, command-line tools or credentials: Soql Lib Selector is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Soql Lib Selector is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Soql Lib Selector: Sf Datacloud (Jaganpro/sf-skills, 424 stars), Dev Setup (Portwood-Global-Solutions/Portwood, 125 stars), Sf Flow (Jaganpro/sf-skills, 424 stars) and Automation Sandbox Post Copy Configure (forcedotcom/sf-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
beyond-the-cloud-dev (a GitHub organization) maintains it in beyond-the-cloud-dev/soql-lib, which has 154 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 3, 2026.
Source: beyond-the-cloud-dev/soql-lib on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.