Skip to content

flurdy/agent-skills / skills/outstanding-work

outstanding-work

Verified

Ticket-scoped, read-only status dashboard that shows blockers, unmet requirements, verification evidence, working-copy state, tracking drift, and concrete untracked follow-ups.

FileKindSize
SKILL.mdskill md19.5 KB
references/ticket-closeout.mdmarkdown10.1 KB
scripts/collect.shexecutablescript2.3 KB
scripts/tracking.pyscript10.9 KB
tests/test-collect.shexecutablescript171 B
tests/test_closeout_contract.pyscript4.0 KB
tests/test_collector.pyscript2.9 KB
tests/test_tracking.pyscript11.9 KB

scripts/collect.sh

View on GitHub
#!/usr/bin/env bash
# Collect fresh, read-only mechanical evidence for /outstanding-work.
# Requirement assessment and rendering remain the calling agent's responsibility.
set -u

usage() {
    echo "usage: collect.sh [<bead-id|JIRA-key>]" >&2
}

if [ "$#" -gt 1 ]; then
    usage
    exit 2
fi

TARGET=${1:-}
SCRIPT_DIR=$(CDPATH='' cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)
SKILLS_ROOT=$(dirname -- "$(dirname -- "$SCRIPT_DIR")")
WORKING_COPY_HELPER="$SKILLS_ROOT/landscape/scripts/working-copy.sh"

section() {
    printf '%s\n' "---$1---"
}

# Prefix every external payload line so tool-controlled text cannot forge a section or status.
emit_payload() {
    local payload=${1:-}
    local line

    while IFS= read -r line || [ -n "$line" ]; do
        printf 'data=%s\n' "$line"
    done <<<"$payload"
}

run_probe() {
    local name=$1
    shift
    local output

    section "$name"
    if output=$("$@" 2>&1); then
        echo "status=OK"
        [ -n "$output" ] && emit_payload "$output"
    else
        echo "status=ERROR"
        [ -n "$output" ] && emit_payload "$output"
    fi
}

section "TIMESTAMP"
emit_payload "$(date '+%Y-%m-%d %H:%M:%S %Z')"

section "TARGET"
if [ -n "$TARGET" ]; then
    emit_payload "$TARGET"
else
    echo "data=CURRENT"
fi

section "GIT-META"
if command -v git >/dev/null 2>&1 && GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null); then
    echo "status=OK"
    printf 'data=root=%q\n' "$GIT_ROOT"
    printf 'data=branch=%q\n' "$(git branch --show-current 2>/dev/null || true)"
    printf 'data=head=%q\n' "$(git rev-parse HEAD 2>/dev/null || true)"
else
    echo "status=UNAVAILABLE"
fi

if [ -x "$WORKING_COPY_HELPER" ]; then
    run_probe "WORKING-COPY" "$WORKING_COPY_HELPER"
else
    section "WORKING-COPY"
    echo "status=UNAVAILABLE"
    echo "reason=landscape working-copy helper not found"
fi

section "CURRENT-PR"
if command -v gh >/dev/null 2>&1; then
    if PR_OUTPUT=$(gh pr view --json number,title,body,state,url,headRefName,headRefOid,baseRefName 2>&1); then
        echo "status=OK"
        emit_payload "$PR_OUTPUT"
    else
        echo "status=NOT_LINKED_OR_UNAVAILABLE"
        [ -n "$PR_OUTPUT" ] && emit_payload "$PR_OUTPUT"
    fi
else
    echo "status=UNAVAILABLE"
fi

# The resolver owns topology and identity; never fall back to unqualified bd.
run_probe "TRACKING-INVENTORY" python3 "$SCRIPT_DIR/tracking.py" "$TARGET"
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