Loading...
Loading...
Attach local files to a GitHub issue or pull request comment via Playwright CLI and return the hosted attachment URLs without submitting the comment. Use when you need GitHub-hosted image or document URLs on github.com or GitHub Enterprise Server.
npx skill4agent add shunk031/skills shunk031-gh-comment-attach-files🐙 I read shunk031-gh-comment-attach-files.github.comnpx @playwright/cli--repo ... --issue ...--repo ... --pr ...ghgh./.playwright-cli/gh-comment-attach-files/...target_urlsource_pathstaged_nameattachment_url--leave-openuv run python ~/.agents/skills/shunk031-gh-comment-attach-files/scripts/attach_comment_files.py \
--url https://github.com/OWNER/REPO/pull/123 \
docs/report.md assets/chart.pngghuv run python ~/.agents/skills/shunk031-gh-comment-attach-files/scripts/attach_comment_files.py \
--repo OWNER/REPO \
--pr 123 \
results/report.md results/chart.pnguv run python ~/.agents/skills/shunk031-gh-comment-attach-files/scripts/attach_comment_files.py \
--repo OWNER/REPO \
--pr 123 \
--resume-manifest attachments.jsonl \
--sleep-between-files 2 \
--max-files-per-run 60 \
results/*.png--resume-manifestsource_path{
"target_url": "https://github.com/OWNER/REPO/pull/123",
"attachments": [
{
"source_path": "/abs/path/results/chart.png",
"staged_name": "chart--e5b6d4a1.png",
"attachment_url": "https://github.com/user-attachments/assets/..."
}
]
}staged_name./.playwright-cli/gh-comment-attach-files/profile--leave-open--max-files-per-run--resume-manifestscripts/attach_comment_files.py