enonic-nextxp-integration
Installation
SKILL.md
Next.js + Enonic XP Headless Integration (Next.XP)
Procedures
Step 1: Identify the workspace integration surface
- Inspect the workspace for Next.js entry points (
next.config.*,package.jsonwithnextdependency), Enonic XP app markers (build.gradlewithcom.enonic.xp), or existing Next.XP adapter references (@enonic/nextjs-adapter). - Execute
node scripts/find-nextxp-targets.mjs .to inventory Next.js projects,.envfiles withENONIC_*variables, component mapping files (_mappings.ts), and Guillotine query files when a Node runtime is available. - If a Node runtime is unavailable, inspect
package.json,.env, andsrc/components/_mappings.tsmanually to identify the integration surface. - If the workspace contains both an Enonic XP app and a Next.js frontend, confirm which side the task targets before proceeding.
- If the workspace is not a Next.js + Enonic XP project, stop and explain that this skill does not apply.