Arckit devops

From tractorjuice/arckit-codex · View interactive version

Arckit devops is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Create DevOps strategy with CI/CD pipelines, IaC, container orchestration, and developer experience

How to use this skill

Skill file

$arckit-devops - DevOps Strategy Command

You are an expert DevOps architect and Platform Engineer with deep knowledge of:

Command Purpose

Generate a comprehensive DevOps Strategy document that defines how software will be built, tested, deployed, and managed throughout its lifecycle. This establishes the engineering practices, tooling, and automation that enable rapid, reliable delivery.

When to Use This Command

Use $arckit-devops after completing:

  1. Requirements ($arckit-requirements) - for deployment and performance needs
  2. Architecture diagrams ($arckit-diagram) - for deployment topology
  3. Research ($arckit-research) - for technology stack decisions

Run this command before implementation begins to establish engineering practices and infrastructure foundations.

User Input

$ARGUMENTS

Parse the user input for:

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

Phase 1: Read existing artifacts from the project context

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently if missing):

Phase 1b: Read external documents and policies

Phase 2: Analysis

Determine DevOps Maturity Target:

| Level | Characteristics | Deployment Frequency |

|-------|-----------------|---------------------|

| Level 1 | Manual builds, scripted deploys | Monthly |

| Level 2 | CI automation, manual deploys | Weekly |

| Level 3 | CI/CD automation, staging gates | Daily |

| Level 4 | Continuous deployment, feature flags | Multiple/day |

| Level 5 | GitOps, self-healing, platform | On-demand |

Extract from Requirements:

Diagram Guidelines

IMPORTANT: Do NOT use Mermaid gitGraph diagrams — they have limited renderer support and fail in many viewers (GitHub, VS Code, etc.) with "No diagram type detected" errors. Instead, use flowchart diagrams to visualize branching strategies and workflows.

Phase 3: Generate DevOps Strategy

Read the template (with user override support):

Tip: Users can customize templates with $arckit-customize devops

Generate:

Section 1: DevOps Overview

Section 2: Source Control Strategy

Section 3: CI Pipeline Design

Section 4: CD Pipeline Design

Section 5: Infrastructure as Code

Section 6: Container Strategy

Section 7: Kubernetes/Orchestration (if applicable)

Section 8: Environment Management

Section 9: Secret Management

Section 10: Developer Experience

Section 11: Observability Integration

Section 12: DevSecOps

Section 13: Release Management

Section 14: Platform Engineering (if applicable)

Section 15: UK Government Compliance (if applicable)

Section 16: Metrics & Improvement

Section 17: Traceability

Phase 4: Validation

Verify before saving:

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the DEVOPS per-type checks pass. Fix any failures before proceeding.

Phase 5: Output

CRITICAL - Use Write Tool: DevOps documents are large. Use Write tool to save.

  1. Save file to projects/{project-name}/ARC-{PROJECT_ID}-DEVOPS-v{VERSION}.md. Work out {VERSION} first with .arckit/references/version-detection.md: a re-run writes the next version beside the earlier strategy, never over it
  1. Provide summary:
✅ DevOps Strategy generated!

**DevOps Maturity**: Level [X] (target: Level [Y])
**Cloud Provider**: [AWS / Azure / GCP / Multi-cloud]
**Deployment Target**: [Kubernetes / Serverless / VMs]

**CI Pipeline**:
- Platform: [GitHub Actions / GitLab CI / Azure DevOps]
- Build Time Target: [X minutes]
- Quality Gates: [Linting, Tests, Coverage, SAST]

**CD Pipeline**:
- Strategy: [Blue-Green / Canary / Rolling]
- Environments: [Dev, Staging, Prod]
- Approval: [Manual / Automatic]

**Infrastructure**:
- IaC Tool: [Terraform / Pulumi / CloudFormation]
- Container Registry: [ECR / ACR / GCR]
- Orchestration: [EKS / AKS / GKE / ECS]

**Security**:
- SAST: [Enabled]
- Dependency Scanning: [Enabled]
- Container Scanning: [Enabled]

**File**: projects/{project-name}/ARC-{PROJECT_ID}-DEVOPS-v{VERSION}.md

**Next Steps**:
1. Set up source control repository structure
2. Implement CI pipeline
3. Provision infrastructure with IaC
4. Configure CD pipeline
5. Set up secret management
6. Establish DORA metrics baseline

Error Handling

If No Requirements Found

"⚠️ Cannot find requirements document (ARC--REQ-.md). Please run $arckit-requirements first. DevOps strategy requires NFRs for deployment and performance requirements."

If No Architecture Principles

"⚠️ Architecture principles not found. Using cloud-agnostic defaults. Consider running $arckit-principles to establish technology standards."

Key Principles

1. Automation First

2. Security Shift-Left

3. Infrastructure as Code

4. Developer Experience

5. Observability by Default

6. UK Government Alignment

Document Control

Auto-populate:

Generation Metadata Footer:

---
**Generated by**: ArcKit `$arckit-devops` command
**Generated on**: [DATE]
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: [PROJECT_NAME]
**AI Model**: [Model name]

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.