/ci-check:ci-checkfrom ci-check
Parses GitHub Actions workflow files and runs CI checks locally by extracting run steps from .github/workflows/*.yml. Skips deploy, secret-dependent, and GitHub Actions steps.
Ships in ci-check. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
.github/workflows/*.yml を解析し、CI 定義のチェックをローカル実行する。
# 実行可能なステップを一覧表示
scripts/run.sh --list
--list で以下を表示:
run: コマンド)# 全ワークフローを実行
scripts/run.sh
# 特定のワークフローのみ
scripts/run.sh validate.yml
# dry-run(コマンド確認のみ)
scripts/run.sh --dry-run
スクリプトが自動で行うこと:
.github/workflows/*.yml の run: ステップを抽出working-directory: を尊重して実行ディレクトリを切り替えuses:) を自動スキップ失敗したステップがあれば:
scripts/run.sh
以下のパターンを含む run: コマンドは自動スキップ:
| パターン | 理由 |
|---|---|
deploy, firebase, aws, gcloud | デプロイ系 |
docker push | レジストリ操作 |
secrets., GITHUB_TOKEN, GCP_SA_KEY | シークレット依存 |
gh pr, gh issue | GitHub API 操作 |
uses: (GitHub Actions) | ローカル実行不可 |
スクリプトで対応できない複雑なケース(matrix、env 変数、条件分岐など)は、
.github/workflows/*.yml を直接 Read して判断する:
Glob で .github/workflows/*.yml を検索Read して jobs/steps を確認run: ステップの内容と working-directory を把握Bash で実行if: 条件や matrix がある場合は適切に展開npm run, pnpm run, yarn, bash, chmod +x && ./script.sh, pythonuses: (Actions), secrets 参照, deploy/push 系, gh CLI (API操作)env: にローカルで設定可能な値があるか、if: 条件を満たすかWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sean-sunagaku/claude-code-plugin --plugin ci-checkOther plugins' skills for the same job