sfcc-forms-development

Design and enforce SFCC Forms Framework workflows for SFRA and SiteGenesis.

27|9|Updated Aug 8, 2025
One-click install
npx skills add https://github.com/taurgis/sfcc-dev-mcp --skill sfcc-forms-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sfcc-forms-development
Source: https://github.com/taurgis/sfcc-dev-mcp/tree/main/ai-instructions/skills/sfcc-forms-development
Command: npx skills add https://github.com/taurgis/sfcc-dev-mcp --skill sfcc-forms-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers design, validate, secure, and migrate Salesforce B2C Commerce Cloud storefront forms across SFRA and SiteGenesis, reducing errors and deployment risk.

Core Features & Use Cases

  • XML form definitions: schema, constraints, localization, and reuse through includes.
  • Controller patterns: SFRA-based GET/POST workflows, CSRF handling, and transaction-safe persistence.
  • Migration guidance: SiteGenesis ➜ SFRA form flows, with practical checkpoints and pitfalls.

Quick Start

Install and review the SFCC Forms Development guide to implement or troubleshoot storefront form definitions in your cartridges.

Frequently Asked Questions about sfcc-forms-development

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

FAQPage Schema
How do I handle CSRF protection in SFCC SFRA form submissions?

CSRF protection in SFCC SFRA forms is managed through secure controller GET and POST workflows. This skill guides you in implementing proper CSRF handling, transaction-safe persistence, and server-side validation across your storefront cartridges.

What is the best way to migrate SiteGenesis forms to SFRA?

Migrating SiteGenesis forms to SFRA involves transitioning to SFRA-based GET and POST controller workflows. The skill provides migration guidance with practical checkpoints and pitfalls, ensuring proper form definition reuse and secure handling throughout the process.

How do I enforce server-side validation for SFCC form definitions?

Server-side validation for SFCC form definitions is enforced by applying schema constraints directly within XML form definitions. This skill helps you design workflows that capture validation requirements and ensure transactional writes align with SFRA controller patterns.

Can I reuse SFCC form definitions across different storefronts?

Yes, SFCC form definitions support reuse across storefronts through XML includes. The skill provides guidance on structuring schemas, applying constraints, managing localization, and utilizing includes to reduce duplication and deployment risk.

Why are my SFCC form POST transactions failing during persistence?

SFCC form POST transactions often fail when controller patterns bypass transaction-safe persistence methods. This skill helps align controller workflows with secure handling requirements and transactional writes to prevent data persistence errors.