nadolskimm-max/sf-skills/sf-api-design
Claude Code and agent skill by nadolskimm-max/sf-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Designs and implements custom REST and SOAP APIs exposed from Salesforce using @RestResource, @HttpGet, @WebService, and Composite API patterns. Use when building custom endpoints, designing API contracts, versioning APIs, or creating Composite/Batch request handlers. Do NOT use for outbound callouts (use sf-integration) or Connected App OAuth (use sf-connected-apps).
Install
npx vskill@latest install nadolskimm-max/sf-skills/sf-api-designSKILL.md
The same SKILL.md was published earlier as nadolskimm-max/sf-skills/sf-api-design.
Custom API Design
Core Responsibilities
- Create custom REST endpoints with
@RestResource - Build SOAP web services with
@WebService - Design request/response contracts with proper error handling
- Implement API versioning strategies
- Use standard REST/Composite/Batch APIs effectively
Custom REST API
Basic Endpoint
Endpoint URL
Standard REST API Patterns
Composite API (up to 25 subrequests)
Batch API (up to 25 independent requests)
API Design Best Practices
| Practice | Detail | |
|---|---|---|
| Always return JSON with consistent structure | { success, data, error } | |
| Use proper HTTP status codes | 200, 201, 204, 400, 401, 404, 500 | |
Enforce WITH SECURITY_ENFORCED | Every query in API endpoints | |
| Validate input before DML | Check required fields, types | |
Use global access modifier | Required for @RestResource | |
Set Content-Type header | application/json | |
| Version your URL | /api/v1/invoices vs /api/v2/invoices |
Cross-Skill References
- For outbound callouts: see sf-integration
- For OAuth authentication: see sf-connected-apps
- For Apex patterns: see sf-apex
- For testing REST endpoints: see sf-testing
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sf-api-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nadolskimm-max/sf-skills/sf-api-design)