jpskill.com
🛠️ 開発・MCP コミュニティ

cicd-pipeline-setup

Design and implement CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins, or CircleCI. Use for automated testing, building, and deployment workflows.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o cicd-pipeline-setup.zip https://jpskill.com/download/21359.zip && unzip -o cicd-pipeline-setup.zip && rm cicd-pipeline-setup.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21359.zip -OutFile "$d\cicd-pipeline-setup.zip"; Expand-Archive "$d\cicd-pipeline-setup.zip" -DestinationPath $d -Force; ri "$d\cicd-pipeline-setup.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して cicd-pipeline-setup.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → cicd-pipeline-setup フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
6

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] cicd-pipeline-setup

CI/CD パイプラインのセットアップ

目次

概要

コードのテスト、成果物のビルド、セキュリティチェックの実行、複数の環境へのデプロイを最小限の手動介入で実現する、自動化された継続的インテグレーションおよびデプロイメントパイプラインを構築します。

使用場面

  • コードの自動テストと品質チェック
  • コンテナ化されたアプリケーションのビルド
  • 複数環境へのデプロイ
  • リリース管理とバージョン管理
  • 自動セキュリティスキャン
  • パフォーマンステストの統合
  • 成果物管理とレジストリ

クイックスタート

最小限の動作例:

# .github/workflows/deploy.yml
name: Build and Deploy

on:
  push:
    branches:
      - main
      - develop
  pull_request:
    branches:
      - main
  workflow_dispatch:

env:
  REGISTRY: ghcr.io
  IMAGE_NAME: ${{ github.repository }}

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [18.x, 20.x]

    steps:
// ... (see reference guides for full implementation)

リファレンスガイド

references/ ディレクトリにある詳細な実装:

ガイド 内容
GitHub Actions Workflow GitHub Actions Workflow
GitLab CI Pipeline GitLab CI Pipeline
Jenkins Pipeline Jenkins Pipeline
CI/CD Script CI/CD Script

ベストプラクティス

✅ DO(推奨事項)

  • 早期検証で迅速に失敗させる
  • 可能であればテストを並行して実行する
  • 依存関係にキャッシュを使用する
  • 適切なシークレット管理を実装する
  • 承認によって本番環境へのデプロイをゲートする
  • パイプラインの失敗を監視し、アラートを出す
  • 一貫した環境設定を使用する
  • Infrastructure as Code を実装する

❌ DON'T(非推奨事項)

  • パイプライン設定に認証情報を保存する
  • 自動テストなしでデプロイする
  • セキュリティスキャンをスキップする
  • 長時間実行されるパイプラインを許可する
  • ステージングパイプラインと本番パイプラインを混在させる
  • テストの失敗を無視する
  • main ブランチに直接デプロイする
  • デプロイ後にヘルスチェックをスキップする
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

CI/CD Pipeline Setup

Table of Contents

Overview

Build automated continuous integration and deployment pipelines that test code, build artifacts, run security checks, and deploy to multiple environments with minimal manual intervention.

When to Use

  • Automated code testing and quality checks
  • Containerized application builds
  • Multi-environment deployments
  • Release management and versioning
  • Automated security scanning
  • Performance testing integration
  • Artifact management and registry

Quick Start

Minimal working example:

# .github/workflows/deploy.yml
name: Build and Deploy

on:
  push:
    branches:
      - main
      - develop
  pull_request:
    branches:
      - main
  workflow_dispatch:

env:
  REGISTRY: ghcr.io
  IMAGE_NAME: ${{ github.repository }}

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [18.x, 20.x]

    steps:
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Guide Contents
GitHub Actions Workflow GitHub Actions Workflow
GitLab CI Pipeline GitLab CI Pipeline
Jenkins Pipeline Jenkins Pipeline
CI/CD Script CI/CD Script

Best Practices

✅ DO

  • Fail fast with early validation
  • Run tests in parallel when possible
  • Use caching for dependencies
  • Implement proper secret management
  • Gate production deployments with approval
  • Monitor and alert on pipeline failures
  • Use consistent environment configuration
  • Implement infrastructure as code

❌ DON'T

  • Store credentials in pipeline configuration
  • Deploy without automated tests
  • Skip security scanning
  • Allow long-running pipelines
  • Mix staging and production pipelines
  • Ignore test failures
  • Deploy directly to main branch
  • Skip health checks after deployment

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。