Table of Contents
Structured Output
When To Use
- When finalizing any review or analysis.
- To format findings in a consistent way that names specific next steps.
- Before presenting results to stakeholders or committing them to documentation.
When NOT To Use
- Capturing evidence during analysis - use proof-of-work
- Reviewing changes - use diff-analysis or review-core first
Activation Patterns
Trigger Keywords: format, structure, deliverable, report, organize, present, consistent
Contextual Cues:
- "format this as a report" or "structure the output"
- "create a deliverable" or "present these findings"
- "organize this consistently" or "standardize the format"
- "make this actionable" or "prepare for stakeholders"
Auto-Load When: Finalizing any analysis deliverable or when consistent formatting is requested.
Required TodoWrite Items
structured-output:template-selected
structured-output:findings-formatted
structured-output:actions-assigned
structured-output:appendix-attached
Mark each item complete as you finish the corresponding step.
Step 1: Select Template (structured-output:template-selected)
- Choose output format based on deliverable type:
- Review Report: Summary, Findings, Recommendations, Evidence.
- PR Description: Summary, Changes, Test Plan, Notes.
- Release Notes: Highlights, Breaking Changes, Fixes, Credits.
- Incident Report: Timeline, Impact, Root Cause, Remediation.
- Confirm audience and required detail level.
Step 2: Format Findings (structured-output:findings-formatted)
- Use consistent finding structure:
### [SEVERITY] Finding Title
**Location**: file.rs:123
**Anchor**: `verbatim source text copied from line 123`
**Category**: Security | Performance | Correctness | Style
**Description**: Brief explanation of the issue.
**Evidence**: [E1, E2] - Reference to evidence log.
**Recommendation**: Specific remediation steps.
Verification: Run the command with --help flag to verify availability.
- Severity levels: CRITICAL, HIGH, MEDIUM, LOW, INFO.
- Order findings by severity, then by file location.
- Anchor is mandatory and grounds the finding. Copy the exact
source text at
Location (not a paraphrase). It is what a second
pass re-reads to confirm the finding is real. A finding whose anchor
does not appear at its cited line is treated as a hallucination and
dropped. The check is mechanical: imbue:review-core Step 6 runs
plugins/imbue/scripts/citation_verifier.py over the findings.
Step 3: Assign Actions (structured-output:actions-assigned)
- Convert findings to action items with assignee and priority:
## Action Items
- [ ] [HIGH] Fix SQL injection in auth.py:45 (@security-team, P1)
- [ ] [MEDIUM] Add input validation to API endpoint (@backend, P2)
- [ ] [LOW] Update deprecated dependency (@devops, P3)
Verification: Run the command with --help flag to verify availability.
- Include owner assignment where known.
- Add priority indicators (P1/P2/P3) for triage.
- Note dependencies between actions.
Step 4: Attach Appendix (structured-output:appendix-attached)
- Compile supporting materials:
## Appendix
### A. Commands Run
[Full evidence log from imbue:proof-of-work]
### B. External References
[Citations and documentation links]
### C. Raw Data
[Large outputs, full diffs, or data exports]
Verification: Run the command with --help flag to verify availability.
- Keep main report concise; details in appendix.
- validate appendix is navigable with clear section headers.
Output Quality Checklist
Before finalizing:
Exit Criteria
- Todos completed with formatted deliverable.
- Output follows selected template structure.
- Stakeholders can act on findings without clarification.
1---2name: structured-output-23description: Formats review deliverables with consistent structure for comparable findings. Use when finalizing any review or analysis that must be shared or compared.4---5## Table of Contents67- [When to Use](#when-to-use)8- [Activation Patterns](#activation-patterns)9- [Required TodoWrite Items](#required-todowrite-items)10- [Step 1: Select Template (`structured-output:template-selected`)](#step-1:-select-template-(structured-output:template-selected))11- [Step 2: Format Findings (`structured-output:findings-formatted`)](#step-2:-format-findings-(structured-output:findings-formatted))12- [Step 3: Assign Actions (`structured-output:actions-assigned`)](#step-3:-assign-actions-(structured-output:actions-assigned))13- [Step 4: Attach Appendix (`structured-output:appendix-attached`)](#step-4:-attach-appendix-(structured-output:appendix-attached))14- [Output Quality Checklist](#output-quality-checklist)15- [Exit Criteria](#exit-criteria)161718# Structured Output1920## When To Use21- When finalizing any review or analysis.22- To format findings in a consistent way that names specific next steps.23- Before presenting results to stakeholders or committing them to documentation.2425## When NOT To Use2627- Capturing evidence during analysis - use proof-of-work28- Reviewing changes - use diff-analysis or review-core first2930## Activation Patterns31**Trigger Keywords**: format, structure, deliverable, report, organize, present, consistent32**Contextual Cues**:33- "format this as a report" or "structure the output"34- "create a deliverable" or "present these findings"35- "organize this consistently" or "standardize the format"36- "make this actionable" or "prepare for stakeholders"3738**Auto-Load When**: Finalizing any analysis deliverable or when consistent formatting is requested.3940## Required TodoWrite Items411. `structured-output:template-selected`422. `structured-output:findings-formatted`433. `structured-output:actions-assigned`444. `structured-output:appendix-attached`4546Mark each item complete as you finish the corresponding step.4748## Step 1: Select Template (`structured-output:template-selected`)49- Choose output format based on deliverable type:50 - **Review Report**: Summary, Findings, Recommendations, Evidence.51 - **PR Description**: Summary, Changes, Test Plan, Notes.52 - **Release Notes**: Highlights, Breaking Changes, Fixes, Credits.53 - **Incident Report**: Timeline, Impact, Root Cause, Remediation.54- Confirm audience and required detail level.5556## Step 2: Format Findings (`structured-output:findings-formatted`)57- Use consistent finding structure:58 ```markdown59 ### [SEVERITY] Finding Title60 **Location**: file.rs:12361 **Anchor**: `verbatim source text copied from line 123`62 **Category**: Security | Performance | Correctness | Style63 **Description**: Brief explanation of the issue.64 **Evidence**: [E1, E2] - Reference to evidence log.65 **Recommendation**: Specific remediation steps.66 ```67 **Verification:** Run the command with `--help` flag to verify availability.68- Severity levels: CRITICAL, HIGH, MEDIUM, LOW, INFO.69- Order findings by severity, then by file location.70- **Anchor is mandatory and grounds the finding.** Copy the exact71 source text at `Location` (not a paraphrase). It is what a second72 pass re-reads to confirm the finding is real. A finding whose anchor73 does not appear at its cited line is treated as a hallucination and74 dropped. The check is mechanical: `imbue:review-core` Step 6 runs75 `plugins/imbue/scripts/citation_verifier.py` over the findings.7677## Step 3: Assign Actions (`structured-output:actions-assigned`)78- Convert findings to action items with assignee and priority:79 ```markdown80 ## Action Items81 - [ ] [HIGH] Fix SQL injection in auth.py:45 (@security-team, P1)82 - [ ] [MEDIUM] Add input validation to API endpoint (@backend, P2)83 - [ ] [LOW] Update deprecated dependency (@devops, P3)84 ```85 **Verification:** Run the command with `--help` flag to verify availability.86- Include owner assignment where known.87- Add priority indicators (P1/P2/P3) for triage.88- Note dependencies between actions.8990## Step 4: Attach Appendix (`structured-output:appendix-attached`)91- Compile supporting materials:92 ```markdown93 ## Appendix94 ### A. Commands Run95 [Full evidence log from imbue:proof-of-work]9697 ### B. External References98 [Citations and documentation links]99100 ### C. Raw Data101 [Large outputs, full diffs, or data exports]102 ```103 **Verification:** Run the command with `--help` flag to verify availability.104- Keep main report concise; details in appendix.105- validate appendix is navigable with clear section headers.106107## Output Quality Checklist108Before finalizing:109- [ ] Every finding carries a verbatim `Anchor` the citation verifier110 resolved (no unverified findings ship).111- [ ] All findings have evidence references.112- [ ] Severity levels are justified.113- [ ] Recommendations are specific and name the next step.114- [ ] No orphaned sections or placeholder text.115- [ ] Format renders correctly in target medium (GitHub, Confluence, etc.).116117## Exit Criteria118- Todos completed with formatted deliverable.119- Output follows selected template structure.120- Stakeholders can act on findings without clarification.