sf-metadata

Generate and validate Salesforce metadata XML with permission-set FLS generation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dcinzona/folios --skill sf-metadata-dcinzona
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-metadata
Source: https://github.com/dcinzona/folios/tree/main/.agents/skills/sf-metadata
Command: npx skills add https://github.com/dcinzona/folios --skill sf-metadata-dcinzona

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Creates, validates, and documents Salesforce metadata so teams can define schema locally, avoid post-deploy surprises, and ensure field-level security is addressed before deployment.

Core Features & Use Cases

  • Metadata generation: Templates and assets to produce custom object, field, picklist, record type, layout, validation rule, and permission set XML.
  • Org querying: Guidance and CLI patterns to describe objects and list metadata using the sf CLI for discovery and comparisons.
  • Quality assurance: 120-point scoring validator and permission-set auto-generator to detect naming, security, and deployment issues and produce FLS follow-up by default.
  • Orchestration: Clear handoff patterns to sf-flow, sf-deploy, and sf-data for multi-skill workflows and safe deployment sequencing.

Quick Start

Generate object and field XML for an Invoice__c object, run the validator, and produce an accompanying permission set for FLS.

Frequently Asked Questions about sf-metadata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Salesforce custom object and field metadata XML locally?

Generate Salesforce custom object, field, picklist, and record type metadata XML locally by defining your schema in source files, which produces deployable XML definitions ready for version control and org deployment.

How do I automatically create permission sets for field-level security in Salesforce?

Automatically create Salesforce permission sets for field-level security by generating accompanying FLS permission set XML by default whenever you create or modify custom fields, ensuring access is addressed before deployment.

Can I use the sf CLI to inspect object schemas before generating Salesforce metadata?

Use the sf CLI to describe objects and list metadata for org discovery and schema inspection, enabling local source file comparisons before generating new Salesforce metadata definitions.

What is the best way to validate Salesforce metadata before deployment?

Validate Salesforce metadata before deployment by running a 120-point scoring validator that detects naming, security, and deployment issues, reporting files created and deployment next steps.

Does this metadata generation workflow support custom validation rules and layouts?

The metadata generation workflow supports creating and modifying custom validation rules, page layouts, record types, and permission sets, producing deployable XML for these Salesforce components.

How do I deploy Salesforce metadata after generating and validating the XML?

After generating and validating Salesforce metadata XML, use clear handoff orchestration patterns to transition to sf-deploy and sf-data workflows for safe deployment sequencing and downstream processing.