create-collection

Generate database migrations, API routes, UI pages, TypeScript types, and tests for DaaS collections.

1|Updated May 26, 2026
One-click install
npx skills add https://github.com/BaraArdiwinata/hackathon-sima-arome --skill create-collection-baraardiwinata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-collection
Source: https://github.com/BaraArdiwinata/hackathon-sima-arome/tree/main/.agents/skills/create-collection
Command: npx skills add https://github.com/BaraArdiwinata/hackathon-sima-arome --skill create-collection-baraardiwinata

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of setting up a new data entity in a DaaS application by automating the generation of database migrations, API routes, UI pages, TypeScript types, and tests.

Core Features & Use Cases

  • Database Migration: Generates the SQL migration for the new collection.
  • API Routes: Creates the API endpoints for the new collection.
  • UI Pages: Provides the list and form UI pages for the new collection.
  • TypeScript Types: Generates TypeScript type definitions for the new collection.
  • Tests: Provides API and page tests for the new collection.
  • Use Case: When adding a new collection, table, entity, or data model to a DaaS application, this Skill can automate the setup process.

Quick Start

Generate a collection module for 'users' with the required fields: name (text), age (number), email (text), and role (select: "admin", "user").

Frequently Asked Questions about create-collection

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

FAQPage Schema
How do I automate database migration and API route generation for a new DaaS collection?

You can automate database migration and API route generation for a new DaaS collection by using a generation tool that simultaneously outputs SQL migrations, API endpoints, and TypeScript types. This streamlines adding new data entities to your application.

What is the best way to generate UI pages and TypeScript types for a new data model?

The best way to generate UI pages and TypeScript types for a new data model is to use an automation script that creates list pages, form pages, and type definitions together. This ensures your frontend interfaces match your backend data structure instantly.

Can I automatically generate tests when creating API routes for a new collection?

Yes, you can automatically generate tests when creating API routes for a new collection. The automation process provides both API and page tests alongside the database migrations and UI pages, ensuring your new data entity is fully validated.

Does this collection creation approach work for adding any data entity to a DaaS application?

This collection creation approach works for adding any new collection, table, entity, or data model to a DaaS application. It is intended for applications that require a quick setup of new data entities by generating the complete module.

How do I set up a new collection module with fields like text, number, and select?

To set up a new collection module with fields like text, number, and select, you provide the entity name and required field definitions. The automation generates the database migrations, API routes, UI pages, and tests based on those inputs.