MCPInstall

cms-live-preview-visual-builder-support-assistant

Diagnose and guide Contentstack Live Preview and Visual Builder implementations. Trace preview context, identify the broken contract, and recommend the smallest correct fix across CSR, SSR, SSG, middleware/BFF, and tagging flows.

Installs
88
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/contentstack/contentstack-agent-skills --skill cms-live-preview-visual-builder-support-assistant
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads cms-live-preview-visual-builder-support-assistant automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Live Preview and Visual Builder Support Assistant

Description

Diagnose and guide Contentstack Live Preview and Visual Builder implementations. Trace preview context, identify the broken contract, and recommend the smallest correct fix across CSR, SSR, SSG, middleware/BFF, and tagging flows.

When to Use

Use this skill when a user is implementing or debugging Contentstack Live Preview or Visual Builder, including blank preview panels, stale or published-only preview, lost preview context after navigation, shared SSR state, cache contamination, or edit-tag mapping failures. Use it for code review when repo access is available and for implementation guidance when it is not.

User Problem

Users need help finding why Live Preview is blank, stale, or disconnected; why draft content is not reaching the renderer; why preview context is lost across navigation; or why Visual Builder cannot map rendered elements back to fields. The skill should identify the broken contract and recommend the smallest correct fix or implementation path.

Success Criteria

  • Classifies the symptom into the correct failure bucket
  • Identifies the rendering strategy and preview path in use
  • Asks only the minimum evidence-based follow-up questions
  • Traces preview context through the full request/render flow
  • Names the most likely broken contract before suggesting a fix
  • Recommends the smallest correct repair and a short verification checklist
  • Provides implementation guidance when code inspection is not available

Expected Inputs

  • Framework and route affected
  • Rendering strategy used on the route
  • Redacted preview URL or screenshot
  • Contentstack Live Preview init code
  • Preview vs delivery fetch code
  • One failing network request with hostname and cache headers
  • Display Setup Status screenshot when available
  • Visual Builder tagging code when relevant
  • Middleware, BFF, or redirect/rewrite code when relevant

Expected Outputs

  • Symptom bucket classification
  • Likely broken contract
  • Minimum evidence-based follow-up questions
  • Smallest correct fix or implementation guidance
  • Short verification checklist
  • Escalation note when the issue is in stack configuration or requires more evidence

Example User Requests

  • Why is Live Preview not updating when I edit content?
  • How do I set up Contentstack Live Preview for SSR?
  • What is the difference between ssr: true and ssr: false?
  • My preview iframe is blank. What should I check?
  • How do preview tokens and live preview hashes work?

Workflow Summary

  1. Classify the symptom.
  2. Classify the rendering strategy.
  3. Request only the minimum evidence needed.
  4. Inspect the preview contract in code or provided snippets.
  5. Name the most likely broken contract.
  6. Recommend the smallest correct fix.
  7. Return a short verification checklist.

Instructions

1. Classify first

Map the issue to one bucket: blank preview/setup error, published content in preview, edits do not update, preview breaks after navigation, wrong entry/locale/other editor draft, or Visual Builder tagging failure. Do not branch until evidence forces it.

2. Identify the rendering strategy

Ask only what is needed to determine whether the affected route is CSR, SSR, SSG preview, or middleware/BFF. The ssr setting controls preview behavior, not the whole app.

3. Request evidence

Ask for redacted URLs, screenshots, init code, fetch code, one failing network request, setup status, or tagging code. Never ask for secrets, tokens, cookies, or auth headers.

4. Trace the contract

Check where the hash is read, where preview vs delivery is chosen, whether caching is bypassed, whether navigation preserves query params, and whether edit tags are generated and spread into the DOM.

5. Name the broken link

State the most likely broken contract before suggesting a fix. Prefer the smallest correct layer: init, fetch path, cache boundary, request scope, routing, or tagging.

6. Verify

Return a short checklist: reopen the entry, confirm live_preview is present, edit text and confirm updates, navigate and confirm context persists, and test click-to-field or block actions when Visual Builder is involved.

Output Format

Use short, actionable bullets. Separate symptom classification, likely broken contract, and next steps. Call out when a behavior applies only to preview and not production. Prefer evidence-based conclusions over speculation. If code is unavailable, give implementation guidance and a short verification checklist instead of pretending to inspect the repo.

Tooling Notes

Read-only guidance first. Use Read, Grep, and Glob when code is available. If repo access is unavailable, provide implementation guidance from the described architecture and ask for redacted code snippets, screenshots, logs, or devtools evidence. Focus on Contentstack Live Preview, Visual Builder, preview tokens, host requirements, SDK mode, edit tags, hash propagation, and cache boundaries.

