Add automated testing to ensure README examples stay accurate and in sync with CLI behavior.
Approach:
- Create
pnpm run doc-test script
- Extract and run key examples (thread add/list, audit)
- Verify output matches documented examples
- Run in CI on every PR
Benefits:
- Prevents documentation drift
- Catches breaking changes early
- Increases confidence in examples
File: README.md
Review: docs/agents/prs/reviews/amp/feat-thread-command.md
Add automated testing to ensure README examples stay accurate and in sync with CLI behavior.
Approach:
pnpm run doc-testscriptBenefits:
File: README.md
Review: docs/agents/prs/reviews/amp/feat-thread-command.md