Skip to content

flurdy/agent-skills / skills/pr-status

pr-status

Verified

Show enriched status of your open PRs — CI checks, approvals, unresolved review threads, and linked Jira discussion, with transition-driven suggested next actions.

tests/test-feedback-contract.sh

View on GitHub
#!/usr/bin/env bash
set -euo pipefail

ROOT=$(CDPATH='' cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../../.." && pwd -P)
TILDE='~'
COLLECTOR="${TILDE}/.agents/skills/pr-status/scripts/gh-pr-feedback.py"

fail() {
    printf 'FAIL: %s\n' "$*" >&2
    exit 1
}

for skill in pr-status review-comments reply-comments watch-prs; do
    file="$ROOT/skills/$skill/SKILL.md"
    [[ -f "$file" ]] || fail "missing $file"
    grep -Fq -- "$COLLECTOR" "$file" || fail "$skill does not use the shared feedback inventory"
done

for invariant in \
    'stable `identity` plus `updatedAt`' \
    'new or materially edited' \
    'partial' \
    'read-only'; do
    grep -Fq -- "$invariant" "$ROOT/skills/pr-status/SKILL.md" \
        || fail "pr-status missing inventory invariant: $invariant"
done

grep -Fq -- 'Pending draft review comments are not observable' "$ROOT/skills/pr-status/SKILL.md" \
    || fail 'pending review visibility boundary is undocumented'
grep -Fq -- 'reply or resolution endpoint' "$ROOT/skills/reply-comments/SKILL.md" \
    || fail 'reply-comments does not preserve endpoint identity'
grep -Fq -- 'agent judgment' "$ROOT/skills/review-comments/SKILL.md" \
    || fail 'review-comments does not separate API classification from semantic judgment'

printf '%s\n' 'PR feedback inventory consumer contract passed'
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall