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

tests/test_closeout_contract.py

View on GitHub
"""Static workflow regression scenarios, not model-executed semantic assurance.

Each synthetic case names evidence and the instruction that must survive editing.
Runtime collector behavior is tested separately; the live trial tests agent interpretation.
"""
import unittest
from pathlib import Path

ROOT = Path(__file__).resolve().parents[3]

SCENARIOS = [
    ("partial_pr", "PR merged; AC2 not in that PR", "NOT READY", "A PR slice never satisfies an unmapped ticket requirement."),
    ("other_store", "Jira Done; another proven store has a deferred required bead", "NOT READY", "Include required open, in-progress, blocked and deferred work across proven stores."),
    ("closed_at_creation", "Bead closed; PR still open", "NOT READY", "A closed bead is not evidence of merge, rollout or Jira completion."),
    ("approved_deviation", "Exact product approval; replacement implemented, verified and delivered", "READY", "An approved change still needs replacement acceptance evidence."),
    ("unapproved_deviation", "Implementation comment calls changed copy deliberate; no approval", "INCOMPLETE", "An implementation comment is not scope approval."),
    ("lost_baseline", "Only current Jira description available", "INCOMPLETE", "Do not invent the original request or reconstruct approval from timestamps."),
    ("unread_design", "Figma unavailable and Confluence page cap reached", "INCOMPLETE", "A required unread source or material traversal omission blocks READY."),
    ("conflict", "Jira requires all brands; authoritative design contradicts it", "NOT READY", "Unresolved requirement conflicts are NOT READY."),
    ("stale_checks", "CI green on old PR head, new changes untested", "INCOMPLETE", "Evidence from different revisions cannot be combined into one passing snapshot."),
    ("store_failure", "One store unavailable; no matches in another", "INCOMPLETE", "A partial inventory never proves absence of outstanding work."),
    ("optional_followup", "Required work complete; separately agreed optional improvement open", "READY", "An explicitly separate optional follow-up is not automatically a ticket blocker."),
    ("complete", "All required sources read; acceptance, checks and applicable delivery proven", "READY", "READY requires all required obligations satisfied with cited current evidence."),
]


class CloseoutContractTests(unittest.TestCase):
    def test_synthetic_scenarios_retain_their_guardrails(self):
        path = ROOT / "skills/outstanding-work/references/ticket-closeout.md"
        self.assertTrue(path.is_file(), "ticket-wide workflow missing")
        contract = " ".join(path.read_text().split())
        for name, evidence, expected, rule in SCENARIOS:
            with self.subTest(scenario=name, evidence=evidence, expected=expected):
                self.assertIn(rule, contract)

    def test_prompt_is_thin_read_only_composition(self):
        path = ROOT / "prompts/ticket-closeout.md"
        self.assertTrue(path.is_file(), "thin prompt missing")
        text = path.read_text()
        for phrase in ("$ARGUMENTS", "outstanding-work", "ticket-wide", "report-only", "verify-task", "Do not"):
            self.assertIn(phrase, text)
        self.assertLess(len(text.splitlines()), 30)
        for phrase in ("run /complete-task", "run /total-review", "bd close", "jira transition"):
            self.assertNotIn(phrase, text)

    def test_mode_catalog_and_bounds_are_documented(self):
        skill = (ROOT / "skills/outstanding-work/SKILL.md").read_text()
        self.assertIn("ticket-wide", skill)
        self.assertIn("TRACKING-INVENTORY", skill)
        self.assertNotIn("bd search --external-contains", skill)
        self.assertIn("ticket-closeout.md", (ROOT / "prompts/README.md").read_text())
        ref = ROOT / "skills/outstanding-work/references/ticket-closeout.md"
        self.assertTrue(ref.is_file())
        contract = ref.read_text()
        for term in ("5 Confluence", "2 Figma", "20 PR", "source ledger", "deviation ledger", "NOT ASSESSED", "definition of Done"):
            self.assertIn(term, contract)


if __name__ == "__main__":
    unittest.main()
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