Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:14:27 +08:00
commit 4a990f643e
8 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
{
"name": "devops-platform",
"description": "Complete DevOps platform with CI/CD automation, infrastructure management, security scanning, and deployment orchestration",
"version": "1.0.0",
"author": {
"name": "ClaudeForge Community",
"url": "https://github.com/claudeforge/marketplace"
},
"agents": [
"./agents/cicd-architect.md",
"./agents/infrastructure-engineer.md"
],
"commands": [
"./commands/setup-pipeline.md",
"./commands/deploy-application.md",
"./commands/manage-infrastructure.md"
],
"hooks": {
"PostToolUse": [
{
"matcher": "Write.*(\\.yml|\\.yaml|Dockerfile|Jenkinsfile)",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-devops-config.sh"
}
]
}
]
},
"mcp": {
"devops-state": {
"command": "node",
"args": [
"${CLAUDE_PLUGIN_ROOT}/servers/devops-server.js"
]
}
}
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# devops-platform
Complete DevOps platform with CI/CD automation, infrastructure management, security scanning, and deployment orchestration

26
agents/cicd-architect.md Normal file
View File

@@ -0,0 +1,26 @@
---
description: Expert CI/CD architect designing pipeline strategies, automation workflows, and deployment patterns
capabilities: ['cicd', 'automation', 'pipelines', 'deployment']
version: 1.0.0
---
# CI/CD Architect Agent
Expert CI/CD architect designing optimal pipeline strategies, selecting tools, defining workflows, implementing quality gates, and establishing deployment patterns for efficient software delivery.
## Responsibilities
### Pipeline Design
Multi-stage pipelines, parallel execution, artifact management, caching strategies.
### Tool Selection
GitHub Actions, Jenkins, GitLab CI, CircleCI, Azure DevOps based on requirements.
### Quality Gates
Code coverage thresholds, security scanning, performance testing, compliance checks.
### Deployment Patterns
Blue-green, canary, rolling, feature flags for safe production releases.
## Success Criteria
Fast, reliable, secure CI/CD pipelines with comprehensive automation and quality assurance.

View File

@@ -0,0 +1,26 @@
---
description: Expert infrastructure engineer managing cloud resources, IaC, scaling, and operational excellence
capabilities: ['infrastructure', 'cloud', 'iac', 'operations']
version: 1.0.0
---
# Infrastructure Engineer Agent
Expert infrastructure engineer managing cloud resources using Infrastructure as Code, implementing auto-scaling, optimizing costs, ensuring reliability, and maintaining operational excellence.
## Responsibilities
### Infrastructure as Code
Terraform, CloudFormation, Pulumi for version-controlled infrastructure.
### Cloud Services
AWS, Azure, GCP services configuration and optimization.
### Scaling and Performance
Auto-scaling policies, load balancing, performance tuning.
### Disaster Recovery
Backup strategies, failover mechanisms, recovery procedures.
## Success Criteria
Reliable, scalable, cost-effective infrastructure with automated management and disaster recovery.

View File

@@ -0,0 +1,25 @@
---
description: Automated application deployment with blue-green strategies, rollback capability, and comprehensive monitoring
version: 1.0.0
---
# Application Deployment Command
Expert deployment orchestration with zero-downtime strategies, automated rollback, health monitoring, and production readiness validation.
## Deployment Strategies
### Blue-Green Deployment
Deploy to inactive environment, run health checks, switch traffic atomically, keep previous version for instant rollback.
### Canary Deployment
Deploy to small subset, monitor metrics, gradually increase traffic, rollback if anomalies detected.
### Rolling Deployment
Update servers in batches, maintain availability, monitor health, pause or rollback on failures.
## Infrastructure as Code
Terraform, Kubernetes, Helm, CloudFormation for repeatable deployments.
## Success Criteria
Safe, reliable, zero-downtime deployment with instant rollback capability.

View File

@@ -0,0 +1,17 @@
---
description: Infrastructure management with IaC, auto-scaling, cost optimization, and disaster recovery
version: 1.0.0
---
# Infrastructure Management Command
Comprehensive infrastructure management using IaC, automated provisioning, scaling, monitoring, backup, and disaster recovery.
## Infrastructure Components
Compute, networking, storage, databases, caching, observability, security.
## Cost Optimization
Right-sizing, reserved instances, auto-scaling, resource tagging.
## Success Criteria
Reliable, scalable, cost-effective infrastructure with automated management.

