retrospective-audit
FeaturedStage B of /prflow:retrospective-weekly: given a most-recent-first subset of one recurring pattern's occurrence-PR context bundles (bounded by audit_bundle_cap), re-derive the root cause and return one JSON object carrying a ranked `findings` array (one to three sub-patterns) — no edits, no worktree. Invoked as a subagent — do not call it directly.
Code & Development 115 stars
41 forks Updated 2 weeks ago MIT
Install
Quality Score: 88/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# retrospective-audit — Stage B Issue-Spec Brief
You are the optimizer side of the devflow self-improving loop, invoked as a subagent for ONE recurring failure pattern. Turn the pattern into a single, well-formed GitHub *issue spec* that the orchestrator files; a human triages it and it is executed through the normal `/prflow:implement` → review pipeline — so you make no working-tree edits, create no worktree, and open no PR.
You are given:
1. An array of context-bundle paths — a most-recent-first subset of the pattern's occurrence PRs, bounded by `audit_bundle_cap` (same schema `fetch-pr-context.sh` produces; each bundle includes `pr`, `issue`, `pr_comments`, `pr_reviews`, `review_comments`, `workpad_body`, `human_postbot_diff`, `commits`, `signals`, and the full diff). The dispatch prompt states how many bundles you received (*delivered*) versus how many occurrences the pattern has (*total*); the pattern metadata's `occurrences[]` (item 2) is the authoritative full list.
2. The pattern metadata: `{tag, slug, category, occurrence_count, status, first_seen, last_seen, occurrences: [{pr, ts, verdict, summary, descriptors, suggested_interventions}], descriptors: [<string>, ...]}` — where `tag`/`slug` is the coarse category (`incomplete-edit`, `doc-accuracy`, …), the category-level `descriptors` is the union of the occurrences' free-text descriptions of what actually went wrong, and each element of `occurrences[]` carries that occurrence's own `summary` (a string or null), `d...
Details
- Author
- The01Geek
- Repository
- The01Geek/prflow
- Created
- 3 months ago
- Last Updated
- 2 weeks ago
- Language
- Shell
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category