skills/pr-workflow-stack-review-output/SKILL.md
Output contract for stack-wide reviewer subagents in pr-workflow. The JSON shape with per-PR and cross-PR findings, perPr key rules, cross-PR span fields, and the verify_output self-check protocol. Loaded into each stack-review reviewer subagent via --skill.
npx skillsauth add jitsusama/agentic-harness.pi pr-workflow-stack-review-outputInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Reply with a single fenced JSON block. No prose outside the block.
{
"perPr": {
"<prNumber>": [ <Finding>, ... ],
...
},
"crossPr": [ <CrossFinding>, ... ]
}
"101",
"205"). They must match the pattern /^[1-9][0-9]*$/.[] when that PR has no findings.location, label, subject, discussion, plus the
optional decorations, severity, confidence,
threadRelation fields.True cross-PR observations only. A finding belongs in
crossPr when its reasoning spans multiple PRs in the
stack and can't be expressed under any single PR.
Each cross-PR finding has:
location, label, subject,
discussion, etc.).homePrNumber — the PR where this finding should post.spans — non-empty array of PR numbers (integers, e.g.
[248, 250]) the finding refers to.Walk each PR in order. Before moving to the next PR,
decide every finding that belongs to the current PR and
place it under perPr["<number>"]. After the last PR, add
only true cross-PR observations under crossPr.
The subagent has access to the verify_output tool from
the pr-workflow-stack-review-verify extension. Before
finishing your run:
verify_output with output set to the object
you intend to emit (pass the object itself, not a
stringified copy).ok: true with the parsed item count,
or ok: false with a list of
{path, message, hint} errors.verify_output again.ok: true.If the verifier keeps reporting the same error after three attempts, emit your best attempt and the parent will surface the warnings.
development
Structure of a quest README and the documents that live under it: frontmatter shape, the four core and four optional body sections, emoji glyphs, ID format, alias notation, Cast bullets and Journey entries. Use when writing or editing a quest README, a plan, research, brief or report document under a quest. Pairs with quest-convention for choices like kind, promotion and reordering. Follow the prose-standard for voice.
tools
Operational conventions for the quest system: when to use a quest versus a subquest versus a sidequest, when to scaffold a plan or research document, how to reorder priorities, when to add optional sections, when to conclude versus retire, the resuscitate pattern. Use when driving the quest tool, deciding kind, promoting or parking work, or organising a project as quests. Pairs with quest-format for the on-disk shape.
development
Markdown structure rules: Title Case headings with their exceptions, the line-width target and its legitimate exceptions, reference-style links, fenced code blocks with language tags, tables and lists. Use when writing or editing any markdown file (README, AGENTS, docs, plans, skill files), or when adding a heading, link, table or code block. Owns markdown structure; pairs with prose-standard, which owns voice, grammar, spelling and punctuation.
tools
How to measure whether convention corrections keep recurring in the pi session logs, by category and by week. Use to record a baseline before the convention gates take effect and to re-run afterwards to confirm the recurring categories bend down. Pairs with the convention gates (pr-guardian, issue-guardian, commit-guardian, slack-integration) and the convention-context extension.