with one click
api-contract
Maintain PACMAN-native and Patroni-compatible API contracts.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Maintain PACMAN-native and Patroni-compatible API contracts.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Require a concrete change explanation and explicit user approval before modifying a repository, then implement and verify the approved scope. Use whenever Codex is asked to create, edit, delete, generate, format, refactor, fix, upgrade, or otherwise mutate repository files, dependencies, configuration, tests, documentation, build artifacts, or version-control state.
Repository layout for the pacman Go PostgreSQL HA cluster manager.
Use when inspecting GitHub Actions, CI failures, failed Go tests, workflow logs, or build/lint/test errors. Avoid reading full logs; summarize failed jobs and inspect only relevant snippets.
PACMAN domain rules for cluster state transitions and operation history.
Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention.
Minimal Go build, test, debug, and lint workflow for pacman.
| name | api-contract |
| description | Maintain PACMAN-native and Patroni-compatible API contracts. |
Use when touching HTTP handlers, API models, OpenAPI, or Patroni compatibility.
Primary locations:
internal/httpapi: handlers, middleware, server behavior.internal/api, internal/api/native: shared API contract types.docs/api-contract.md: contract guidance.docs/openapi/**, docs/openapi.yaml: OpenAPI source and combined spec.internal/app/pacmanctl: client-facing command behavior.Rules: