jahia-dev-define-content-type

Convert natural language specs into Jahia CND definitions and TypeScript types.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Jahia/formidable --skill jahia-dev-define-content-type
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jahia-dev-define-content-type
Source: https://github.com/Jahia/formidable/tree/main/.agents/skills/jahia-dev-define-content-type
Command: npx skills add https://github.com/Jahia/formidable --skill jahia-dev-define-content-type

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

All Jahia development starts with content modeling. Content types are defined in Compact Node Definition (CND) files. This Skill provides a structured, repeatable workflow to model content types using the Single Directory Component (SDC) pattern, ensuring consistent, deployable definitions.

Core Features & Use Cases

  • Stepwise guidance from identifying component location, choosing the namespace, writing the CND, creating TypeScript types, to adding translations and icons, and deploying to Jahia.
  • Supports end-to-end workflow for creating new content types, extending existing ones, and packaging for deployment.
  • Real-world example templates and best-practice patterns for mixins, constraints, and link patterns.

Quick Start

Provide a natural language spec for the content type and run the jahia-dev-define-content-type skill to generate the CND, TypeScript types, translations, and deployment assets.

Frequently Asked Questions about jahia-dev-define-content-type

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Jahia CND file from a natural language specification?

To generate a Jahia CND file from natural language, you provide a plain text content type specification and the tool outputs a deployable package containing the CND definition, TypeScript types, translations, and an asset icon.

What is the best way to model Jahia content types using the Single Directory Component pattern?

Modeling Jahia content types with the SDC pattern involves stepwise guidance from identifying component location and namespace to writing the CND, creating TypeScript types, adding translations, and deploying the package.

How do I create TypeScript types for Jahia content type definitions?

You create TypeScript types for Jahia content type definitions by passing a natural language spec to the modeling workflow, which automatically generates a types.ts file alongside the CND and translation assets.

Can I update existing Jahia content types and mixins without manual CND editing?

Yes, you can update existing Jahia content types and mixins by providing the updated natural language specifications, which the tool converts into revised CND definitions, constraints, and link patterns.

Do I need to manually package Jahia definitions, translations, and icons for deployment?

No, you do not need to manually package Jahia definitions, translations, and icons; the workflow produces a ready-to-deploy package containing the CND, types.ts, translations, and asset icon.

What are the limitations of using natural language to define Jahia CND definitions?

Using natural language to define Jahia CND definitions limits granular control over complex syntax, as the automated generation relies on standard SDC patterns, mixins, and constraints applied to the provided spec.