Transaction consistency designer

From JetBrains/skills · View interactive version

Transaction consistency designer is an AI agent skill from the GitHub repository JetBrains/skills. Design safe transaction boundaries, rollback behavior, idempotency, locking, and consistency strategies for Kotlin + Spring business workflows. Use when a feature writes to the database, spans multiple repositories, publishes messages, calls external systems, suffers from partial commits or duplicat

How to use this skill

Skill file

Transaction Consistency Designer

Source mapping: Tier 1 critical skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-09).

Mission

Place transaction boundaries where business invariants are actually enforced, not where annotations are easiest to type.

Prevent data loss, duplicate side effects, and hidden consistency bugs.

Gather These Inputs

Model The Workflow Explicitly

Decision Rules

Spring-Specific Checks

Anti-Patterns To Flag

Advanced Consistency Nuances

Expert Heuristics

Output Contract

Return these sections:

Guardrails

Quality Bar

A good run of this skill turns a vague workflow into explicit consistency boundaries and testable invariants.

A bad run decorates methods with @Transactional without modeling failure paths, retries, and side effects.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.