mozumasu/dotfiles/github-actions-conventions
Claude Code and agent skill by mozumasu/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
GitHub Actions workflow の runner 選択規約。workflow (.github/workflows/*.yml) の新規作成・修正時に必ず参照する。原則 ubuntu-slim、slim で使えないツールがある 場合のみ ubuntu-latest にフォールバックする。
Install
npx vskill@latest install mozumasu/dotfiles/github-actions-conventionsSKILL.md
GitHub Actions Runner 選択規約
原則
runs-on: ubuntu-slimをデフォルトにする。イメージが小さく起動が速いため、
lint・フォーマットチェックなど軽いジョブの課金分数と待ち時間を削減できる。
- 次のいずれかに該当するジョブだけ
ubuntu-latestにフォールバックする。
フォールバックした場合は、その理由をコミットメッセージに書く。
- 必要なツールが slim に無く、setup 系アクションでも補いにくい
- 実行時間・リソース要件が slim の制限を超える
判断フロー
- ジョブが使うコマンド・アクションを列挙する
- ubuntu-slim のプリインストールツールで足りるか確認する。収録内容は
<https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md> を参照し、推測で断定しない。参照できなかった場合は ubuntu-latest に倒し、 未確認である旨を報告する
- 実行時間・リソース要件を確認する。ubuntu-slim はジョブ実行時間のハード制限
(延長不可) と低スペック (vCPU 数) の制約がある。現行の制限値は <https://docs.github.com/en/actions/reference/runners/github-hosted-runners> で確認し、ビルド・テストなど重いジョブが制限に収まるか判断する
- ツールが足り、制限にも収まる →
ubuntu-slim - ツールが足りない → まず setup 系アクション (
actions/setup-node等) や
ジョブ内インストールで補えないか検討する。補うと実行時間が制限に近づく場合や、 セットアップがジョブの大半を占める場合は ubuntu-latest
例
フォールバック時のコミットメッセージ例: ci: 🎡 build ジョブを ubuntu-latest に変更 (実行時間が slim の制限を超えるため)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.config/claude/skills/github-actions-conventions/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mozumasu/dotfiles/github-actions-conventions)