gus-cli
Skill1k starsChanged 25 days agoBSD-3-ClauseView on GitHub
Interact with the Gus Salesforce org via CLI (sf). Query, create, update work items; query team epics. Use when user mentions Gus, work items, epics, or GUS/Git2Gus workflows.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about forcedotcom/salesforcedx-vscode
- prettier/prettier-vscode“Couldn't resolve parser "json-stringify"”GitHub · Jun 5, 2018 · 23 reactions
- Stack Overflow“VSCode / Salesforce - Deploy Source to Org very slow to complete, although actual deployment is fast?”Stack Overflow · Jun 26, 2023 · 4 votes
- xixiaofinland/sf.nvim“Debugging functionality”GitHub · Oct 1, 2024 · 3 reactions
- EclipseFdn/open-vsx.org“Claiming namespace salesforce”GitHub · May 3, 2023 · 2 reactions
- forcedotcom/salesforcedx-apex“fix: set correct exit codes on failure”GitHub · Apr 23, 2021 · 2 reactions
The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 52
Talked about on GitHub and Stack Overflow (52 times).
On GitHub · 50
- Jun 5, 2018Couldn't resolve parser "json-stringify" — prettier/prettier-vscode23 reactions · 6 comments
- Oct 1, 2024Debugging functionality — xixiaofinland/sf.nvim3 reactions · 14 comments
- May 3, 2023Claiming namespace salesforce — EclipseFdn/open-vsx.org2 reactions · 21 comments
- Apr 23, 2021fix: set correct exit codes on failure — forcedotcom/salesforcedx-apex2 reactions
- Sep 11, 2024E2E tests fail in VSCode version 1.93.0 with "target window already closed" when running "Developer: Reload Window" — webdriverio-community/wdio-vscode-service1 reaction · 11 comments
45 more on GitHub
- Sep 30, 2020Trigger completions on specific characters — forcedotcom/lightning-language-server1 reaction · 2 comments
- Jun 25, 2019Source commands do not display error information — forcedotcom/cli1 reaction · 34 comments
- Aug 27, 2018Inform extensions that call 'vscode.openFolder' with file URIs created with URI.parse — microsoft/vscode1 reaction
- Aug 3, 2017Show externalised strings in extension editor contributions tab — microsoft/vscode1 reaction · 8 comments
- Nov 6, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 5 updates — certinia/debug-log-analyzer0 reactions
- Nov 5, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: 68.8.0 → 68.10.0 — sudosubin/agents.nix0 reactions
- Nov 5, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 4 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Nov 4, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 68.8.0 → 68.10.0 — sudosubin/agents.nix0 reactions
- Nov 4, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 2 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 29, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: 68.6.1 → 68.8.0 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 68.6.1 → 68.8.0 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 68.6.0 → 68.6.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: 68.6.0 → 68.6.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026build(deps-dev): bump @salesforce/playwright-vscode-ext from 1.7.0 to 1.7.1 in the development-dependencies group across 1 directory — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 26, 2026build(deps-dev): bump @salesforce/playwright-vscode-ext from 1.7.0 to 1.7.1 in the development-dependencies group across 1 directory — certinia/debug-log-analyzer0 reactions · 2 comments
- Oct 22, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 10 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 21, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: 68.4.0 → 68.6.0 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 68.4.0 → 68.6.0 — sudosubin/agents.nix0 reactions
- Oct 21, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 8 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 19, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 7 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 16, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: 68.2.0 → 68.4.0 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 68.2.0 → 68.4.0 — sudosubin/agents.nix0 reactions
- Oct 16, 2026build(deps-dev): bump @salesforce/vscode-services from 67.20.0 to 67.27.5 — forcedotcom/apex-language-support0 reactions · 2 comments
- Oct 16, 2026feat(git): replace isomorphic-git with Effect Git - W-22711959 — forcedotcom/source-tracking0 reactions · 3 comments
- Oct 16, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 4 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 14, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 2 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 14, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: 67.26.0 → 68.2.0 — sudosubin/agents.nix0 reactions
- Oct 13, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 67.26.0 → 68.2.0 — sudosubin/agents.nix0 reactions
- Oct 12, 2026build(deps-dev): bump @salesforce/vscode-services from 67.26.0 to 67.27.1 in the development-dependencies group — certinia/debug-log-analyzer0 reactions · 1 comment
- Oct 4, 2026claude-code-plugins.github.forcedotcom.salesforcedx-vscode: init at 67.26.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: 67.20.0 → 67.26.0 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.forcedotcom.salesforcedx-vscode: init at 67.20.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026build(deps-dev): bump @salesforce/vscode-services from 67.17.18 to 67.20.0 — forcedotcom/apex-language-support0 reactions · 1 comment
- Sep 24, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 16 updates — certinia/debug-log-analyzer0 reactions
- Sep 18, 2026build(deps-dev): bump @salesforce/vscode-services from 67.15.0 to 67.17.4 — forcedotcom/apex-language-support0 reactions · 1 comment
- Sep 17, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 14 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Sep 11, 2026build(deps-dev): bump the development-dependencies group across 1 directory with 9 updates — certinia/debug-log-analyzer0 reactions · 1 comment
- Aug 28, 2026build(deps-dev): bump @salesforce/vscode-services from 67.10.0 to 67.13.3 — forcedotcom/apex-language-support0 reactions
- Aug 24, 2026Use Org Metadata Catalog for find-missing-artifact org lookups - W-23971749 — forcedotcom/apex-language-support0 reactions · 3 comments
- Aug 21, 2026build(deps-dev): bump @salesforce/vscode-services from 67.7.1 to 67.10.0 — forcedotcom/apex-language-support0 reactions
- Aug 19, 2026feat: export stdValueSetRegistry.json from main index.ts to be called properly outside this repo - W-23802414 — forcedotcom/source-deploy-retrieve0 reactions
- Jul 31, 2026build(deps-dev): bump @salesforce/vscode-services from 67.6.0 to 67.7.1 — forcedotcom/apex-language-support0 reactions
- Jul 24, 2026build(deps): bump @salesforce/vscode-i18n from 66.7.1 to 66.8.0 — forcedotcom/apex-language-support0 reactions
- Jul 8, 2026Support new SFDX: Create OpenAPI Document from This Class (Beta) — RoseSilverSoftware/IlluminatedCloud0 reactions
- Jul 8, 2026Agentforce for Developers inline autocompletion not working (temporary Salesforce API regression) — RoseSilverSoftware/IlluminatedCloud0 reactions
On Stack Overflow · 2
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/doc-maintenance.mdcCursor rule
- .cursor/rules/verification.mdcCursor rule
- .cursor/rules/wireit.mdcCursor rule
- vscode-extension-launchSkill
- announce-prereleaseSkill
- backlog-groomingSkill
- changelogSkill
- command-uiSkill
- conciseSkill
- core-extension-apiSkill
- dependabot-alertsSkill
- drivable-vscodeSkill
- effect-best-practicesSkill
- external-consumersSkill
- feature-branchSkill
- grill-meSkill
- i18n-messagesSkill
- icons-srcSkill
- lit-componentsSkill
- lit-webview-architectureSkill
- lit-webview-testingSkill
- lsp-custom-requestsSkill
- merge-conflictsSkill
- packageJsonSkill
- patch-releaseSkill
- pathsSkill
- playwright-e2eSkill
- pr-draftSkill
- query-app-insightsSkill
- releaseSkill
- services-extension-consumptionSkill
- shipped-issuesSkill
- span-file-exportSkill
- thermo-nuclear-code-quality-reviewSkill
- ts1261-filename-casingSkill
- ts4023-effect-errorsSkill
- typescriptSkill
- verificationSkill
- vscode-elements-webviewsSkill
- vscode-window-messagesSkill
- web-console-local-tracesSkill
- wireitSkill
- work-item-sequencingSkill
- changelog-judgmentSkill
- manual-test-plan-judgmentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Draft format: Use bullet list, not markdown table (tables can render blank in some viewers).
- Very specific: line 17
Only run sf data create record / sf data update record after user says yes (or equivalent)
- Distinctive: line 19
Epic selection: when less than 50% sure which epic a work item belongs in, ask the user
- Very specific: line 24
Run sf alias list --json; parse result for alias matching gus (case-insensitive)
- Very specific: line 25
If missing: instruct user sf org login web -a gus
- Very specific: line 26
All commands use -o gus
- Distinctive: line 37
Not in table → caller's error.
- Distinctive: line 52
Always use User Story RecordTypeId: Never create Bug records. If user describes a bug/repro, still create it as a User Story.
- Very specific: line 101
Sequencing prefix: When planning an epic or when the user states a dependency, prefix Subject__c with a sequence number + space (e.g.
- Distinctive: line 123
Use to pick the right Epic\_\_c when creating work.
- Distinctive: line 146
When unsure which epic: ask the user.
- Very specific: line 152
Add only on explicit user request.
- Very specific: line 156
Keep any sequencing prefix at the front: 1 Upgrade Tabulator [forcedotcom/salesforcedx-vscode] [ai-auto]
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gus CLI
Interact with Gus (Salesforce Agile Accelerator org) via sf CLI. Requires alias gus in sf alias list.
Safety
- Queries (sf data query, sf alias list): run without asking
- Writes (create, update): do not execute until user explicitly confirms
- Present the draft (subject, epic, details, assignee). Ask: "Create this work item?" or "Update work item X?"
- Draft format: Use bullet list, not markdown table (tables can render blank in some viewers). Put Details__c in a code block so HTML content is visible.
- Only run
sf data create record/sf data update recordafter user says yes (or equivalent) - Answering scope questions (e.g. "just createProject") is not confirmation—still ask
- Epic selection: when less than 50% sure which epic a work item belongs in, ask the user
- IDs vs Names:
Id(e.g.a07...) is for CLI commands.Name(e.g.W-12345) is for human display and PR titles appended as- W-12345at the end per pr-draft Title format. NEVER useIdin PR titles or descriptions. Always queryNameafter creation.
Prerequisites
- Run
sf alias list --json; parseresultfor alias matchinggus(case-insensitive) - If missing: instruct user
sf org login web -a gus - All commands use
-o gus
Runner identity
Cache: $HOME/.claude/runner-identity.json — {userId, username, ownerPrefix, slackId, githubLogin}.
sf alias list --json→ entry/^gus$/i. Missing →sf org login web -a gus. Value =currentUsername.- Cache hit (file exists, all 5 fields,
cached.username === currentUsername) → use it. - Miss → resolve:
sf data query --query "SELECT Id FROM User WHERE Username = '<currentUsername>' LIMIT 1" -o gus --result-format json→userId- Match
currentUsernameto ## Team members row →githubLogin,slackId.ownerPrefix= initials lowercase (Shane McLaughlin→sm; one-word → first 2 chars). - Not in table → caller's error.
mkdir -p $HOME/.claude && write JSON.
Invalidate: alias change auto-detects. Manual: rm $HOME/.claude/runner-identity.json.
Same session: reuse conversation value; don't re-read.
Constants
| Constant | Value |
| Team ID | a00B0000000w9xPIAQ |
| Product Tag | a1aB000000005G3IAI |
| User Story RecordTypeId | 0129000000006gDAAQ |
Always use User Story RecordTypeId. Never create Bug records. If user describes a bug/repro, still create it as a User Story.
Objects: ADM_Work__c, ADM_Epic__c (not ADM_Theme__c).
Team members (Assigneec, QA_Engineerc)
Default when unassigned: Platform Dev Tools Scrum Team 005B0000000GIODIA4 – use when work isn't assigned to a person yet.
| Name | Id | GitHub login | Slack ID |
| Daphne Yang | 005EE000005d0jdYAA | daphne-sfdc | U03CKVATVCY |
| Jonny Hork | 005B0000004pYWjIAM | jonnyhork | WFGT1L8HF |
| Kyle Walker | 005EE0000010oCLYAY | kylewalke | U02GCUGEAUU |
| Madhur Shrivastava | 005EE00000VZK5FYAX | madhur310 | U0852LWKWSW |
| Peter Hale | 005B0000000GFvWIAW | peternhale | WAR9BDB8T |
| Shane McLaughlin | 005B00000024wGBIAY | mshanemc | WB4TF6RFY |
Work items (ADM_Work__c)
Base select: SELECT Id, Name, Subject__c, Status__c, Story_Points__c, Epic__c, RecordType.Name FROM ADM_Work__c
Optional display/detail fields (append to SELECT only for single-WI/triage queries; do NOT add to bulk team/epic queries unless asked—keeps base lean, avoids widening every result set/terminal table):
Priority__c— picklistP0-P4.Epic_Name__c— formula/string; epic name w/oEpic__rjoin. Bulk lists use existingEpic__cid or a separate epic-name lookup (formula evaluated per-row otherwise).Due_Date__c(datetime) +Out_of_SLA__c(boolean) — SLA tracking.- Security trio:
Security__c(label "Locked by Security", boolean),Security_Vulnerability_Category__c(picklist, 30+ values),Security_Source__c(label "Source", picklist, 30+ values—runsf sobject describefor full lists).
Query patterns (combine as needed; use LIMIT on broad queries):
| Filter | WHERE clause |
| Mine | Assignee__c = '<userId>' |
| By status | Status__c = 'In Progress' (or other) |
| By epic | Epic__c = '<epicId>' |
| Unpointed | Story_Points__c = null |
| Team's open | Scrum_Team__c = 'a00B0000000w9xPIAQ' AND Status__c IN (<open list>) |
| Epic + open | Epic__c = '<epicId>' AND Status__c IN (<open list>) |
Open/unfinished filters use the WHITELIST Status__c IN (<open list>), never NOT IN (<terminal>) — the open list + why a blacklist leaks legacy terminals (incl. the Bug-no-fix set) live in statuses.md. Use LIMIT 50 (or 100) when querying team or epic work.
Body fields (Details__c vs Details_and_Steps_to_Reproduce__c)
The validated User Story body is Details__c. Three rules, one place:
- ≥20 chars required.
Details__c(field label "Description") has a User Story validation rule: <20 chars → create fails withDescription must be at least 20 characters to submit a User Story. Despite docs marking it optional, treat as required on create. - Don't confuse with
Description__c— a DIFFERENT field (label "Comment", unvalidated). The validated body isDetails__c. - Bug records store the body in
Details_and_Steps_to_Reproduce__c(richtextarea), notDetails__c. Querying onlyDetails__cmisses Bug/PVR content, and a nullDetails__con a Bug record ≠ under-specified. Single-WI fetch of unknown/mixed record type →SELECTboth, use whichever is populated.
Sequencing prefix: When planning an epic or when the user states a dependency, prefix Subject__c with a sequence number + space (e.g. 1.2 Add config loader). See work-item-sequencing. Optional — skip for independent work.
Create & update → writes.md
sf data create/update record has real traps — -v/--flags-dir incompatibility, space-splitting that truncates multi-word values, HTML-only Details__c, href-stripping, and silent wrong-Id overwrites. The create-then-update recipe, formatting, and verify-Id steps live in writes.md. Read it before any write.
Epics (ADM_Epic__c)
Creating an epic or bulk-creating its work items → epics.md (fields, Scheduled_Build__c, the Details__c ≥20-char + CLI-warning-breaks-JSON gotchas, bulk-create loop).
Query team epics (exclude closed):
sf data query --query "SELECT Id, Name, Description__c FROM ADM_Epic__c WHERE Team__c = 'a00B0000000w9xPIAQ' AND Health__c NOT IN ('Completed', 'Canceled')" -o gus --result-format jsonClosed = Health__c in ('Completed', 'Canceled'). Use Description__c when populated to match work to epic.
Description__c is not filterable in SOQL — WHERE/LIKE on it errors field 'Description__c' can not be filtered in a query call. To match an epic by text, fetch all open epics and match on Name, or post-filter Description__c client-side (e.g. with jq). Only SELECT it.
Epic guide: which work items go where
Use to pick the right Epic__c when creating work. Query epics first; match by Name/Description. Key epics:
IDEx - Mandates and Updates a3QEE0000023Fm92AE
- Compliance, VSCode extensions major release, library/dependency upgrades (sfdx-core, Apex LS, etc.)
- Security/compliance work; keeping extensions on latest core features
IDEx - Trust a3QEE0000023FPZ2A2
- Customer investigations, bugs, trust backlog
effect services improvements a3QEE0000026sJ72AI
- Shared Effect library; common effect things that aren't runtime services
TDX 262 epics (Code Builder Web, CBLite, Org Browser on Web, LWC on web, Apex Testing Extension, etc.)
- Web IDE compatibility; running extensions in browser
Backlog epics (IDE Exp - Core, Extensions, LWC & Aura, etc.)
- Feature-area backlogs; use Name to match
When unsure which epic: ask the user.
[ai-auto] tag
[ai-auto] in Subject__c opts a WI into the auto-build-wi workflow (claim → plan → build → review → draft PR). See workflows/README.md.
- Add only on explicit user request; only
Subject__c(title), neverDetails__c - Skip for WIs needing design/coordination
- End the subject with the bracketed repository slug, then
[ai-auto]:<subject> [owner/repo] [ai-auto] - Derive
owner/repofrom the target repository's git remote; example:Upgrade Tabulator [forcedotcom/salesforcedx-vscode] [ai-auto] - Keep any sequencing prefix at the front:
1 Upgrade Tabulator [forcedotcom/salesforcedx-vscode] [ai-auto] - Query:
Subject__c LIKE '%[ai-auto]%'
Compound workflows
Non-obvious defaults only — assemble the mechanical steps from the sections above.
Create a WI from this PR — Subject from PR title, Details = PR link + concise bullets, RecordTypeId always User Story (0129000000006gDAAQ, even for bug-like issues). Epic default: IDEx - Trust (a3QEE0000023FPZ2A2) for bug-like issues unless context says otherwise. Then create + provide link per writes.md.
What's unfinished in this epic — query Epic__c = '<epicId>' AND Status__c IN (<open list>) (whitelist per statuses.md), LIMIT 100, present as a table. If any Subject__c carries a sequence-number prefix (1, 1.2, …), compute ready/blocked per work-item-sequencing instead of a flat list — "what's ready / unblocked in this epic?" routes there.
Status__c values
Full picklist, flow, and terminal lists → statuses.md.
For create/update use only: New, In Progress, Ready for Review, QA In Progress, Fixed, Waiting, Closed. Complete a WI → Closed. Mark a duplicate → Status__c='Duplicate' + Related_Work__c (NOT Closed - Duplicate, which a trigger reverts).
Open queries: WHITELIST, never blacklist
"Open/unfinished" queries MUST use Status__c IN (<open list>), not NOT IN (<terminal>) — a blacklist leaks legacy terminals (Closed-U/Ftest, Tested, the Bug-no-fix set) absent from the current picklist. The open list lives in statuses.md.
CLI tips
--jsonfor parseable output (not--result-format json)- Parse with
jq, not python sf data create record/sf data update recordfor single-record writes- Aggregate (
COUNT/GROUP BY) can't paginate — noqueryMore, hard cap 200 rows. ErrorsAggregate query does not support queryMore()past that. Always addLIMIT, and scope (e.g.Epic__c IN (...)) so the group set stays ≤200. Plain (non-aggregate)SELECTalso returns one 200-row batch per call via the CLI — for full sets, filter narrower or page, don't assume one query returns everything. - Salesforce Ids come in 15-char (case-sensitive) and 18-char (case-insensitive) forms — same record. A lookup field (
Epic__c) and the parent'sIdmay differ in length across queries. Match on the first 15 chars (id[0:15]), never raw string equality. - Field aliasing is aggregate-only.
SELECT Name n FROM ...on a plain query errorsonly aggregate expressions use field aliasing. Alias onlyCOUNT()/GROUP BYselects; for plain selects use the full path (Development_Lead__r.Name) and read it by that key in jq.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

