webmaxru avatar

Enonic Nextxp Integration

Guides you through wiring up Next.js as a headless frontend for Enonic XP using the Next.XP framework. Covers the full stack: configuring the Enonic adapter with environment variables, mapping content types to React components via the ComponentRegistry, fetching data through Guillotine GraphQL queries, and enabling Content Studio's live preview mode with draft/master branch switching. Includes rich text handling with RichTextView, macro registration, and deployment to production with Enonic Cloud ingresses. Most useful when you're setting up a new Next.XP project or debugging why preview isn't working in Content Studio. Won't help with traditional server-side Enonic rendering or React4XP.

skills.sh installs
488
last updated
Aug 21, 2026

Install

$ npx -y skills add webmaxru/enonic-agent-skills --skill enonic-nextxp-integration --agent claude-code

Installs into .claude/skills of the current project.

Files

Next.js + Enonic XP Headless Integration (Next.XP)

Procedures

Step 1: Identify the workspace integration surface

  1. Inspect the workspace for Next.js entry points (next.config.*, package.json with next dependency), Enonic XP app markers (build.gradle with com.enonic.xp), or existing Next.XP adapter references (@enonic/nextjs-adapter).
  2. Execute node scripts/find-nextxp-targets.mjs . to inventory Next.js projects, .env files with ENONIC_* variables, component mapping files (_mappings.ts), and Guillotine query files when a Node runtime is available.
  3. If a Node runtime is unavailable, inspect package.json, .env, and src/components/_mappings.ts manually to identify the integration surface.
  4. If the workspace contains both an Enonic XP app and a Next.js frontend, confirm which side the task targets before proceeding.
  5. If the workspace is not a Next.js + Enonic XP project, stop and explain that this skill does not apply.

Sponsors

Details

Repository
github.com/webmaxru/enonic-agent-skills
Categories
Frontend Development, Backend & APIs, Git & Pull Requests, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from webmaxru/enonic-agent-skills

All 12
1openstatushq avatardata-table-filtersopenstatushq/data-table-filtersInstall and extend data-table-filters — a React data table system with faceted filters (checkbox, input, slider, timerange), sorting, infinite scroll, virtualiz485skills.sh installs
2bobmatnyc avatarsupabase-backend-platformbobmatnyc/claude-mpm-skillsSupabase open-source Firebase alternative with Postgres, authentication, storage, and realtime subscriptions. Use when building full-stack applications requirin482skills.sh installs
3jezweb avatartiptapjezweb/claude-skillsBuild rich text editors with Tiptap - headless editor framework with React and Tailwind v4. Covers SSR-safe setup, image uploads, prose styling, and collaborati478skills.sh installs
4l3wi avatareda-pcbl3wi/claude-edaPCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.477skills.sh installs
5webmaxru avatarenonic-controller-generatorwebmaxru/enonic-agent-skillsGenerates Enonic XP controller files (TypeScript/JavaScript) and paired XML descriptors for pages, parts, and layouts. Covers lib-portal imports, HTTP handler e477skills.sh installs
6inertia-rails avatarinertia-rails-typescriptinertia-rails/skillsTypeScript type safety for Inertia Rails (React, Vue, Svelte): shared props, flash, and errors via InertiaConfig module augmentation in globals.d.ts. Use when s473skills.sh installs