Add pr-screencast command and update claude settings (#2591)
## Summary
- Add new pr-screencast.md command for creating screencasts from PRs
- Update .claude/settings.json with latest configuration
## Test plan
- Verify the pr-screencast command is available in claude commands
- Test the command functionality with a sample PR
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2591"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Adds a pr-screencast command that records a screenshot-based walkthrough
for user-facing PRs and posts it as a new PR comment. Uses an assets
branch for image hosting and updates Claude settings to allow Playwright
tests and safe cleanup.
- New Features
- Adds .claude/commands/dyad/pr-screencast.md to detect the PR, skip
non-user-facing changes, generate a temporary Playwright script to
capture 2–4 screenshots, upload, post a walkthrough comment, then clean
up (with up to 3 retries on failures).
- Updates .claude/settings.json to allow npx playwright test and cleanup
commands; fixes glob patterns and the test assertion, creates the
screenshot dir inside the test, restricts rm paths, softens permission
prompts, and removes unused GitHub release and ffmpeg permissions.
<sup>Written for commit ed8bfa15f0da25f111fcd065b0d8d057c6e6691e.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by:
Will Chen <willchen90@gmail.com>
Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by:
claude[bot] <41898282+claude[bot]@users.noreply.github.com>
正在显示
请
注册
或者
登录
后发表评论