optimizely-cms-content-types

Generate TypeScript content definitions for Optimizely SaaS CMS pages and blocks using Content JS patterns.

1|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/evest/nextjs-fe-hosting --skill optimizely-cms-content-types
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimizely-cms-content-types
Source: https://github.com/evest/nextjs-fe-hosting/tree/main/.claude/skills/optimizely-cms-content-types
Command: npx skills add https://github.com/evest/nextjs-fe-hosting --skill optimizely-cms-content-types

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of TypeScript content type definitions for Optimizely SaaS CMS using the Content JS SDK, reducing manual boilerplate and aligning with the CMS SDK conventions.

Core Features & Use Cases

  • Generate strongly-typed content types for pages, blocks, sections, and experiences following the Optimizely Content JS SDK patterns.
  • Support advanced composition patterns (mayContainTypes, compositionBehaviors, allowedTypes) to enable Visual Builder workflows and reusable components.
  • Provide ready-to-export CT patterns such as HomePage, ArticlePage, HeroBlock, CardBlock, and related content types, with guidance for nested content and cross-linking.

Quick Start

Run the generator to scaffold TypeScript CT definitions from your Optimizely CMS schema, then export and integrate them into your project and CMS sync workflow.

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 generate TypeScript content type definitions for Optimizely CMS?

To generate TypeScript content type definitions for Optimizely CMS, use this Skill to scaffold strongly-typed CT definitions from your schema. It outputs ready-to-export types for pages, blocks, and experiences aligned with the Content JS SDK patterns.

What is the Content JS SDK pattern for structuring Optimizely CMS content types?

The Content JS SDK pattern structures Optimizely CMS content types using contentType definitions, mayContainTypes, compositionBehaviors, and allowedTypes. This approach enables reusable components and supports Visual Builder workflows for pages and blocks.

Does this approach support advanced composition patterns like mayContainTypes and allowedTypes?

Yes, this approach supports advanced composition patterns including mayContainTypes, compositionBehaviors, and allowedTypes. These configurations enable Visual Builder workflows, reusable components, and controlled nesting for sections and experiences.

Can I create TypeScript definitions for both pages and blocks in Optimizely SaaS CMS?

Yes, you can create TypeScript definitions for both pages and blocks in Optimizely SaaS CMS. The generator produces strongly-typed content types for pages, blocks, sections, and experiences following standard SDK export conventions.

What's the best way to scaffold TypeScript CT definitions for an Optimizely Visual Builder workflow?

The best way to scaffold TypeScript CT definitions for an Optimizely Visual Builder workflow is running this generator to apply compositionBehaviors and mayContainTypes. It delivers ready-to-use CT definitions that align directly with SDK patterns.