All review commands support an --output flag to save the result to a markdown file.
git diff main | greybeard analyze --output review.md# Create a dated review file
git diff main | greybeard analyze \
--output "reviews/$(date +%Y-%m-%d)-auth-migration.md"cat design-doc.md | greybeard analyze \
--mode mentor \
--pack oncall-future-you \
--output reviews/design-doc-review.mdgreybeard self-check \
--context "Adding a new microservice for notifications" \
--output self-check-2024-03-01.mdOutput is always structured Markdown:
## Summary
...
## Key Risks
...
## Tradeoffs
...
## Questions to Answer Before Proceeding
...
## Suggested Communication Language
...
---
*Assumptions: ...*Some teams commit greybeard reviews alongside their PRs or ADRs:
docs/
decisions/
2024-03-01-auth-migration.md # the ADR
2024-03-01-auth-migration-review.md # the greybeard review