forcedotcom avatar

Generating Custom Field

This handles Salesforce custom field metadata generation with a strong focus on the stuff that actually breaks during deployment. It knows the difference between Master-Detail and Lookup relationships, enforces precision and scale rules for numbers, and won't let you add forbidden attributes like `required` or `deleteConstraint` to Master-Detail fields. The spec is opinionated about inline help text and descriptions being mandatory, which will annoy you until you've debugged your third cryptic deployment error. Honestly most useful for roll-up summaries and relationship fields where the metadata constraints are finicky. If you're just making text fields you probably don't need this level of hand-holding, but it'll save you round trips to the Metadata API when working with the complicated types.

skills.sh installs
4K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill generating-custom-field --agent claude-code

Installs into .claude/skills of the current project.

Files

This handles Salesforce custom field metadata generation with a strong focus on the stuff that actually breaks during deployment. It knows the difference between Master-Detail and Lookup relationships, enforces precision and scale rules for numbers, and won't let you add forbidden attributes like `required` or `deleteConstraint` to Master-Detail fields. The spec is opinionated about inline help text and descriptions being mandatory, which will annoy you until you've debugged your third cryptic deployment error. Honestly most useful for roll-up summaries and relationship fields where the metadata constraints are finicky. If you're just making text fields you probably don't need this level of hand-holding, but it'll save you round trips to the Metadata API when working with the complicated types.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Code Review & Quality, Debugging, Sales & Marketing
First seen
Jun 3, 2026

More from forcedotcom/sf-skills

All 158
1softaworks avatargeminisoftaworks/agent-toolkitUse when the user asks to run Gemini CLI for code review, plan review, or big context (>200k) processing. Ideal for comprehensive analysis requiring large conte4Kskills.sh installs
2dotnet avatarcreate-skill-testdotnet/skillsScaffolds eval.yaml evaluation specs for agent skills in the dotnet/skills repository. Use when creating skill tests, writing evaluation stimuli, defining grade4Kskills.sh installs
3giuseppe-trisciuoglio avatarspring-boot-crud-patternsgiuseppe-trisciuoglio/developer-kitProvides and generates complete CRUD workflows for Spring Boot 3 services. Creates feature-focused architecture with Spring Data JPA aggregates, repositories, D4Kskills.sh installs
4inngest avatarinngest-stepsinngest/inngest-skillsUse when implementing delays that must survive process restarts (e.g., 24-hour cart abandonment, scheduled follow-ups), waiting for human approval or external e4Kskills.sh installs
5yaklang avatarapi-recon-and-docsyaklang/hack-skillsAPI reconnaissance and documentation review playbook. Use when discovering endpoints, schemas, versions, OpenAPI specs, hidden docs, and surface area for API te4Kskills.sh installs
6agricidaniel avatarads-dnaagricidaniel/claude-adsExtract a public-safe brand and offer profile for paid advertising from an authorized website and operator input. Triggers on: brand DNA, brand profile, brand i4Kskills.sh installs