flurdy/agent-skills / skills/release-manager
release-manager
VerifiedAttended release gatekeeper: consume shared readiness verdicts, offer confirmed single-service pushes (publish_commit in Pi), track CI failures and rollouts, and recommend watch cadence. Maintenance and restarts are separately owned.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.8 KB |
| scripts/pact-graphexecutable | script | 5.9 KB |
| scripts/release-ciexecutable | script | 27.5 KB |
| scripts/release-orderexecutable | script | 10.0 KB |
| scripts/release-stateexecutable | script | 13.1 KB |
| tests/test-skill-contract.shexecutable | script | 3.4 KB |
| tests/test_release_ci.py | script | 20.6 KB |
| tests/test_release_order.py | script | 6.0 KB |
| tests/test_release_state.py | script | 14.3 KB |
tests/test-skill-contract.sh
View on GitHub#!/usr/bin/env bash
set -euo pipefail
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
fail() { printf 'FAIL: %s\n' "$*" >&2; exit 1; }
for script in release-order release-ci pact-graph release-state; do
[ -x "$SKILL_DIR/scripts/$script" ] || fail "missing executable $script adapter"
done
grep -Fq pact-graph "$SKILL_DIR/scripts/release-order" || fail 'order adapter must compose Pact'
skill="$SKILL_DIR/SKILL.md"
for required in 'Do not recompute' 'fresh authority result' 'exact command' 'only `READY`' 'Legacy maintenance state' 'next-tick:' 'upstream' 'malformed' 'one active manager'; do
grep -Fq "$required" "$skill" || fail "missing manager invariant: $required"
done
for required in 'away from keyboard' '"reason": "unanswered"' 'is not an answer' 'ask no further push question this tick' 'push <service>' '| Response | Executed |' 'Before the blocking question' 'explicit current answer' '`dismissed` or a tool failure' 'never precede it with `ask_user_question`'; do
grep -Fq -- "$required" "$skill" || fail "missing unanswered-prompt invariant: $required"
done
unanswered_line=$(grep -nF -- '**Unanswered:**' "$skill" | head -1 | cut -d: -f1)
table_line=$(grep -nF -- '| Response | Executed |' "$skill" | head -1 | cut -d: -f1)
[ -n "$unanswered_line" ] && [ -n "$table_line" ] && [ "$table_line" -lt "$unanswered_line" ] \
|| fail 'permission-request table must precede the unanswered outcome rules'
if grep -Eiq 'preselected[^.]*(counts|authoriz)' "$skill"; then
fail 'a preselected option must never count as an answer'
fi
if grep -Eq 'Bash\((kubectl|make k8s-sync|make feature-toggles-disabled|\./scripts/release-order)' "$skill"; then
fail 'recurring manager retains infrastructure mutation authority'
fi
if grep -Eq 'ln -sfn|chmod \+x|resourceVersion.*moves|ageBaseline.*fresh' "$skill"; then
fail 'recurring manager retains setup repair or heuristic restart confirmation'
fi
maintenance="$SKILL_DIR/../release-maintenance/SKILL.md"
for file in "$skill" "$maintenance"; do
allowed=$(grep -m1 '^allowed-tools:' "$file")
if printf '%s' "$allowed" | grep -Eq '"Write,|,Write,|,Write"'; then
fail "$(basename "$(dirname "$file")") must write release state only through release-state"
fi
printf '%s' "$allowed" | grep -Fq 'Bash(~/.agents/skills/release-manager/scripts/release-state:*)' \
|| fail "$(basename "$(dirname "$file")") must allow the release-state helper"
done
for required in 'release-state update --owner manager' 'publishing' 'conflict' 'begin-publication' 'finish-publication' 'publish_commit' 'token' 'ask for `/implement`' 'make git-push'; do
grep -Fq -- "$required" "$skill" || fail "missing coordinated state invariant: $required"
done
for required in 'release-state update --owner maintenance' 'resolve-publication'; do
grep -Fq -- "$required" "$maintenance" || fail "missing maintenance state invariant: $required"
done
for required in './scripts/release-order --write' 'never invoked by' 'one visible command' '--context' 'generation' 'Legacy maintenance state' 'acknowledge-rollout'; do
grep -Fq -- "$required" "$maintenance" || fail "missing isolated maintenance invariant: $required"
done
if grep -Eq 'Bash\((kubectl --context|\./scripts/mgit:\*)' "$maintenance"; then
fail 'maintenance must not blanket-preapprove mutating Git/Kubernetes commands'
fi
printf '%s\n' 'release action ownership contract tests passed'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |