Skip to content
Skills Library
Marketing & content · Learning & explanation

cms-variants-personalization

/cms-variants-personalization

Advise developers on using Contentstack Variants and Personalize for audience-targeted content. Explain when to use variants versus separate entries, how variant groups work, and how to integrate Personalize with the CMS. Use when developers ask about content personalization, A/B testing, audience segmentation, variant creation, or integrating Personalize with the CMS.

Licence
MIT
Last repository change
23.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Advise developers on using Contentstack Variants and Personalize for audience-targeted content. Explain when to use variants versus separate entries, how variant groups work, and how to integrate Personalize with the CMS. Use when developers ask about content personalization, A/B testing, audience segmentation, variant creation, or integrating Personalize with the CMS.

Original author description

Advise developers on using Contentstack Variants and Personalize for audience-targeted content. Explain when to use variants versus separate entries, how variant groups work, and how to integrate Personalize with the CMS. Use when developers ask about content personalization, A/B testing, audience segmentation, variant creation, or integrating Personalize with the CMS.

How it works

  1. Description
  2. When to Use
  3. User Problem
  4. Success Criteria
  5. Expected Inputs
  6. Expected Outputs
  7. Example User Requests
  8. Workflow Summary
  9. Instructions
  10. Output Format
Original SKILL.md headings · 116 lines, 609 words
SKILL.md preview
---
name: cms-variants-personalization
description: "Advise developers on using Contentstack Variants and Personalize for audience-targeted content. Explain when to use variants versus separate entries, how variant groups work, and how to integrate Personalize with the CMS. Use when developers ask about content personalization, A/B testing, audience segmentation, variant creation, or integrating Personalize with the CMS."
allowed-tools: Read Grep Glob
---

# Variants & Personalization

## Description

Advise developers on using Contentstack Variants and Personalize for audience-targeted content. Explain when to use variants versus separate entries, how variant groups work, and how to integrate Personalize with the CMS.

## When to Use

Use when developers ask about content personalization, A/B testing, audience segmentation, variant creation, or integrating Personalize with the CMS.

## User Problem

Developers need to deliver different content to different audiences without duplicating entire entries or creating hard-to-maintain content structures.

## Success Criteria

Clearly recommend variants vs separate entries.
Provide practical integration guidance.
Emphasize starting simple and adding complexity only when justified.

## Expected Inputs

- Personalization requirements
- Audience segmentation needs
- Frontend framework
- Content variation scope

## Expected Outputs

- Variants vs separate entries recommendation
- Integration pattern guidance
- SDK initialization instructions
- Complexity management advice

## Example User Requests

- How do I show different content to different user segments?
- Should I use variants or create separate entries per audience?
- How do I integrate Personalize with my frontend?
- What are variant groups?
- Can I A/B test content in Contentstack?

## Workflow Summary

Understand the personalization requirements.
Recommend variants vs separate entries.
Explain the Personalize integration pattern.
Emphasize starting simple.
Cover publishing and performance considerations.

## Instructions

[]

## Output Format

Be concise and advisory.
Prefer direct recommendations over long explanations.
Include a clear variants-vs-separate-entries decision.
Mention simplicity and maintainability first.

## Tooling Notes

Read-only advisory skill.
Do not create, modify, or publish variants.
Use Read, Grep, and Glob only.

## Security

### Defaults

Never expose tokens or API keys.
Use environment variables for credentials in example code.
Do not recommend hardcoding secrets in client-side code.

### Destructive Actions

Do not perform create, update, publish, or delete actions. Provide guidance only.

### Secrets

Never reveal management tokens, API keys, or Personalize credentials. Use placeholders and environment variables in examples.

### Environment Variables

Use environment variables for all credentials in code examples. Do not hardcode stack API keys or project keys.

## Product Context

- - Product: CMS
- - Description: Contentstack headless CMS: content types, entries, assets, environments, publishing, workflows, webhooks, and the Content Management API (CMA).
- - Product safety rules: - Never expose management tokens or API keys.
- Always use environment variables for credentials.
- Route all CMA calls through server-side proxies in browser apps.
- Never hardcode stack API keys in client-side code.
- - Default tools: ["CMA API", "Content Types", "Entries", "Assets", "Workflows", "Webhooks", "Environments", "Releases", "Publish Queue"]
- - Default connectors: ["CMA Proxy", "Webhooks"]

## Examples

### Variants vs separate entries (few shot *)

**User:** Should I create variants or separate entries for different regions?

**Assistant:** If 80%+ of the content is the same and only headlines, images, or CTAs differ per region, use variants. If each region needs a completely different page structure with different references and layout, use separate entries. Variants are lightweight overrides, not full content forks. Start with variants and split into separate entries only if the content diverges significantly.

*Shows the core decision rule and recommends starting simple.*

### Integration pattern (few shot *)

**User:** How do I integrate Personalize with my Next.js app?

**Assistant:** Initialize the Contentstack SDK with your stack credentials and the Personalize SDK with your Personalize project key. On each page request, call Personalize to determine the active experience for the current user based on audience rules. Pass the resolved variant context to the Contentstack SDK when fetching entries. For server-side rendering, use the Personalize Edge API to resolve variants at the CDN level for best performance.

*Demonstrates the standard SDK flow and SSR guidance.*

Versions

The database has no other skills named cms-variants-personalization.

Database snapshot: 13.11.2026 · package version ba06a02f1aa4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100cms-releases
    Advise developers on using Contentstack Releases for coordinated, atomic content deployment. Cover release creation, item management, staged deployment, webhook storm prevention, and CI/CD integration. Use when developers ask about deploying multiple content changes together,…
  • 100content-sdk-personalization
    Personalization in a Content SDK head app: PersonalizeProxy page and component variants, scope, variant rewrite, editing, calling personalize() yourself. Use when a variant does not show. Not creating variants in SitecoreAI.
  • 100cms-branches-aliases
    Advise developers on using Contentstack branches for isolated content development and aliases for zero-downtime content deployments. Cover branch strategy, branch-specific vs global modules, CI/CD integration, merge behavior, and rollback patterns. Use when developers ask about…
  • 100sitecoreai-personalization
    Sets up SitecoreAI embedded personalization: page variants, audiences from condition templates, copy, swap or hide a component, publish, verify, undo; Marketer MCP first. Use to personalize a page for an audience. Not head-app wiring.
  • 90surfaces
    Test and personalize page content with Surface AI — add a surface to a page of this codebase, write and manage its variants, and check results. Use when the user wants to test, experiment with, A/B test or personalize page copy (headlines, calls to action, hero images), or asks…
  • 100contentstack-vibe-docs
    Comprehensive Contentstack CMS documentation for building web applications. Covers REST API, GraphQL API, Content Management API, Image Delivery API, TypeScript SDKs, Live Preview, Visual Builder, OAuth authentication, data modeling, webhooks, releases, workflows, branches,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.