local-ci

shiroinock's avatarfrom shiroinock

remote CI (GitHub Actions) 相当のチェックをローカルで実行。Biome check、テスト、ビルドを並列実行し、全てのチェックが成功したことを確認する。PR作成前の事前チェックに使用。

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 3, 2026⬇️1downloads

When & Why to Use This Skill

This Claude skill automates the execution of critical pre-deployment checks—including linting (Biome), unit testing, and build verification—directly on the local machine. By mirroring remote CI environments like GitHub Actions through parallel execution, it enables developers to identify and resolve integration issues before pushing code, significantly reducing CI pipeline failures and accelerating the development lifecycle.

Use Cases

  • Pre-Pull Request Validation: Automatically run linting, tests, and builds in parallel to ensure code quality and stability before submitting a PR.
  • Local Environment Consistency: Verify that the local development environment matches the requirements of the remote CI pipeline to avoid 'works on my machine' issues.
  • Rapid Feedback Loop: Utilize parallel execution of multiple checks to get immediate feedback on code changes without waiting for remote server queues or CI runner availability.
  • CI Cost and Time Optimization: Reduce the frequency of failed remote CI runs by catching syntax, test, and build errors locally, saving compute resources and developer time.
namelocal-ci
descriptionremote CI (GitHub Actions) 相当のチェックをローカルで実行。Biome check、テスト、ビルドを並列実行し、全てのチェックが成功したことを確認する。PR作成前の事前チェックに使用。

Local CI スキル

このスキルの役割: remote CI (GitHub Actions) 相当のチェックをローカルマシン上で実行するスキル。

詳細な実装手順

詳細な実装手順、使い方、エラーハンドリングについては .claude/commands/local-ci.md を参照してください。

このスキルは、.claude/commands/local-ci.md に記載された手順に従って以下を実行します:

  1. 開始メッセージを表示
  2. 3つの sub agent(biome-check、test-check、build-check)を並列起動
  3. TaskOutput で各 sub agent の出力を取得
  4. 結果を集計してサマリーを表示

使い方

/local-ci

このコマンドを実行すると、Claude が .claude/commands/local-ci.md の手順を実行します(3つのチェックは並列実行されます)。