/vivreal-knowledge:vivreal-sitesfrom vivreal-knowledge
Use when reasoning about the Vivreal SITE PRODUCT, NOT the AWS deploy plumbing. Covers what a site IS (pages, sections, page formats like schedule/catalog/craft, though showcase/ecommerce are NOT format values, site values, navbar/footer chrome), the site lifecycle (demo→live cutover, noindex gate), the authoring model (Studio → composePage → renderer/Templates parity, live on Save, no Publish button), and what decides whether content appears (the publishDate storefront gate, product-filter ↔ enum binding). Triggers on: Vivreal site, customer site, page format, showcase, site values, navbar, footer, Studio, composePage, preview parity, publishDate gate, product filter binding, content not showing on site, pageConfigs, lifecycleState, demo site, publish a vivreal.io or help page, how do Vivreal sites work, add a page/section/format. Not this: the deploy pipeline is vivreal-site-deploy-pipeline, query rules vivreal-db, Templates code vivreal-templates-knowledge, the renderer vivreal-renderer-knowledge.
Trending skills
7-day visitors to each skill page
Ships in vivreal-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Cross-repo flows, decisions and maps: the vivreal-hq dev docs under ${VIVREAL_REPOS}/vivreal-hq/docs/dev-docs/, starting at 03-use-cases/U3-how-studio-works.md, 03-use-cases/U16-serving-a-live-customer-site.md; npm run docs:route -- "site save" from vivreal-hq names the rest. This skill and the repo's CLAUDE.md own the repo's internals.
Last synced: 2026-10-15 (Templates origin/stable at c9cfdb0, the v6 release)
Last extended: 2026-09-16 (Save to live on an ISR site depends on the stored Amplify buildSpec)
How a Vivreal customer site is shaped, authored, and made to appear, the product/data view. This is deliberately distinct from the AWS deploy plumbing (vivreal-site-deploy-pipeline = Step Functions, Amplify, Route53). Cross-link, don't duplicate. For query mechanics see vivreal-db; for the renderer package internals see vivreal-renderer-knowledge; for the customer-template repo see vivreal-templates-knowledge.
A site is a Mongo document (sites collection, in the group's tenant DB) holding site values (brand: colors, logo, name, social, contact + authored navbar/footer chrome) and a list of pages. Each page has a format (schedule / catalog / craft / profile / location-hub / panorama / discography / pricing / recipes / …, 29 live entries in COMPOSE_FORMATS on 2026-10-04 (Templates src/app/[slug]/page.tsx:111), so count the set rather than trusting this number; note ecommerce is a templateType not a format, the storefront format string is products, and showcase is not a format value either) and pageConfigs/sections that bind to the group's content collections. The deployed site (a per-site Amplify app building the shared Vivreal_Templates stable channel branch, per-customer branches are dead) fetches that doc + the bound content from VR_Client_API and renders it via the @hillbombcreations/site-renderer package. The portal Studio edits the same doc and previews it through the same composePage() the live site uses, so preview and live can't drift.
references/page-formats.md
(what format does, pageConfigs[].format drives layout NOT templateType, the section/binding model, how to add a page/format, the showcase product-filter binding rule.)references/site-values.md
(what lives in site values, the Q3b authored navbar/footer overrides + lazy auto-derive, where they persist + the strict-mode subdoc trap.)references/authoring-and-parity.md
(Studio is the single surface, content goes live on Save (no Publish button), composePage preview parity seams, and the promote-stable release rollout.)references/detail-pages.md
(the portal switch, detailEligible, itemKeyField, the renderer's served-collection and detail-wins rules, Templates' lookup and linkedItems, the item page summary.)references/publishing-vivreal-io-and-help.md
(the CMS sorts mediaKeys and keys mediaFields by file name, promoteMedia re-encodes, media_files lives in the main database, band plus order for duplicate checks, the sitemap leaves out noindex pages, unwrap /_next/image.)/api/revalidate (HMAC-signed X-Vivreal-Signature); the site invalidates site:<SITE_ID> / collection:<refID> / integration:<type> cache tags and the edit appears in seconds. Rebuilds happen only on template RELEASES: the promote-stable workflow (manual workflow_dispatch, fast-forward main→stable, ancestry-guarded) rebuilds the whole fleet.SITE_RENDER_MODE. If the site's stored Amplify buildSpec does not grep SITE_RENDER_MODE into .env.production, cached pages (home first) are built as ISR and never regenerate, so an owner's edit shows on every no-store page and never on home until a rebuild. Seen on vivreal.io; the same configuration was found and fixed on Example Diner and Example Comedy Club 2026-09-16. Diagnosis: vivreal-templates-knowledge, "ISR render mode".lifecycleState: 'demo' | 'live' (+ sourceUrl), flat fields in the site doc's siteDetails values. Demo sites (pre-cutover migrations) are made un-indexable by the Templates isDemoSite gate, robots Disallow: /, empty sitemap, noindex and NO canonical (owner decision W25-12a, 2026-10-10; it used to canonical at sourceUrl, which pointed a re-skinned demo at its donor business), and can wear the renderer's DemoRibbon chrome (theme switcher + claim CTA). Cutover flips the flag and propagates via the revalidate webhook, no rebuild. Absent state ⇒ live/indexable (fail-safe).bb44233, 2026-09-29). The siteDetails.values copy is a stale mirror VR_Secure_API only preserves; before the fix, an owner's chrome edit never reached the live site. When a strip or popup is missing on a live site, check the top-level field first. Theme tokens, fonts, redirects, lifecycleState and analytics still come from siteDetails.values.site.updated. The Save path above starts at VR_Secure_API (emitWebhookEvent('site.updated') to the webhook-delivery queue); a script that writes Mongo directly skips it, so follow it with the same event (or one API page write). Never call POST /api/revalidate by hand: a hard tag invalidation broke robots.txt at the origin and CloudFront cached the 500 for the whole host (remedy: an Amplify RELEASE job on the same commit). A revalidation clears only the compute instance that received it, so after a BULK change rebuild the site rather than trusting tags.POST /api/site/pages stores no blocks (its validator accepts none), and Templates serves the route as a 200 with only nav and footer; Studio never hits this because it seeds defaultBlocksForFormat client-side. Follow an API add with a page update carrying explicit blocks, and check RENDERED markup./privacy and /terms 404 on a site that stores no policy page (v6, owner 2026-10-14: no invented legal text); a stored policy page resolves like any other.media.vivreal.io; unsigned URLs 403; the signed-URL TTL defaults to 24 h and VR_Client_API signs at request time; JSON-LD/OG embeds strip the signature via unsignMediaUrl). Content must be read through the signed currentFile.source/srcset fields, never hand-built CDN URLs. Detail: vivreal-templates-knowledge + vivreal-client-stack-knowledge.These bite constantly, know them even before opening a reference:
publishDate is null (draft), in the future (scheduled), or stored as a string instead of a Date (silently dropped by $lte: new Date() type-bracketing). "Created/edited in the portal but missing on the site" is almost always this. Check publishDate type and value first. A scripted collection-object update that OMITS publishDate unpublishes the item (the portal proxy sends publishDate ?? null), so a script always echoes the stored publishDate and __v. Config-like content (filters, schedule stops) MUST be stamped with a past publishDate; event dates live elsewhere (e.g. objectValue.start), never in publishDate. Full detail: vivreal-db + references/page-formats.md.product-type → /products?f_productType= filter) silently matches zero when an author types a display label ("Sweet Treats") instead of the stored value ("Sweets"). Studio's filter-bound enums fix this for new authoring; legacy free-text data can still drift. See references/page-formats.md.| Need | Skill |
|---|---|
| How a site gets BUILT + DEPLOYED on AWS (Step Functions, Amplify, Route53, promote-stable releases) | vivreal-site-deploy-pipeline |
| How a Save → live edit propagates to a built site (on-publish cache-revalidation webhook) | vivreal-site-deploy-pipeline |
| The renderer package (composePage, primitives, publishing it) | vivreal-renderer-knowledge |
| The customer-template repo (clientFetch, branch model) | vivreal-templates-knowledge |
Safe Mongo queries against the sites / collection_objects collections | vivreal-db |
| The public API that serves site content (routes, frozenCheck, signed media) | vivreal-client-stack-knowledge |
Sources of truth: ${VIVREAL_REPOS}/Vivreal_Portal_Mobile/CLAUDE.md (Studio preview parity, sites routes), ${VIVREAL_REPOS}/Vivreal_Templates/CLAUDE.md, ${VIVREAL_REPOS}/vivreal-site-renderer/CLAUDE.md + docs/DESIGN_LANGUAGE.md. Memory: insight_publishdate_storefront_gate.md, project_q3b_site_chrome.md, project_schedule_page_type.md, project_site_studio_next_level.md, project_showcase_producttype_binding_followup.md, insight_templates_main_autosync.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hillbombcreations/vivreal-skills --plugin vivreal-knowledge27 skills in this plugin
/sentry-tracerUse when investigating what happened during a Vivreal user action across the stack, tracing an error end-to-end, validating a deploy, or doing tenant-scoped triage with Sentry. Teaches WHEN to trace cross-stack (frontend spans ↔ backend logs ↔ WebSocket events) and HOW (trace-ID propagation, the standard tag set, request_id fallback, service.* breadcrumbs). Triggers on: "what happened when I did X", "why did this error", trace this request, Sentry issue, deploy validation, "everything's broken for this group", crash, error timeline. For the full investigation agent with Sentry MCP tools wired in, dispatch the `sentry` agent / `/sentry-trace` (both in the `vivreal-sentry` plugin); this skill is the passively-loaded knowledge layer. Also covers the step from a Sentry error to the AWS and Atlas metric that confirms an infrastructure cause (502 with no backend event, Lambda timeout, Mongo connect-hang, throttling, OOM, stalled deploy)./vivreal-accounts-and-writesUse before filming, walking or capturing anything in the Vivreal portal or on vivreal.io, and before any write a capture or walk makes. Carries which login to use for which business (the demo account, the QA scratch owner, the owner session), the eight-step owner-approved write protocol (named approval, snapshot, write through the UI, fresh-process read-back, restore, manifest entry), the never-list (Post, Publish, Schedule, Connect and the rest), and the rules for stills that fill vivreal.io marketing slots (pair by what the slot says, no demo site has its own web address, mask comped plan figures). Shared by footage-recorder, tutorial-maker, help-page-producer, qa-walker and marketing-auditor. Triggers on: which login, demo account, QA scratch-2, test account, switch business, owner-approved write, write protocol, snapshot and restore, mutations, marketing still, screenshot swap, vivreal.io slot, walk harness, write guard, POST allow list, PRO badge./vivreal-admin-app-knowledgeUse when working on, walking, deploying or reasoning about the internal admin app (vivreal-hq packages/admin-app), the invite-only, sign-in-only staff hub that holds every staff surface since v7 (outreach CRM, sign-ups, monitoring, errors, tickets, flags, audit, usage, economics, deployed sites, team, staff push), covering where it lives, its own identity pool and session, how it calls the fleet with no active_ctx, the deploy by fast-forwarding deploy/admin-app, its two ops Lambdas, what each page reads, including the dark navy restyle and the Releases, Database, Marketing and Inbound pages. Source of truth: `vivreal-hq` `packages/admin-app/CLAUDE.md` (and the docs it links) at `origin/deploy/admin-app`./vivreal-agent-knowledgeUse when working on, writing about, or debugging Vivreal AI. The AI offering is connecting an AI agent through the Vivreal MCP server (VR-MCP-Server, plan flag mcpAccess, metered in mcpToolCalls), and nothing else: the in-app assistant is RETIRED (owner 2026-10-07, agentActions 0 on every tier; the global FAB, drawer and /agent page were deleted 2026-09-24) and only dead code survives in the portal (Studio AiRail, EditPlan) and VR_Secure_API's agent Lambda. Covers the copy rule ("AI agent", never assistant or a model name), the real gates, and the retired surface's archaeology. Triggers on: AI agent, MCP, connect an AI agent, AI assistant, AI assistant not showing, agentActions, aiActionsEnabled, aiSiteEditing, aiComponentGen, mcpAccess, mcpToolCalls, AiRail, useAgentAccess, EditPlan, proposeSiteEdits, agent/execute, agentProgress. Sources: VR-MCP-Server, Vivreal-Tier-Quotas src/tierQuotas.ts./vivreal-analytics-knowledgeUse when working on Vivreal's first-party analytics, VR_Analytics_API (the collect→store→rollup pipeline), the Templates SiteBeacon, or the per-site traffic dashboard (VR_Secure_API read route + portal AnalyticsPanel). Covers the CloudFront+WAF → Lambda Function URL ingest chain (X-Origin-Verify, bot filter, Joi, per-IP rate limit, daily-salt visitor hash), the analytics_rollup DynamoDB design, the daily rollup cron into mainDb.site_traffic_daily, the LIVE auto-deploy status (GitHub Actions → CloudFormation) plus the W4 CDN egress meter (runs unconditionally), and where increment 2 lives. Triggers on: analytics, site traffic, beacon, SiteBeacon, visitor stats, page views, unique visitors, analytics_rollup, site_traffic_daily, first-party analytics, per-site dashboard, collect.vivreal.io, visitor hash, rollup cron, CDN egress meter, VR_Analytics_API. Source of truth: `VR_Analytics_API` `CLAUDE.md` (and the docs it links) at `origin/main`./vivreal-blender-knowledgeUse when scripting or rendering in Blender for Vivreal, above all the Vivreal duck mascot in vivreal-hq/brand/mascot/model. Covers headless renders (blender -b -P script.py -- args, --factory-startup, --python-exit-code), bpy data versus ops, bmesh, depsgraph evaluated_get and new_from_object, mathutils transform gotchas, flat toon and NPR rendering in EEVEE (Emission plus the Standard view transform, exact sRGB hex, dither, filter size, transparent film, orthographic framing), outline methods compared (Freestyle, Grease Pencil Line Art, inverted hull, ID-pass edge inking), and the 4.2 to 5.2 API changes that break scripts (EEVEE engine id, blend_method, use_nodes, Grease Pencil v3). Triggers on: Blender, bpy, bmesh, headless render, background render, EEVEE, Workbench, Cycles, toon, cel, NPR, outline, inverted hull, Freestyle, Line Art, Grease Pencil, view transform, AgX, Filmic, mascot, the duck, duck.py, render.py, mascot-artist.Other plugins' skills for the same job