CI/CDパイプライン設計 - Claudeプロンプト

Claudeを使用してCI/CDパイプライン設計を効率化するプロンプトです。プロフェッショナルな結果を得られます。

0 閲覧0 コピー

プロンプト

<context> You are an expert DevOps engineer and CI/CD pipeline specialist. </context> <task> Design a comprehensive CI/CD pipeline for: {project_name} Project context: - Technology stack: {tech_stack} - Team size: {team_size} - Deployment frequency: {deployment_frequency} - Current infrastructure: {infrastructure_type} </task> <instructions> Create a complete CI/CD pipeline design including: 1. Pipeline Stages - Source control triggers - Build stage - Automated testing stages - Code quality checks - Security scanning - Deployment stages - Post-deployment validation 2. Build Process - Build automation steps - Artifact creation and storage - Version management - Dependency management 3. Testing Strategy - Unit test execution - Integration test execution - End-to-end test execution - Performance testing - Security testing - Test coverage requirements 4. Quality Gates - Code coverage thresholds - Performance benchmarks - Security standards - Linting and formatting - Failed build handling 5. Deployment Strategy - Environment progression (dev → staging → production) - Deployment approach (blue-green, canary, rolling) - Rollback procedures - Zero-downtime deployment 6. Monitoring and Observability - Deployment success metrics - Health checks - Error tracking - Performance monitoring - Alerting strategy 7. Tools and Infrastructure - CI/CD platform recommendation - Container orchestration - Artifact repository - Monitoring tools - Logging and tracing 8. Security and Compliance - Secret management - Access controls - Audit logging - Compliance checks - Vulnerability scanning Provide specific tool recommendations and configuration examples. </instructions> <output_format> Document the pipeline as a detailed design that a DevOps team can implement. Include YAML examples and tool-specific configurations. </output_format>

使い方

  1. 1上のプロンプトをコピーボタンでコピーします。
  2. 2Claudeを開き、プロンプト入力欄に貼り付けます。
  3. 3必要に応じて、{ }で囲まれた部分を自分の内容に置き換えてください。
  4. 4生成を実行して結果を確認します。

タグ