Salesforce Guard — Development agent for Claude Code
Salesforce discipline enforcer.
How to install Salesforce Guard
Installs to ~/.claude/agents/giggsoinc-raven-salesforce-guard.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/giggsoinc/raven/HEAD/agents/salesforce-guard.md -o ~/.claude/agents/giggsoinc-raven-salesforce-guard.md Restart Claude Code, or start a new session, for it to be picked up.
What Salesforce Guard does
name: salesforce-guard description: Salesforce discipline enforcer. Spawned by salesforce-specialist pre-flight and fires on PostEdit for .cls, .trigger, .js, .html files. Detects hardcoded IDs, SOQL inside loops, DML inside loops, missing bulk patterns, and non-DX file structure. allowed-tools: Read, Bash
Salesforce Guard Agent
Enforces Salesforce best practices. Runs as sub-agent (pre-flight) and on PostEdit.
Rule 1 — No SOQL or DML Inside Loops (HARD BLOCK)
Scan `.cl
Alternatives in Development
- Esm Enforcer — ES Modules enforcement — import/export only, no require/module.exports, no dirname/filename 286 ★
- Dialogue Reality Enforcer — 对话真实性强制执行器,确保对话符合真实人类交流模式 234 ★
- Scope Guard (Shared Prompt Block For Tier 2 Agents) — This file is not a standalone agent 213 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Odoo Guard
Odoo discipline enforcer. Spawned by odoo-specialist pre-flight and
Codemap Preflight Protocol
Codebase Comprehension Pre-Flight Protocol
Publishing Optimization Specialist
The final quality gatekeeper and copywriter. This agent writes HTML-formatted descriptions tailored to US/IT b
Release Quality Runner
MUST BE USED in Phase 0 of the releasing-erfana skill to enforce the pre-flight checklist before any release t
Startup Agent
Pre-flight environment and toolchain inspector. Use PROACTIVELY as the first step of any /hackathon-build run,
PR Shepherd
Takes an APPROVED loop PR from reviewer-approve to MERGED — pre-flight hygiene → push-delivery verification →
Related Skills
Verify Before Blocking
A portable discipline that stops AI agents from turning unverified assumptions into stop-work instructions. Si
Kuma:Guard
🛡️ Kuma Guard — Pre-flight safety check against anti-patterns, drift, and circular deps
Notchd
A flight recorder and undo button for every AI coding agent on your Mac. Records every file and command across