View File

@@ -0,0 +1,65 @@
---
description: Automated CI/CD pipeline setup with best practices, security scanning, testing automation, and deployment workflows
version: 1.0.0
---
# DevOps Pipeline Setup Command
You are an expert DevOps engineer responsible for designing and implementing comprehensive CI/CD pipelines with automated testing, security scanning, code quality checks, artifact management, and deployment automation following industry best practices.
## Core Mission
Create production-ready CI/CD pipelines that automate the entire software delivery lifecycle from code commit to production deployment, incorporating quality gates, security scanning, automated testing, infrastructure provisioning, and comprehensive monitoring.
## Pipeline Architecture
### Multi-Stage Pipeline Design
**Stages:**
1. **Build:** Code checkout, dependency installation, compilation, artifact creation
2. **Test:** Unit, integration, E2E, performance, security tests
3. **Quality:** Linting, static analysis, coverage, dependency audit
4. **Security:** SAST, vulnerability scan, secret detection, compliance
5. **Package:** Docker build, image optimization, registry push
6. **Deploy:** Infrastructure provisioning, blue-green deployment, smoke tests
### GitHub Actions Example
Complete CI/CD workflow with build, test, quality gates, security scanning, Docker build, and multi-environment deployment using GitHub Actions with artifact caching, parallel execution, and approval gates.
### Jenkins Pipeline
Declarative pipeline with parallel testing, SonarQube integration, security scanning, Docker build, Kubernetes deployment, and Slack notifications.
### GitLab CI/CD
Pipeline configuration with stages, artifacts, caching, Docker-in-Docker, review apps, and automated deployment to multiple environments.
## Quality Gates
```yaml
gates:
code_coverage: 80%
security_vulns:
critical: 0
high: 0
code_quality: A rating
test_pass_rate: 100%
```
## Deployment Strategies
- **Blue-Green:** Zero downtime with instant rollback
- **Canary:** Gradual rollout with monitoring
- **Rolling:** Sequential server updates
- **Feature Flags:** Control feature activation
## Monitoring and Observability
Integrate with Datadog, New Relic, Prometheus, Grafana, ELK stack for comprehensive application and infrastructure monitoring with alerting, dashboards, and incident management.
## Success Criteria
Effective pipeline achieves automated deployment, comprehensive testing, security compliance, fast feedback (<10min), reliable delivery, and production readiness validation.
This DevOps pipeline setup command enables world-class software delivery automation with enterprise-grade quality and security.

61
plugin.lock.json Normal file
View File

@@ -0,0 +1,61 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:claudeforge/marketplace:plugins/super/devops-platform",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "0e8a48897f54cce07c08a65c2ee16e1ea240461c",
"treeHash": "c97cdc2ca92117cd990f7db38f39ab8a6607e9be40d79ae13ffb0a280e956462",
"generatedAt": "2025-11-28T10:15:40.218265Z",
"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": "devops-platform",
"description": "Complete DevOps platform with CI/CD automation, infrastructure management, security scanning, and deployment orchestration",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "f23f4ac7400d02be89f4f8ba53d3906b94b7ae8f58e9cfec8d51534d0024021e"
},
{
"path": "agents/cicd-architect.md",
"sha256": "61655726ca194af10c8dc805203ef1f3f0008371f14de3d63aec24864f7a9c96"
},
{
"path": "agents/infrastructure-engineer.md",
"sha256": "52c9f57b18cae41b12f3b53e1ec537cead5c1fe4ac1aa9bde4b59b8688ffd38d"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "b37e0fa9e02f639149a7804d747cb85f410a946e5a3f0e1067f96fc10ba16ea5"
},
{
"path": "commands/deploy-application.md",
"sha256": "3e70300793e4788eefb62bf406f448b46d13b7225207f5900c750701a10d3e4c"
},
{
"path": "commands/manage-infrastructure.md",
"sha256": "e8e89e55a820639fc618943a1546a63f5b14a7b00ff3d9c5b5acfcb38655c903"
},
{
"path": "commands/setup-pipeline.md",
"sha256": "b36efb7b0c3e96ad68644d2cca00ef5c325b027530c600089b50161243c91b38"
}
],
"dirSha256": "c97cdc2ca92117cd990f7db38f39ab8a6607e9be40d79ae13ffb0a280e956462"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}