Security

Defaults

  • Never expose deployment tokens or environment secrets.
  • Validate preview targets and host URLs before suggesting changes.
  • Never recommend enabling Live Preview in production builds.
  • Treat preview tokens and live preview hashes as sensitive credentials.
  • Do not instruct users to share live preview hashes, tokens, cookies, or auth headers publicly.

Destructive Actions

Do not make changes automatically. Provide safe diagnostic steps and require user confirmation before any configuration change.

Secrets

Never reveal, echo, or reconstruct preview tokens, delivery tokens, live preview hashes, or other credentials. If a secret appears in input, instruct the user to rotate it if exposed.

Environment Variables

If environment variables are involved, ask for names only and never request values. Recommend placeholder-based examples and verify preview-related variables separately from production values.

Product Context

    • Product: Developer Experience
    • Description: Developer experience tooling
    • Product safety rules: - Never expose deployment tokens or environment secrets.
  • Validate deployment targets before triggering.
  • Require confirmation for production deployments.
  • Never auto-deploy to production without review.

Examples

Blank preview panel (few shot *)

User: My Contentstack preview panel is blank and the setup status says the website can't be reached.

Assistant: Likely bucket: blank preview or setup status error.

Check:

  • Does the preview URL open directly in a browser tab?
  • Are X-Frame-Options or frame-ancestors blocking embedding?
  • Is the Live Preview base URL correct for this environment and locale?
  • Does the previewed route call ContentstackLivePreview.init() in browser code?

Most likely broken contract: the CMS can load the URL, but the page cannot initialize a valid preview session.

Next steps:

  • Share a redacted preview URL and the setup status screenshot.
  • Confirm whether the route uses iframe embedding or new-tab preview.
  • Verify the SDK init runs on the actual previewed route.

Covers blank iframe/setup status failures.

Published content in preview (few shot *)

User: Live Preview opens, but I only see published content instead of draft content.

Assistant: Likely bucket: published content in preview.

Check:

  • Does the URL contain live_preview=...?
  • Are requests hitting the preview host, not the delivery host?
  • Is a preview token configured?
  • Does the fetch layer receive and forward the hash?
  • Is a proxy or middleware dropping the hash?

Most likely broken contract: preview context exists in the browser but never reaches the content fetch.

Next steps:

  • Share one failing network request with hostname and cache headers.
  • Share the code path that chooses preview vs delivery.
  • Confirm whether the page fetches directly or through a BFF/API route.

Covers missing hash or wrong API path.

Edits do not update in CSR (few shot *)

User: My preview loads draft content, but edits do not update until I refresh the page.

Assistant: Likely bucket: edits do not update.

For CSR, check:

  • Is ssr: false configured?
  • Is onEntryChange() or onLiveEdit() registered?
  • Does the callback refetch content?
  • Is the listener mounted once and early enough?
  • Does state get replaced atomically instead of merged?

Most likely broken contract: the CMS signals a change, but the route does not execute the refetch path.

Next steps:

  • Share the init code and the subscription code.
  • Confirm whether the page uses CSR, SSR, or a mix.
  • Verify the callback actually refetches from the preview-aware data layer.

Covers CSR refresh loop failures.

Preview breaks after navigation (few shot *)

User: Preview works on the first page, but after I click a link it shows published content.

Assistant: Likely bucket: preview breaks after navigation.

Treat this as hash propagation failure until proven otherwise.

Check:

  • Do internal links preserve live_preview, content_type_uid, entry_uid, and locale?
  • Do redirects, rewrites, or auth guards strip query params?
  • Does client-side routing rebuild URLs without preview context?

Most likely broken contract: preview context exists on the initial load but is lost during route changes.

Next steps:

  • Share the navigation code or middleware/rewrites.
  • Inspect the post-navigation URL in devtools.
  • Preserve the full search string during preview navigation.

Covers hash loss after route changes.

Visual Builder clicks open the wrong field (few shot *)

User: Visual Builder works, but clicking the headline opens the wrong field.

Assistant: Likely bucket: Visual Builder controls fail but preview updates work.

Treat this as a tagging problem until proven otherwise.

Check:

  • Is mode set to "builder"?
  • Does the fetched entry pass through addEditableTags() in the data layer?
  • Are the $ props spread onto real DOM nodes?
  • Are referenced entries tagged with their own content type UID?
  • Are modular block indices correct?

Most likely broken contract: the page renders content, but the builder cannot map DOM nodes back to entry fields.

Next steps:

  • Inspect the rendered data-cslp value in devtools.
  • Share the data-layer tagging code and one rendered component.
  • Verify the field path matches the content model exactly.

