بنقرة واحدة
go-debug-flow
Minimal Go build, test, debug, and lint workflow for pacman.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Minimal Go build, test, debug, and lint workflow for pacman.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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.
Maintain PACMAN-native and Patroni-compatible API contracts.
PACMAN domain rules for cluster state transitions and operation history.
Rules for PACMAN control-plane quorum, leases, epochs, fencing, and split-brain prevention.
| name | go-debug-flow |
| description | Minimal Go build, test, debug, and lint workflow for pacman. |
Start narrow. Run package-level tests before broader targets.
go test -count=1 ./internal/controlplanego test -count=1 ./internal/agentgo test -count=1 ./tools/jepsenctl/cmd-run '^TestName$' -v.-count=20 before widening scope.go test ./... only after targeted tests pass or when shared contracts
changed.go test usually compiles enough.make lint or golangci-lint run when touching style-sensitive or
shared packages.Debugging hints: