use-workflow-pageshot

Solid

/pr の内部ヘルパー。PR 本文 (Preview URL + How to Test) を読み取り、agent-browser を駆動してスクリーンショット (1 step) または動画 (2+ step) を撮影し、/pr が gh pr create --attach に渡す成果物のパスを返す。

AI & Automation 12 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
37
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# use-workflow-pageshot ## 入力 PR 本文は `/pr` から文字列として渡される。下表のいずれかが欠落していれば、`mode=failed reason=<欠落フィールド名>` を返し、判断は `/pr` に任せる。 | フィールド | ソース | | ----------- | --------------------------------------------------------- | | Preview URL | PR 本文の冒頭にある `Preview URL: <URL>` 行 | | Steps | PR 本文の `## How to Test` セクション配下の番号付きリスト | ## ブラウザ engine すべての agent-browser 呼び出しに `--session pageshot --engine chrome` を付ける。既定の lightpanda は screenshot でプレースホルダー PNG を返す。 ## モード選択 | Steps の数 | モード | 成果物 | | ---------- | ---------- | ----------- | | 1 | screenshot | step-01.png | | 2+ | video | capture.mp4 | ## 実行 | ステップ | アクション | | -------- | ---------------------------------------------------------------------------- | | 1 | 出力ディレクトリを作成。`.claude/workspace/pageshot/$(date +%Y%m%d-%H%M%S)/` | | 2 | `agent-browser open {Preview URL}` | | 3 | モードに応じて Screenshot Flow または Video Flow を実行 | | 4 | 成果物の絶対パスを stdout に出力 | ## Screenshot Flow (1 step) | # | コマンド | | --- | ------------------------------------------------------------------------ | | 1 | `agent-browser snapshot` でアクセシビリティ��リーを取得 | | 2 | step に操作が含まれていれば `a...

Details

Author
thkt
Repository
thkt/dotclaude
Created
1 years ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category