review-export · v1.0.0 · 2026-09-30 · sha256 4d6776b16be721d7

review-export v1.0.0A

Immutable. This exact content never changes and is served at /api/v1/blob/4d6776b16be721d7.

---
name: review-export
description: Export CocoReview reports as markdown, html, or pdf-ready status artifacts. Usage: $review export markdown|html|pdf [report-path].
version: "1.0.0"
author: CocoPlus
tags:
  - cocoreview
  - export
user-invocable: true
blocking: false
---

Your objective is to export a CocoReview report for stakeholders outside git.

## Command Forms

- `$review export markdown [report-path]`
- `$review export html [report-path]`
- `$review export pdf [report-path]`

If `report-path` is omitted, use the newest `.cocoplus/review/cocoreview-*.md`.

Run:

```text
invoke reporting/report-export --source <report-path> --format <markdown|html|pdf> --out-dir .cocoplus/review/exports
```

Markdown and HTML exports are generated locally. PDF export reports `renderer_unavailable` unless a future renderer profile is configured; do not fake a PDF by renaming another format.

## Exit Criteria

- The source review report exists before export.
- Markdown and HTML exports write files under `.cocoplus/review/exports/`.
- PDF requests return a clear renderer-unavailable result rather than failing silently.

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Treat the skill as complete because the file exists | Skill contracts must describe observable behavior and verification, not just command names. |
| Skip artifact and safety checks for a small command | Small commands still mutate state or guide execution; preserve the same gates. |