npx claudepluginhub martinellich/aiup-marketplace --plugin aiup-vaadin-jooqWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Creates versioned Flyway database migration scripts (V*.sql) with sequences, tables, constraints, and foreign keys from the entity model. Use when the user asks to "create a migration", "generate SQL scripts", "set up database tables", "write a Flyway migration", or mentions schema migration, DB migration, database versioning, or SQL migration files.
This skill uses the workspace's default tool permissions.
Flyway Migration
Instructions
Create Flyway database migration scripts based on docs/entity_model.md.
Use sequences for primary keys.
DO NOT
- Use auto-increment for primary keys (use sequences instead)
- Create migrations that drop existing tables without explicit user confirmation
- Skip foreign key constraints defined in the entity model
File Naming Convention
Flyway versioned migrations follow this naming pattern:
V001__create_room_type_table.sql
V002__create_guest_table.sql
V003__create_reservation_table.sql
Example Migration
-- V001__create_room_type_table.sql
CREATE SEQUENCE room_type_seq START WITH 1 INCREMENT BY 1 CACHE 50;
CREATE TABLE room_type
(
id BIGINT DEFAULT nextval('room_type_seq') PRIMARY KEY,
name VARCHAR(50) NOT NULL UNIQUE,
description VARCHAR(500),
capacity INTEGER NOT NULL CHECK (capacity BETWEEN 1 AND 10),
price DECIMAL(10, 2) NOT NULL CHECK (price >= 0)
);
Workflow
- Read
docs/entity_model.md - Read existing migrations to determine the next version number
- Create sequence definitions for each entity
- Create table definitions with columns, constraints, and foreign keys
- Order tables so that referenced tables are created before referencing tables
- Validate the migration:
- Verify all entities from the entity model have corresponding tables
- Verify all foreign keys reference tables that are created in the same or earlier migration
- Verify sequence names follow the pattern
{table_name}_seq - Verify the SQL syntax is valid for the target database
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.