Salesforce Skills for Agentic Coding Tools
💙 Community-powered agentic coding knowledge, shared by a Salesforce Certified Technical Architect (CTA)

A collection of reusable skills for Agentic Salesforce Development, enabling AI-powered code generation, validation, testing, debugging, and deployment. Built for Claude Code with planned support for other agentic coding tools.
16 skills • 60+ templates • 520+ validation points • LSP integration
💡 What is a Skill?
Skills are portable knowledge packs that supercharge AI coding agents with domain expertise.
Think of skills as "installable superpowers" for your agentic coding tool. Instead of repeatedly explaining Salesforce best practices to your AI assistant, a skill pre-loads that knowledge so the AI becomes an instant expert.
sf-apex/
├── SKILL.md # 🧠 The brain - prompts & instructions
├── templates/ # 📁 Code templates & patterns
├── hooks/ # ✅ Validation scripts
└── examples/ # 📖 Usage examples
💡 Tip: Skills are open-source and composable. You can fork, customize, or create your own!
Why Use Skills?
🚀 Stop explaining Salesforce patterns. Start building.
1. Instant Expertise — AI knows Trigger Actions Framework, Flow bulkification, deployment best practices from the first message.
2. Automatic Validation — Every Apex class, Flow, and agent script is scored against 100-150 point rubrics. Catch anti-patterns before deployment.
3. Built-in Templates — 50+ production-ready templates across Apex, Flow, Metadata, Agentforce, and more.
4. Tool Orchestration — "Deploy to production" becomes a single command. Skills handle sf CLI complexity.
5. Context Efficiency — Skills load only when invoked, saving ~2000 tokens per conversation vs. pasting prompts.
| Before | After |
|---|
| ❌ Prompt engineering every conversation | ✅ Skill(skill="sf-apex") |
| ❌ 10+ messages to explain requirements | ✅ 1 message, skill fills the gaps |
| ❌ Review code manually for issues | ✅ Hooks validate on every save |
🤖 Supported Agentic Coding Tools
| Tool | Status | Install Path | |
|---|
| Claude Code CLI | ✅ Full Support | .claude-plugin/ |  |
| OpenCode CLI | ✅ Installer | .opencode/skill/ |  |
| Codex CLI | ✅ Installer | .codex/skills/ |  |
| Gemini CLI | ✅ Installer | ~/.gemini/skills/ |  |
| Amp CLI | ✅ Compatible | .claude/skills/ |  |
| Droid CLI | ✅ Installer | .factory/skills/ |  |
| Cursor CLI | ✅ Installer | .cursor/rules/ |  |
| Agentforce Vibes | ✅ Installer | .clinerules/ |  |
Agent Skills Open Standard: These skills follow the Agent Skills specification for cross-CLI compatibility.
CLI Compatibility Notes
🤝 Call for Volunteers! This repo is community-driven, sharing knowledge to strengthen the Salesforce ecosystem. We need volunteers to test skills on different CLIs (OpenCode, Codex, Gemini, Cursor, etc.). You'll learn a ton about agentic workflows while helping the community! Open an issue to get started.
Claude Code (Anthropic) — Full Native Support
Claude Code is the recommended platform for sf-skills with full native support for all features.
# Install via marketplace
/plugin marketplace add Jaganpro/sf-skills
- Install Path:
.claude-plugin/ (per-skill plugin structure)
- Format: Native SKILL.md with hooks, templates, and examples
- Hooks: ✅ Automatic validation on Write/Edit operations
- LSP: ✅ Real-time syntax validation with auto-fix loops
- Templates: ✅ Referenced dynamically (no duplication)
- Tool Execution: Local tools (Read, Write, Edit, Bash, Grep, Glob) — no MCP overhead
- Docs: claude.ai/code