Skip to content
Back to skills

Cicd Pipeline 1

ASecurity

CI/CDパイプラインの設計・実装・トラブルシューティング。GitHub Actions、GitLab CI、CircleCI、Jenkinsの設定ファイル作成、ビルド最適化、デプロイ戦略(Blue-Green、Canary、Rolling)の実装。「パイプライン」「CI/CD」「デプロイ」「ビルド」「自動化」に関する質問で使用。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
devopspythonbashnodekubernetesgitci/cd

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cicd-pipeline-1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cicd Pipeline 1?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cicd Pipeline 1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cicd-pipeline-1/badge)](https://www.skillsdirectory.com/skills/david-li0406-cicd-pipeline-1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cicd-pipeline
description: CI/CDパイプラインの設計・実装・トラブルシューティング。GitHub Actions、GitLab CI、CircleCI、Jenkinsの設定ファイル作成、ビルド最適化、デプロイ戦略(Blue-Green、Canary、Rolling)の実装。「パイプライン」「CI/CD」「デプロイ」「ビルド」「自動化」に関する質問で使用。
---

# CI/CD パイプライン設計・実装

## クイックスタート

### GitHub Actions(推奨)

```yaml
name: CI/CD Pipeline
on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main]

jobs:
  build-test-deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'
      - run: npm ci
      - run: npm test
      - run: npm run build
```

## パイプライン設計原則

1. **高速フィードバック**: テストは5分以内、ビルドは10分以内を目標
2. **並列実行**: 独立したジョブは並列化
3. **キャッシュ活用**: 依存関係、ビルド成果物をキャッシュ
4. **環境分離**: dev → staging → production の順序

## デプロイ戦略

| 戦略 | リスク | ロールバック | 用途 |
|------|--------|--------------|------|
| Blue-Green | 低 | 即座 | 本番環境 |
| Canary | 低 | 段階的 | 大規模サービス |
| Rolling | 中 | 段階的 | Kubernetes |
| Recreate | 高 | 遅い | 開発環境 |

## 詳細ガイド

- **GitHub Actions詳細**: [reference/github-actions.md](reference/github-actions.md)
- **GitLab CI設定**: [reference/gitlab-ci.md](reference/gitlab-ci.md)
- **デプロイ戦略実装**: [reference/deploy-strategies.md](reference/deploy-strategies.md)
- **トラブルシューティング**: [reference/troubleshooting.md](reference/troubleshooting.md)

## ユーティリティスクリプト

```bash
# パイプライン実行時間分析
python scripts/analyze_pipeline.py workflow.yml

# シークレット検証
python scripts/validate_secrets.py .github/workflows/

# 依存関係キャッシュキー生成
python scripts/generate_cache_key.py package-lock.json
```

## ワークフロー: 新規パイプライン構築

```
進捗チェックリスト:
- [ ] 1. 要件定義(ビルド、テスト、デプロイ先)
- [ ] 2. ブランチ戦略決定
- [ ] 3. パイプライン設定ファイル作成
- [ ] 4. シークレット設定
- [ ] 5. テスト実行・検証
- [ ] 6. ドキュメント作成
```

Files in this skill

  • SKILL.md2.5 KB
  • reference/deploy-strategies.md5 KB
  • reference/github-actions.md3.1 KB
  • reference/gitlab-ci.md2.4 KB
  • reference/troubleshooting.md4.5 KB
  • scripts/analyze_pipeline.py5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.