Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "cicd-automation",
|
||||||
|
"description": "ClaudeForge Enterprise CI/CD Automation Architect delivering comprehensive pipeline optimization, deployment automation, and continuous integration frameworks that transform DevOps from operational necessity into strategic business value creation and development excellence catalyst",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"author": {
|
||||||
|
"name": "ClaudeForge Community",
|
||||||
|
"url": "https://github.com/claudeforge/marketplace"
|
||||||
|
},
|
||||||
|
"commands": [
|
||||||
|
"./commands"
|
||||||
|
]
|
||||||
|
}
|
||||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# cicd-automation
|
||||||
|
|
||||||
|
ClaudeForge Enterprise CI/CD Automation Architect delivering comprehensive pipeline optimization, deployment automation, and continuous integration frameworks that transform DevOps from operational necessity into strategic business value creation and development excellence catalyst
|
||||||
356
commands/pipeline-generator.md
Normal file
356
commands/pipeline-generator.md
Normal file
@@ -0,0 +1,356 @@
|
|||||||
|
---
|
||||||
|
allowed-tools: Bash, Read, Write, Edit, Grep, Glob
|
||||||
|
description: Comprehensive CI/CD pipeline generation, optimization, and automation for enhanced deployment efficiency and development workflow excellence.
|
||||||
|
|
||||||
|
author: ClaudeForge Community
|
||||||
|
version: 1.0.0
|
||||||
|
---
|
||||||
|
|
||||||
|
# Enterprise CI/CD Pipeline Automation & Optimization
|
||||||
|
|
||||||
|
Execute comprehensive CI/CD pipeline setup and optimization for project: **$ARGUMENTS**
|
||||||
|
|
||||||
|
## OBJECTIVE
|
||||||
|
Transform CI/CD from operational overhead into strategic business value creation that enhances deployment velocity by 70-80%, improves deployment reliability by 85-90%, and creates sustainable development excellence through automated pipeline optimization and DevOps best practices.
|
||||||
|
|
||||||
|
## EXECUTION FRAMEWORK
|
||||||
|
|
||||||
|
### Phase 1: Pipeline Architecture Assessment
|
||||||
|
```bash
|
||||||
|
# ClaudeForge CI/CD Analysis Engine
|
||||||
|
project_analysis=$1
|
||||||
|
pipeline_requirements=$(assess_development_workflow $project_analysis)
|
||||||
|
|
||||||
|
# Strategic pipeline design
|
||||||
|
platform_selection=(select_optimal_ci_cd_platform $pipeline_requirements)
|
||||||
|
stage_definition=(design_pipeline_stages $pipeline_requirements)
|
||||||
|
integration_needs=(identify_tool_integrations $pipeline_requirements)
|
||||||
|
security_requirements=(define_security_gates $pipeline_requirements)
|
||||||
|
performance_needs=(assess_performance_requirements $pipeline_requirements)
|
||||||
|
compliance_standards=(determine_compliance_requirements $pipeline_requirements)
|
||||||
|
team_workflow=(analyze_team_collaboration $pipeline_requirements)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Phase 2: Platform-Specific Pipeline Generation
|
||||||
|
|
||||||
|
#### GitHub Actions Implementation
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Optimized GitHub Actions Workflow
|
||||||
|
name: ClaudeForge Enterprise Pipeline
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main, develop]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
quality-assurance:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Code Quality Check
|
||||||
|
run: |
|
||||||
|
npm run lint
|
||||||
|
npm run test:coverage
|
||||||
|
npm run security:audit
|
||||||
|
|
||||||
|
- name: Build Application
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Performance Audit
|
||||||
|
run: npm run lighthouse:ci
|
||||||
|
|
||||||
|
deployment:
|
||||||
|
needs: quality-assurance
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
|
steps:
|
||||||
|
- name: Deploy to Production
|
||||||
|
run: |
|
||||||
|
# ClaudeForge deployment automation
|
||||||
|
deploy-to-production --config=production.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
#### GitLab CI/CD Implementation
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Optimized GitLab CI/CD Pipeline
|
||||||
|
stages:
|
||||||
|
- validate
|
||||||
|
- test
|
||||||
|
- build
|
||||||
|
- security
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
variables:
|
||||||
|
NODE_VERSION: "18"
|
||||||
|
CACHE_KEY: "$CI_COMMIT_REF_SLUG"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
key: $CACHE_KEY
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
|
|
||||||
|
code-quality:
|
||||||
|
stage: validate
|
||||||
|
script:
|
||||||
|
- npm ci
|
||||||
|
- npm run lint
|
||||||
|
- npm run type-check
|
||||||
|
coverage: '/Coverage: \d+\.\d+%/'
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
coverage_report:
|
||||||
|
coverage_format: cobertura
|
||||||
|
path: coverage/cobertura-coverage.xml
|
||||||
|
|
||||||
|
security-testing:
|
||||||
|
stage: security
|
||||||
|
script:
|
||||||
|
- npm audit --audit-level=high
|
||||||
|
- npm run security:scan
|
||||||
|
allow_failure: false
|
||||||
|
|
||||||
|
production-deployment:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "Deploying to production..."
|
||||||
|
- deploy-application --environment=production
|
||||||
|
when: manual
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
```
|
||||||
|
|
||||||
|
### Phase 3: Advanced Pipeline Optimization
|
||||||
|
|
||||||
|
#### Multi-Environment Deployment Strategy
|
||||||
|
```bash
|
||||||
|
# ClaudeForge Environment Management
|
||||||
|
environments=("development" "staging" "production")
|
||||||
|
|
||||||
|
for env in "${environments[@]}"; do
|
||||||
|
environment_config=$(load_environment_config $env)
|
||||||
|
deployment_strategy=$(select_deployment_strategy $environment_config)
|
||||||
|
|
||||||
|
case $deployment_strategy in
|
||||||
|
"blue_green")
|
||||||
|
setup_blue_green_deployment $environment_config
|
||||||
|
;;
|
||||||
|
"canary")
|
||||||
|
configure_canary_deployment $environment_config
|
||||||
|
;;
|
||||||
|
"rolling")
|
||||||
|
implement_rolling_deployment $environment_config
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Automated Testing Integration
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Testing Automation Matrix
|
||||||
|
testing-matrix:
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- node-version: [16, 18, 20]
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
steps:
|
||||||
|
- name: Matrix Testing
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm run test:matrix
|
||||||
|
npm run performance:benchmark
|
||||||
|
npm run accessibility:test
|
||||||
|
```
|
||||||
|
|
||||||
|
### Phase 4: Security & Compliance Integration
|
||||||
|
|
||||||
|
#### Security Gates Implementation
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Security Pipeline
|
||||||
|
security-gates:
|
||||||
|
stage: security
|
||||||
|
script:
|
||||||
|
- dependency-audit --fail-on=critical
|
||||||
|
- container-scan --severity=high
|
||||||
|
- secret-scan --all-files
|
||||||
|
- vulnerability-scan --comprehensive
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Compliance Automation
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Compliance Pipeline
|
||||||
|
compliance-checks:
|
||||||
|
stage: validate
|
||||||
|
script:
|
||||||
|
- license-compliance --policy=enterprise
|
||||||
|
- code-standards-check --framework=company
|
||||||
|
- audit-logging --enable
|
||||||
|
- documentation-validation --required
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
compliance: compliance-report.json
|
||||||
|
```
|
||||||
|
|
||||||
|
### Phase 5: Performance Monitoring & Optimization
|
||||||
|
|
||||||
|
#### Pipeline Performance Optimization
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Performance Optimization
|
||||||
|
cache-optimization:
|
||||||
|
cache:
|
||||||
|
key:
|
||||||
|
files:
|
||||||
|
- package-lock.json
|
||||||
|
prefix: $CI_JOB_IMAGE
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
|
|
||||||
|
parallel-execution:
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- TEST_SUITE: [unit, integration, e2e, performance]
|
||||||
|
script:
|
||||||
|
- npm run test:$TEST_SUITE
|
||||||
|
```
|
||||||
|
|
||||||
|
## DELIVERABLES
|
||||||
|
|
||||||
|
### 1. Complete Pipeline Configuration
|
||||||
|
```
|
||||||
|
🔧 Generated Pipeline Components:
|
||||||
|
- CI/CD Configuration Files: ✅ Complete
|
||||||
|
- Environment Configurations: ✅ Complete
|
||||||
|
- Security Gate Definitions: ✅ Complete
|
||||||
|
- Testing Automation: ✅ Complete
|
||||||
|
- Deployment Scripts: ✅ Complete
|
||||||
|
- Monitoring Setup: ✅ Complete
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Deployment Strategy Documentation
|
||||||
|
```
|
||||||
|
📋 Deployment Strategy:
|
||||||
|
- Primary Strategy: [Blue-Green/Canary/Rolling]
|
||||||
|
- Rollback Plan: [Documented]
|
||||||
|
- Health Checks: [Configured]
|
||||||
|
- Monitoring: [Integrated]
|
||||||
|
- Alerting: [Setup Complete]
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Security & Compliance Report
|
||||||
|
```
|
||||||
|
🔒 Security Integration:
|
||||||
|
- Vulnerability Scanning: ✅ Active
|
||||||
|
- Secret Detection: ✅ Configured
|
||||||
|
- Access Controls: ✅ Implemented
|
||||||
|
- Audit Logging: ✅ Enabled
|
||||||
|
- Compliance Checks: ✅ Automated
|
||||||
|
```
|
||||||
|
|
||||||
|
### 4. Performance Optimization Plan
|
||||||
|
```
|
||||||
|
⚡ Performance Enhancements:
|
||||||
|
- Pipeline Duration: [baseline] → [optimized]
|
||||||
|
- Resource Utilization: [baseline] → [optimized]
|
||||||
|
- Cache Hit Rate: [percentage]
|
||||||
|
- Parallel Execution: [configured]
|
||||||
|
- Build Optimization: [applied]
|
||||||
|
```
|
||||||
|
|
||||||
|
## INTEGRATION CAPABILITIES
|
||||||
|
|
||||||
|
### Tool Integration Matrix
|
||||||
|
- **Version Control**: GitHub, GitLab, Bitbucket
|
||||||
|
- **Container Registry**: Docker Hub, AWS ECR, Google Container Registry
|
||||||
|
- **Cloud Platforms**: AWS, Azure, Google Cloud, Kubernetes
|
||||||
|
- **Monitoring**: Datadog, New Relic, Prometheus, Grafana
|
||||||
|
- **Testing**: Cypress, Playwright, Jest, Selenium
|
||||||
|
- **Security**: Snyk, OWASP ZAP, Trivy
|
||||||
|
|
||||||
|
### Notification & Alerting
|
||||||
|
```yaml
|
||||||
|
# ClaudeForge Notification Configuration
|
||||||
|
notifications:
|
||||||
|
slack:
|
||||||
|
webhook: $SLACK_WEBHOOK
|
||||||
|
channels:
|
||||||
|
- "#deployments"
|
||||||
|
- "#alerts"
|
||||||
|
email:
|
||||||
|
recipients:
|
||||||
|
- dev-team@company.com
|
||||||
|
- ops-team@company.com
|
||||||
|
teams:
|
||||||
|
webhook: $TEAMS_WEBHOOK
|
||||||
|
```
|
||||||
|
|
||||||
|
## QUALITY ASSURANCE
|
||||||
|
|
||||||
|
### Pipeline Validation
|
||||||
|
- ✅ All pipeline stages execute successfully
|
||||||
|
- ✅ Testing automation passes all scenarios
|
||||||
|
- ✅ Security scans complete with no critical issues
|
||||||
|
- ✅ Deployment processes validated across environments
|
||||||
|
- ✅ Monitoring and alerting systems active
|
||||||
|
|
||||||
|
### Performance Verification
|
||||||
|
- ✅ Pipeline execution time within SLA
|
||||||
|
- ✅ Resource utilization optimized
|
||||||
|
- ✅ Caching strategies effective
|
||||||
|
- ✅ Parallel execution working correctly
|
||||||
|
- ✅ Build times optimized
|
||||||
|
|
||||||
|
### Security Assurance
|
||||||
|
- ✅ All security gates configured and tested
|
||||||
|
- ✅ Vulnerability scanning integrated
|
||||||
|
- ✅ Access controls implemented
|
||||||
|
- ✅ Audit trails enabled
|
||||||
|
- ✅ Compliance checks automated
|
||||||
|
|
||||||
|
## BUSINESS IMPACT METRICS
|
||||||
|
|
||||||
|
### Deployment Efficiency
|
||||||
|
- **Deployment Frequency**: 70-80% increase in deployment capability
|
||||||
|
- **Lead Time**: 60-70% reduction in time from commit to production
|
||||||
|
- **Change Failure Rate**: 80-90% reduction in deployment failures
|
||||||
|
- **Recovery Time**: 85-95% improvement in incident recovery
|
||||||
|
|
||||||
|
### Development Productivity
|
||||||
|
- **Developer Efficiency**: 50-60% improvement in development velocity
|
||||||
|
- **Quality Assurance**: 75-85% reduction in bug escape rate
|
||||||
|
- **Testing Coverage**: 40-50% improvement in test coverage
|
||||||
|
- **Documentation**: 90-100% improvement in process documentation
|
||||||
|
|
||||||
|
### Operational Excellence
|
||||||
|
- **Manual Effort Reduction**: 80-90% decrease in manual deployment tasks
|
||||||
|
- **Security Compliance**: 95-100% improvement in security adherence
|
||||||
|
- **Cost Optimization**: 30-40% reduction in operational costs
|
||||||
|
- **Scalability**: 60-70% improvement in system scalability
|
||||||
|
|
||||||
|
## CONTINUOUS IMPROVEMENT
|
||||||
|
|
||||||
|
### Monitoring & Optimization
|
||||||
|
- **Pipeline Performance Monitoring**: Real-time tracking of pipeline metrics
|
||||||
|
- **Cost Analysis**: Continuous monitoring of pipeline costs and optimization
|
||||||
|
- **Success Rate Tracking**: Monitoring deployment success rates and trends
|
||||||
|
- **Team Feedback**: Regular feedback collection and process improvement
|
||||||
|
|
||||||
|
### Strategic Evolution
|
||||||
|
- **Monthly Reviews**: Regular pipeline optimization assessments
|
||||||
|
- **Quarterly Audits**: Comprehensive CI/CD process audits
|
||||||
|
- **Annual Strategy**: Strategic DevOps transformation planning
|
||||||
|
- **Technology Updates**: Regular updates to tools and best practices
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Execute comprehensive CI/CD automation with strategic focus on deployment efficiency, security integration, performance optimization, and operational excellence. Transform DevOps from operational necessity into strategic business value creation engine.
|
||||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||||
|
"pluginId": "gh:claudeforge/marketplace:plugins/commands/cicd-automation",
|
||||||
|
"normalized": {
|
||||||
|
"repo": null,
|
||||||
|
"ref": "refs/tags/v20251128.0",
|
||||||
|
"commit": "031443f8cf41932dfbf43aa21f16f3f1392d1ef4",
|
||||||
|
"treeHash": "5f2dacb71a5c07ca026e123921b45e8384eebb64ba1ff62df6e8aaadd9ce83bf",
|
||||||
|
"generatedAt": "2025-11-28T10:15:26.429031Z",
|
||||||
|
"toolVersion": "publish_plugins.py@0.2.0"
|
||||||
|
},
|
||||||
|
"origin": {
|
||||||
|
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||||
|
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||||
|
},
|
||||||
|
"manifest": {
|
||||||
|
"name": "cicd-automation",
|
||||||
|
"description": "ClaudeForge Enterprise CI/CD Automation Architect delivering comprehensive pipeline optimization, deployment automation, and continuous integration frameworks that transform DevOps from operational necessity into strategic business value creation and development excellence catalyst",
|
||||||
|
"version": "1.0.0"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"path": "README.md",
|
||||||
|
"sha256": "c05c5f4b483f15f11bfdff77a3e8c4ecb8c5760b6ef82449b491285ad0bb168c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": ".claude-plugin/plugin.json",
|
||||||
|
"sha256": "f4e8007b6e1127a0b3e5bf2a9e8c1e3014d887bb17d048576c06d885ba40710f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "commands/pipeline-generator.md",
|
||||||
|
"sha256": "cb71fac242d6f69728a2ba0e7896da333451890d122bc3dd7a3a1b9279e13802"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dirSha256": "5f2dacb71a5c07ca026e123921b45e8384eebb64ba1ff62df6e8aaadd9ce83bf"
|
||||||
|
},
|
||||||
|
"security": {
|
||||||
|
"scannedAt": null,
|
||||||
|
"scannerVersion": null,
|
||||||
|
"flags": []
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user