No slash command · from mainframe-natural-adabas-classic
Defines PostgreSQL 16 and Flyway migration conventions for SIFAP: schema evolution, numeric precision, MU/PE mapping, index evidence, and rollback strategy. Use when editing persistence code or migrations.
Ships in mainframe-natural-adabas-classic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
These instructions apply to the PostgreSQL 16 workshop baseline and its persistence adapters. They are authoritative for migration safety, numeric precision, index evidence, and Flyway behavior; approved data ADRs and the actual target schema define domain ownership.
CREATE INDEX CONCURRENTLY outside a transaction and configure the Flyway script accordingly.U<version>__... naming and a confirmed edition that supports it;
otherwise use forward compatibility plus tested backup/restore.IF NOT EXISTS; verify the existing object.NUMERIC/BigDecimal with explicit precision and scale.| Rule | Rationale |
|---|---|
| Applied migrations are immutable | Flyway history and shared environments stay reproducible. |
| Concurrent indexes disable script transactions | PostgreSQL rejects them inside transaction blocks. |
| Relational mapping is the structured-data default | Query and integrity semantics remain explicit. |
| Indexes require workload evidence | Unused indexes add write and maintenance cost. |
| Do | Do not |
|---|---|
| Test migrations on representative disposable data | Claim a staging run that did not occur |
| Use resumable bounded backfills | Backfill a large table in one transaction |
| Compare decimal values exactly | Use binary floating point for financial values |
| Record JSONB trade-offs in an ADR | Use JSONB as an automatic MU/PE mapping |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin mainframe-natural-adabas-classic25 skills in this plugin
/adabas-postgresql-migrationModel Adabas files, DDM and FDT definitions, MU and PE structures, packed and unpacked numerics, descriptors, and ISN identity as a PostgreSQL schema, then prove equivalence with recorded reconciliation numbers. Use when designing or reviewing an Adabas to PostgreSQL data migration, mapping legacy field formats to column types, deciding child-table versus array storage, or verifying that migrated data matches the legacy source./code-modernizationUse this skill when the user asks to modernize legacy code with a disciplined GitHub Copilot workflow: brief, assess, map, extract business rules, reimagine architecture, transform modules, and harden with tests and security review. Trigger for COBOL, JCL, legacy Java, .NET, C++, classic ASP, monolith modernization, behavior-preserving rewrite, business-rule extraction, modernization assessment, or legacy-to-modern transformation./create-architectural-decision-recordCreate an Architectural Decision Record (ADR) as a structured Markdown document with front matter, coded consequences, alternatives, implementation notes, and references. Use when the user asks to document an architecture decision, create an ADR, capture alternatives and trade-offs, or save a decision under docs/adr.Other plugins' skills for the same job