collection

Create Momentum CMS collections with fields, access control, and hooks.

7|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/DonaldMurillo/momentum-cms --skill collection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: collection
Source: https://github.com/DonaldMurillo/momentum-cms/tree/main/.claude/skills/collection
Command: npx skills add https://github.com/DonaldMurillo/momentum-cms --skill collection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of Momentum CMS collections, including field definitions, access rules, and hooks, reducing repetitive setup and ensuring consistency across projects.

Core Features & Use Cases

  • Define a new collection with a complete schema including slug, admin settings, and hooks.
  • Support common field types (text, richText, number, date, checkbox, select, relationship, array) to model rich content.
  • Provide scaffolding and export guidance for collections to streamline project bootstrapping.
  • Use case: rapidly initialize a new content area like "posts" or "products" with standard permissions and UI behavior.

Quick Start

Use the collection skill to generate a new Momentum CMS collection by following the template at collections/<name>.collection.ts, export it from collections/index.ts, and then run the schema generation steps: nx run db-drizzle:generate-schema npx drizzle-kit generate

Frequently Asked Questions about collection

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

FAQPage Schema
How do I create a Momentum CMS collection with fields and access control?

You can generate a Momentum CMS collection by defining a schema with slug, admin settings, access rules, hooks, and common field types like text, richText, number, date, and relationship to model rich content.

How do I scaffold a new content type in Momentum CMS?

Scaffold a new content type by generating a collection file following the <name>.collection.ts template, then export it from collections/index.ts to streamline project bootstrapping and standardize UI behavior across the application.

What field types are supported when defining a Momentum CMS collection schema?

Supported field types for Momentum CMS collection schemas include text, richText, number, date, checkbox, select, relationship, and array. These allow you to model rich content for areas like posts or products.

What steps are required to export and generate a database schema for Momentum CMS collections?

After exporting your collection from collections/index.ts, run the database schema generation steps: execute 'nx run db-drizzle:generate-schema' followed by 'npx drizzle-kit generate' to finalize the Momentum CMS collection setup.

Can I configure admin settings and hooks when generating Momentum CMS collections?

Yes, generating a Momentum CMS collection enforces a complete definition that includes admin settings and hooks alongside the slug and access control, ensuring standard permissions and consistent UI behavior.