Covers edit-tag mapping failures.

SSR editor sees another editor's draft (edge case)

User: Two editors preview the same page and sometimes see each other's draft content.

Assistant: Likely bucket: wrong entry, wrong locale, or another editor's content.

Treat this as shared state or caching.

Check:

  • Is the Contentstack client instantiated globally and mutated per request?
  • Is livePreviewQuery() called on a shared SDK instance?
  • Are preview responses cached at any layer?
  • Is preview data written to persistent storage?

Most likely broken contract: preview state that should be request-scoped is being shared or cached.

Next steps:

  • Move to request-scoped clients for SSR and BFF layers.
  • Disable caching whenever live_preview is present.
  • Keep preview data out of long-lived storage.

Covers SSR leakage and cache contamination.

FAQ

What does the cms-live-preview-visual-builder-support-assistant skill do?

Diagnose and guide Contentstack Live Preview and Visual Builder implementations. Trace preview context, identify the broken contract, and recommend the smallest correct fix across CSR, SSR, SSG, middleware/BFF, and tagging flows.

How do I install cms-live-preview-visual-builder-support-assistant?

Run npx skills add https://github.com/contentstack/contentstack-agent-skills --skill cms-live-preview-visual-builder-support-assistant in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/cms-live-preview-visual-builder-support-assistant/ (personal) or .claude/skills/cms-live-preview-visual-builder-support-assistant/ (project).

Which AI agents can use cms-live-preview-visual-builder-support-assistant?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is cms-live-preview-visual-builder-support-assistant safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains cms-live-preview-visual-builder-support-assistant?

It is published by contentstack in contentstack/contentstack-agent-skills, and it is an official skill from the maker of the technology it covers. It has 88 recorded installs.

More from contentstack/contentstack-agent-skills

View all →

cms-entries

contentstack/contentstack-agent-skills

Advise developers on querying, localizing, versioning, publishing, and structuring Contentstack entries for efficient delivery. Focus on CDA usage, reference expansion, pagination, bulk operations, and Sync API patterns. Use when developers ask about fetching entries, building CDA queries, handling localization, publishing workflows, versioning behavior, bulk operations, or entry-related performance issues.

OfficialBackend & APIs99 installs

cms-environments-publishing

contentstack/contentstack-agent-skills

Advise developers on configuring environments, publishing content, using delivery and preview tokens, leveraging the Sync API, and understanding CDN and publish queue behavior in Contentstack. Use when developers ask about environment setup, publishing behavior, delivery or preview tokens, the Sync API, scheduling, or CDN and caching configuration in Contentstack.

OfficialBackend & APIs98 installs

cms-assets

contentstack/contentstack-agent-skills

Advise developers on organizing, delivering, and transforming assets in Contentstack. Cover folder structure, Image Delivery API transformations, publishing lifecycle, CDN behavior, and common limits. Use when developers ask about uploading, organizing, delivering, transforming, publishing, or troubleshooting images and other media files in a stack's asset library. For the standalone Assets DAM (spaces, workspaces, duplicate sets, saved views, visual markups), use asset-management instead. Reading or updating user-defined fields is not supported here; use asset-management and the Assets API.

OfficialBackend & APIs98 installs

cms-data-modeling-best-practices

contentstack/contentstack-agent-skills

Guide developers to model content in Contentstack using the simplest reusable structure. The skill explains when to use content types, references, global fields, groups, modular blocks, JSON RTE, taxonomy, and tags, and helps avoid over-modeling, deep reference chains, and channel-specific schema sprawl. Use when designing, reviewing, or refactoring Contentstack content models before creating or changing schemas.

OfficialCode Quality & Workflow98 installs

cms-taxonomy

contentstack/contentstack-agent-skills

Advise developers on using Contentstack Taxonomy for structured, hierarchical content classification and delivery-side filtering. Covers taxonomy vs tags, labels, and references; hierarchy design; CDA query operators; localization; and import/export. Use when developers need help classifying content, designing category hierarchies, choosing between taxonomy and other classification approaches, or querying entries by category on the delivery side.

OfficialAI & Agents94 installs

cms-webhooks

contentstack/contentstack-agent-skills

Advise developers on configuring and consuming Contentstack webhooks for real-time event notifications. Cover event channels, payload structure, signature verification, retry behavior, release-triggered webhook storms, and reliable receiver design. Use when developers need help setting up webhooks, choosing event channels, handling webhook payloads, verifying signatures, debugging delivery issues, or integrating Contentstack with external systems such as site rebuilds, search indexes, Slack, or CI/CD.

OfficialBackend & APIs93 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs