optimizely-cms-content-types

Generate TypeScript content type definitions for Optimizely SaaS CMS using the Content JS SDK.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/abhinavssingh/training-saas-site --skill optimizely-cms-content-types-abhinavssingh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimizely-cms-content-types
Source: https://github.com/abhinavssingh/training-saas-site/tree/main/.claude/skills/optimizely-cms-content-types
Command: npx skills add https://github.com/abhinavssingh/training-saas-site --skill optimizely-cms-content-types-abhinavssingh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and management of Optimizely SaaS CMS content models by generating TypeScript definitions, ensuring type safety and efficient development.

Core Features & Use Cases

  • Content Type Generation: Define pages, blocks, sections, and elements using the Optimizely Content JS SDK.
  • TypeScript Definitions: Automatically generate strongly-typed interfaces for your CMS content.
  • Use Case: When setting up a new Optimizely CMS project, use this Skill to define your HomePage, ArticlePage, and HeroBlock content types, including their properties and relationships, directly from your TypeScript code.

Quick Start

Use the optimizely-cms-content-types skill to generate a TypeScript content type definition for a basic article page.

Frequently Asked Questions about optimizely-cms-content-types

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

FAQPage Schema
How do I define Optimizely CMS content types using TypeScript?

You can define Optimizely CMS content types using TypeScript by generating strongly-typed interfaces for pages, blocks, sections, and elements through the Optimizely Content JS SDK. This approach ensures type safety and structured content modeling directly within your codebase.

What is the best way to generate TypeScript definitions for Optimizely SaaS CMS?

The best way to generate TypeScript definitions for Optimizely SaaS CMS is to use a content modeling approach that outputs strongly-typed interfaces. This allows you to configure detailed properties, composition behaviors, and built-in metadata for pages and components efficiently.

Can I use the Optimizely Content JS SDK to model relationships between pages and blocks?

Yes, the Optimizely Content JS SDK supports modeling relationships between pages and blocks. You can define content types like HomePage and HeroBlock, specifying their properties and composition behaviors to achieve a type-safe integration with your CMS architecture.

Does Optimizely SaaS CMS support type-safe integration for content modeling?

Yes, Optimizely SaaS CMS supports type-safe integration by allowing you to generate TypeScript content type definitions. Utilizing the Content JS SDK ensures that your pages, components, and experiences include detailed property configurations and utilize built-in metadata securely.

How do I configure composition behaviors for content types in Optimizely CMS?

You configure composition behaviors for content types in Optimizely CMS by defining them within your TypeScript content type definitions. This process involves using the Content JS SDK to specify how different pages, sections, and elements interact and compose within the CMS structure.

What are the limitations of generating TypeScript definitions for Optimizely CMS?

Generating TypeScript definitions for Optimizely CMS is limited to structuring content models for pages, components, sections, elements, and experiences. It focuses on property configurations and metadata utilization, meaning it does not handle visual design or frontend rendering logic directly.