Skip to content

feat(review): add review-voice convention pack to /uf.review-pr #657

Closed

Description

@jflowers

What happens

The /uf.review-pr command produces findings in a fixed prose style. There is no mechanism for users to customize the review voice (sentence style, framing approach, tone) through the convention pack system. Users who want a different review voice must edit the scaffolded command file directly, which uf init overwrites on upgrade.

What should happen

The review command should load a review-voice.md convention pack (and review-voice-custom.md override) alongside the existing language packs, and apply those rules when formatting prose output in Steps 5 and 7.

Proposed design:

  1. Ship a default review-voice.md pack with neutral review tone defaults (sentence length guidance, standard framing). Scaffolded by uf init into .opencode/uf/packs/.

  2. Add a Step 4.5 to the review command (between the subagent return and Step 5 Output Format) that reads review-voice.md and review-voice-custom.md if present, following the same override pattern as go.md / go-custom.md.

  3. Apply voice rules only to prose — findings, summary, verdict justification, and GitHub comment bodies. Not to CI tables, Walkthrough tables, or tool output.

The -custom.md override survives uf init (consistent with existing -custom.md semantics), so users can maintain their review voice across upgrades without local command edits.

Context

The existing pack system already supports this pattern. Step D in the subagent loads default.md, language packs, and -custom.md overrides. Review voice is the same concept applied to output formatting rather than code analysis rules. A review-voice-custom.md pack already works today if the command knows to read it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions