src/bmm-skills/4-implementation/bmad-checkpoint-preview/generate-trail.md
Generate a review trail from the diff and codebase context. A generated trail is lower quality than an author-produced one, but far better than none.
path:line stops — locations where the concern is most visible. Prefer entry points, decision points, and boundary crossings over mechanical changes.path:line per the global step rules:**{Concern name}**
- {one-line framing, ≤15 words}
`src/path/to/file.ts:42`
When there is only one concern, omit the bold label — just list the stops directly.
Output after the orientation:
I built a review trail for this {change_type} (no author-produced trail was found):
{generated trail}
The generated trail serves as the Suggested Review Order for subsequent steps. Set review_mode to full-trail — a trail now exists, so all downstream steps should treat it as one.
If git is unavailable or the diff cannot be retrieved, return to step-01 with: "Could not generate trail — git unavailable."