devops-fullstack
DevOps for fullstack - Docker, CI/CD, deployment, monitoring
When & Why to Use This Skill
The DevOps Fullstack skill is a comprehensive automation tool designed to streamline the end-to-end software delivery lifecycle. It empowers developers to containerize applications using Docker, architect robust CI/CD pipelines for platforms like GitHub Actions and GitLab, and execute seamless deployments to major cloud providers including AWS, GCP, and Vercel. By integrating automated monitoring and alerting configurations, this skill ensures production-ready reliability and operational excellence for modern fullstack projects.
Use Cases
- Automated Containerization: Rapidly generate optimized, multi-stage Dockerfiles and docker-compose configurations tailored for Node.js, Python, or other fullstack frameworks to ensure environment consistency.
- CI/CD Pipeline Orchestration: Automatically set up and configure YAML-based workflows for GitHub Actions, GitLab CI, or CircleCI to automate build, test, and delivery processes.
- Multi-Cloud Deployment: Simplify the deployment of applications to various cloud environments such as AWS, Azure, Vercel, or Railway with validated, platform-specific configuration files.
- Infrastructure Monitoring & Alerting: Configure monitoring stacks and health check parameters to proactively track application performance and resource utilization in production.
| name | devops-fullstack |
|---|---|
| description | The specific DevOps action to perform |
| sasmp_version | "1.3.0" |
| bonded_agent | 05-devops-integration |
| bond_type | PRIMARY_BOND |
| atomic | true |
| single_responsibility | devops_operations |
| type | object |
| required | [action] |
| enum | [aws, gcp, azure, vercel, railway] |
| default | github-actions |
| success | { type: boolean } |
| dockerfile | { type: string } |
| pipeline | { type: object } |
| deployment_config | { type: object } |
| monitoring_config | { type: object } |
| max_attempts | 3 |
| backoff | exponential |
| initial_delay_ms | 2000 |
| max_delay_ms | 20000 |
| jitter | true |
| level | INFO |
| events | [container_built, pipeline_created, deployment_completed] |
| metrics | [build_time, deployment_duration, resource_usage] |
DevOps Fullstack Skill
Atomic skill for DevOps operations including containerization, CI/CD, and deployment.
Responsibility
Single Purpose: Containerize, automate, and deploy fullstack applications
Actions
containerize
Create optimized Docker configuration for the application.
// Input
{
action: "containerize",
container_runtime: "docker"
}
// Output
{
success: true,
dockerfile: "FROM node:20-alpine AS builder\n...",
files: [
{ path: "Dockerfile", content: "..." },
{ path: "docker-compose.yml", content: "..." },
{ path: ".dockerignore", content: "..." }
]
}
setup_cicd
Configure CI/CD pipeline.
deploy
Deploy application to cloud platform.
configure_monitoring
Set up monitoring and alerting.
Validation Rules
function validateParams(params: SkillParams): ValidationResult {
if (!params.action) {
return { valid: false, error: "action is required" };
}
if (params.action === 'deploy' && !params.cloud_provider) {
return { valid: false, error: "cloud_provider required for deployment" };
}
return { valid: true };
}
Error Handling
| Error Code | Description | Recovery |
|---|---|---|
| BUILD_FAILED | Docker build failed | Check Dockerfile syntax |
| PIPELINE_INVALID | CI/CD config invalid | Validate YAML syntax |
| DEPLOYMENT_FAILED | Deployment unsuccessful | Check credentials and resources |
| HEALTH_CHECK_FAILED | Service not healthy | Review logs and config |
Logging Hooks
{
"on_invoke": "log.info('devops-fullstack invoked', { action, ci_platform })",
"on_success": "log.info('DevOps operation completed', { files, duration_ms })",
"on_error": "log.error('DevOps skill failed', { error })"
}
Unit Test Template
import { describe, it, expect } from 'vitest';
import { devopsFullstack } from './devops-fullstack';
describe('devops-fullstack skill', () => {
describe('containerize', () => {
it('should create multi-stage Dockerfile', async () => {
const result = await devopsFullstack({
action: 'containerize',
container_runtime: 'docker'
});
expect(result.success).toBe(true);
expect(result.dockerfile).toContain('AS builder');
expect(result.dockerfile).toContain('AS runner');
});
it('should use non-root user', async () => {
const result = await devopsFullstack({
action: 'containerize'
});
expect(result.dockerfile).toContain('USER');
});
});
describe('setup_cicd', () => {
it('should create GitHub Actions workflow', async () => {
const result = await devopsFullstack({
action: 'setup_cicd',
ci_platform: 'github-actions'
});
expect(result.success).toBe(true);
expect(result.pipeline.jobs).toBeDefined();
});
});
});
Integration
- Bonded Agent: 05-devops-integration
- Upstream Skills: All development skills
- Downstream Skills: fullstack-security
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2024-01 | Initial release |
| 2.0.0 | 2025-01 | Production-grade upgrade with GitOps patterns |