What problem does it solve?
FirstSpirit CMS templating has a unique architecture and syntax, making it challenging for developers to quickly grasp concepts like store separation, template types, and specific instructions. This skill centralizes comprehensive knowledge, enabling efficient and accurate template development.
Core Features & Use Cases
- Comprehensive Knowledge Base: Access detailed documentation on FirstSpirit's six-store architecture, template types (page, section, format, link, script, table, workflow), and core development principles.
- Syntax & System Object Reference: Understand FirstSpirit's unique template syntax, instructions (
$CMS_VALUE, $CMS_IF, $CMS_FOR), expressions, data types, functions (editorId, if), and system objects (#global, #for, #style).
- Dynamic Forms & Metadata: Learn to create interactive forms using rules, manage metadata inheritance, and configure snippets for rich content previews.
- Use Case: A developer needs to create a new page template with dynamic form fields and SEO metadata. They use this skill to quickly reference
page-templates.md, rules.md, and metadata.md to implement the form, validation, and metadata inheritance correctly, saving hours of searching through scattered documentation.
Quick Start
Explain the core architectural principles of FirstSpirit CMS, focusing on the separation of layout, content, and structure.
Then, provide an example of how to use the $CMS_IF instruction to conditionally display content based on a variable.