home/dot_config/exact_agents/skills/gh-comment-attach-files/SKILL.md
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 skillsauth add shunk031/dotfiles gh-comment-attach-filesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
🐙 私は gh-comment-attach-files を読みました。Use this skill when you need GitHub to host local files and give back anonymized attachment URLs, but you do not want Codex to submit the issue or pull request comment itself.
Typical cases:
github.com or GitHub Enterprise Server.Do not use this skill when the task is to actually post, edit, or rewrite a comment. This skill stops after URL acquisition.
npx @playwright/cli must be available.--repo ... --issue ... or --repo ... --pr ..., gh must be installed and authenticated.gh metadata../.playwright-cli/gh-comment-attach-files/....target_url, source_path, staged_name, and attachment_url.--leave-open is used.Direct URL:
uv run python ~/.agents/skills/gh-comment-attach-files/scripts/attach_comment_files.py \
--url https://github.com/OWNER/REPO/pull/123 \
docs/report.md assets/chart.png
Resolve the page with gh:
uv run python ~/.agents/skills/gh-comment-attach-files/scripts/attach_comment_files.py \
--repo ghe.corp.yahoo.co.jp/OWNER/REPO \
--pr 123 \
results/report.md results/chart.png
The script prints JSON only:
{
"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 may differ from the original basename so duplicate filenames stay distinct../.playwright-cli/gh-comment-attach-files/profile.--leave-open when you want to keep the browser and draft comment visible after the URLs are collected.scripts/attach_comment_files.py: resolves the target page, stages files, drives Playwright CLI, and returns hosted attachment URLs as JSON.development
Manage Codex worklog files under `.agents/worklog/codex`, hard-gate stale learnings through `learn_index.md`, and audit learn metadata deterministically. Use when a Codex agent or user needs to bootstrap worklog context, maintain plan/todo/learn files, or validate stale learn state before trusting prior session knowledge.
development
Write and review shellscript documentation with shdoc annotations. Use when Codex creates, edits, or reviews `.sh` files or shell executables and should add, repair, or normalize `@file`, `@brief`, `@description`, `@arg`, `@option`, and `@example` comments to match shdoc conventions.
development
Apply Python development policy using uv-first execution, test-first behavior validation, and pre-commit quality gates. Use when implementing or refactoring Python code.
data-ai
AIくさい日本語を、人が書いたように自然でこなれた日本語へ書き換えるスキル。ブログ記事、メモ、メール、文書、SNS投稿、チャット返信などの日本語を書いたり推敲したりするときに使う。AIっぽい言い回しを消したいとき、日本語を自然にしたいとき、言い換えたいとき、硬さを抜きたいとき、トーンを整えたいとき、人間らしい声や温度を足したいときに使う。