landing-page-demo-sections
- Repo stars 0
- Author repo skills-registry
Landing Page Demo Sections
Use this for marketing page body sections in the landing page starter. Keep generic DatoCMS schema design and record operations in the shared DatoCMS skills.
Prerequisites
Before schema or content operations:
- Confirm the shared DatoCMS
agent-skillsplugin is available. If it is missing, ask whether the user already has it installed; if not, request installation before continuing. - Expect the DatoCMS MCP to be installed and running. If live schema or content facts are needed and MCP is unavailable, pause and ask the user to install or start it.
- Inspect live schema/content through MCP before assuming API keys, localized fields, validators, singleton records, or allowed blocks.
Existing section pattern
Marketing pages use this chain:
- A DatoCMS block record appears inside localized
page.sections. - The route query adds an inline fragment in
app/[locale]/(common-layout)/[slug]/query.graphql. - The block fragment lives under
components/blocksWithVariants/<Typename>/fragment.graphql. - A React renderer lives under
components/blocksWithVariants/<Typename>/<Variant>/. app/[locale]/(common-layout)/[slug]/Content.tsxswitches onsection.__typenameand display option fields.- GraphQL types are regenerated after query or fragment changes.
Existing section blocks: HeroSection, FeatureListSection, BrandSection, VideoSection, DetailSection, ReviewSection, PricingSection, FeaturedPostsSection, TeamSection, FaqSection, StatsSection, AboutIntro, AllPostsSection, RedirectSection, and ChangelogSection.
Workflow for section changes
- Confirm the request is about a regular page body section, not layout, docs, content-record maintenance, or route plumbing.
- Inspect the target
Pagerecord and thesectionsvalidator through MCP. - Reuse an existing block type and variant when it matches the request.
- If a new block type or field is needed, route modeling decisions to
datocms-content-modelingand schema implementation to the shared DatoCMS implementation skills or MCP. - For end-to-end requests, update the real target
Page.sectionsvalue, not only the code:- preserve existing sections and ordering unless the user specifies placement;
- for localized
sections, update all existing locale values unless the user requested one locale; - reuse existing linked records where possible;
- if the page was published and the change should be public, publish the updated record.
- Add or update the fragment and renderer under
components/blocksWithVariants/**. - Update the route query and
Content.tsxswitch with the generated__typenameand display option value. - Regenerate GraphQL types.
- Verify the section in published rendering and draft/live preview.
Guardrails
- Shared header, footer, navigation, notification, logo, social links, and theme color belong to
landing-page-demo-layout. - Docs home, docs pages, docs sidebar, and docs tree structure belong to
landing-page-demo-docs. - Blog, author, tag, testimonial, pricing tier, changelog, and legal records belong to
landing-page-demo-content-recordsunless the renderer itself changes. - New route-backed types, preview links, static params, metadata, and SEO-analysis mapping belong to
landing-page-demo-routing-preview. - Keep unknown section types safely ignored.
Acceptance criteria
- The page query types include the section data.
- The target
Page.sectionscontains the intended block when content work is requested. - Localized sections keep the intended locale coverage.
- The section renders in published mode and draft/live preview.
- Existing sections still render unchanged.
- GraphQL type generation and build pass after code changes.
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: datocms/next-landing-page-demo — distributed by TomeVault.
- Fluxly category
- Other
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @tomevault-io · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Write / modify
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Before schema or content operations: Confirm the shared DatoCMS agent-skills plugin is available. If it is missing, ask whether the user already has it installed; if not, request installation before continuing. Expect the DatoCMS MCP to be installed and…
Marketing pages use this chain: A DatoCMS block record appears inside localized page.sections. The route query adds an inline fragment in app/[locale]/(common-layout)/[slug]/query.graphql.
Confirm the request is about a regular page body section, not layout, docs, content-record maintenance, or route plumbing. Inspect the target Page record and the sections validator through MCP. Reuse an existing block type and variant when it matches the…
Shared header, footer, navigation, notification, logo, social links, and theme color belong to landing-page-demo-layout. Docs home, docs pages, docs sidebar, and docs tree structure belong to landing-page-demo-docs. Blog, author, tag, testimonial, pricing…
The page query types include the section data. The target Page.sections contains the intended block when content work is requested. Localized sections keep the intended locale coverage.
# Landing Page Demo Sections
Use this for marketing page body sections in the landing page starter. Keep generic DatoCMS schema design and record operations in the shared DatoCMS skills.
## Prerequisites
Before schema or content operations:
- Confirm the shared DatoCMS `agent-skills` plugin is available. If it is missing, ask whether the user already has it installed; if not, request installation before continuing.
- Expect the DatoCMS MCP to be installed and running. If live schema or content facts are needed and MCP is unavailable, pause and ask the user to install or start it.
- Inspect live schema/content through MCP before assuming API keys, localized fields, validators, singleton records, or allowed blocks.
## Existing section pattern
Marketing pages use this chain:
1. A DatoCMS block record appears inside localized `page.sections`.
2. The route query adds an inline fragment in `app/[locale]/(common-layout)/[slug]/query.graphql`.
3. The block fragment lives under `components/blocksWithVariants/<Typename>/fragment.graphql`.
4. A React renderer lives under `components/blocksWithVariants/<Typename>/<Variant>/`.
5. `app/[locale]/(common-layout)/[slug]/Content.tsx` switches on `section.__typename` and display option fields.
6. GraphQL types are regenerated after query or fragment changes.
Existing section blocks: HeroSection, FeatureListSection, BrandSection, VideoSection, DetailSection, ReviewSection, PricingSection, FeaturedPostsSection, TeamSection, FaqSection, StatsSection, AboutIntro, AllPostsSection, RedirectSection, and ChangelogSection.
## Workflow for section changes
1. Confirm the request is about a regular page body section, not layout, docs, content-record maintenance, or route plumbing.
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Prerequisites → Existing section pattern → Workflow for section changes → Guardrails → Acceptance criteria
terms -> Use this for marketing page body sections in the landing page starter. · - Confirm the shared DatoCMS agent-skills plugin is available. · 1. A DatoCMS block record appears inside localized page.sections. · 1. Confirm the request is about a regular page body section, not layout, docs, content-record maintenance, or route plumbing. · - Shared header, footer, navigation, notification, logo, social links, and theme color belong to landing-page-demo-layout. · - The page query types include the section data.
files/cmd -> agent-skills · page.sections · app/[locale]/(common-layout)/[slug]/query.graphql · components/blocksWithVariants/<Typename>/fragment.graphql · components/blocksWithVariants/<Typename>/<Variant>/ · app/[locale]/(common-layout)/[slug]/Content.tsx · section.typename · Page
body sha256 -> 1163e91a58ca
Decide Fit First
Design Intent
How To Use It
Boundaries And Review