Receber por email
← Voltar para o catálogo

nw-devops

Designs CI/CD pipelines, infrastructure, observability, and deployment strategy. Use when preparing platform readiness for a feature.

556estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add nWave-ai/nWave

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/nw-devops/svg)](https://www.skillteca.com.br/skills/nw-devops)

Skills relacionadas

Ver todas de DevOps e Infra →

Alerta por categoria

Receba novas skills de DevOps e Infra toda segunda

1 email curto, só com as skills novas de DevOps e Infra. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

NW-DEVOPS: Platform Readiness and Infrastructure Design

Wave: DEVOPS (wave 4 of 6) | Agent: Apex (nw-platform-architect) | Command: /nw-devops

Overview

Execute DEVOPS wave: platform readiness|CI/CD pipeline setup|observability design|infrastructure preparation. Positioned between DESIGN and DISTILL (DISCOVER > DISCUSS > SPIKE > DESIGN > DEVOPS > DISTILL > DELIVER), ensures infrastructure is ready before acceptance tests and code.

Apex translates DESIGN architecture decisions into operational infrastructure: CI/CD pipelines|logging|monitoring|alerting|observability.

Output Tiers (per D2)

Provenance: feature lean-wave-documentation — D2 (schema-typed sections), D10 (one-line expansion descriptions). Tier-1 [REF] sections (always emitted) + Tier-2 EXPANSION CATALOG items (lazy, on-demand) are the two output bands. Full contract: nWave/skills/nw-density-resolution-contract/SKILL.md.

Tier-1 [REF] — always emitted

Under ## Wave: DEVOPS / [REF] <Section> headings:

  • Environment matrix — table of target environments with platform + preconditions
  • CI/CD pipeline outline — stage list with trigger rules per branch
  • Monitoring contracts — KPI-to-instrument mapping (one row per outcome KPI)
  • Deployment strategy — chosen strategy + rollback contract (one paragraph)
  • Mutation testing strategy — selected mode (per-feature/nightly-delta/pre-release/disabled)
  • Observability stack — chosen tools per signal class (logs/metrics/traces)
  • Branching strategy — selected model + CI trigger alignment
  • Coexistence matrix — tools that must continue to work alongside deployment
  • Pre-requisites — DESIGN constraints the platform must satisfy

Tier-2 EXPANSION CATALOG — lazy, on-demand (per D10)

Rendered under ## Wave: DEVOPS / [WHY|HOW] <Section> only when requested via --expand <id> (DDD-2), the wave-end menu (expansion_prompt = "ask"), mode = "full" auto-expansion, or an ad-hoc user request mid-session.

| Expansion ID | Tier label | One-line description | |---|---|---| | infra-cost-analysis | [WHY] | Per-environment monthly cost estimate with vendor pricing assumptions | | alternative-deploy-targets | [WHY] | Cloud/on-prem/hybrid options weighed and rejected with one-paragraph reason | | observability-deep-dive | [HOW] | Detailed metric/log/trace schemas, alert thresholds, dashboard layouts | | runbook-drafts | [HOW] | Incident response runbooks for the top failure modes | | kpi-instrumentation-recipes | [HOW] | Per-KPI data collection recipe (event names, log fields, metric labels) | | ci-pipeline-yaml | [HOW] | Full CI/CD pipeline YAML with comments per stage | | disaster-recovery-plan | [HOW] | Backup, restore, and DR procedures with RPO/RTO targets | | expansion-catalog-rationale | [WHY] | Why this set of expansions, why these defaults, why D10 enforces one-line descriptions |

Density resolution (per D12)

Call resolve_density(global_config) from scripts/shared/density_config.py after reading ~/.nwave/global-config.json (missing/malformed = empty dict). Returns mode ("lean" | "full") + expansion_prompt ("ask" | "always-skip" | "always-expand" | "smart") per the D12 cascade (resolver-internal, DDD-5 — do NOT replicate locally). Branch on density.mode for what to emit; branch on density.expansion_prompt at wave end for menu behaviour. Full cascade detail, branch semantics, ad-hoc override workflow: nWave/skills/nw-density-resolution-contract/SKILL.md.

Telemetry (per D4 + DDD-6)

Every expansion choice emits a DocumentationDensityEvent (dataclass at src/des/domain/telemetry/documentation_density_event.py) via event.to_audit_event() → JsonlAuditLogWriter().log_event(...). Schema fields per D4: feature_id, wave, expansion_id, choice, timestamp. For this wave the schema declares "wave": "DEVOPS". Use helper scripts/shared/telemetry.py:write_density_event(...) — do NOT write JSONL directly.

Wave-specific signal: DISTILL consuming a lean DEVOPS environment matrix — downstream --expand requests for runbook drafts or alternative deploy targets indicate the [REF] baseline was insufficient. Full emission rules: nWave/skills/nw-density-resolution-contract/SKILL.md.

Interactive Decision Points

Before proceeding, the orchestrator asks:

Decision 1: Deployment Target

Question: What is the deployment target? Options:

  1. Cloud-native -- AWS, GCP, Azure managed services
  2. On-premise -- self-hosted infrastructure
  3. Hybrid -- mix of cloud and on-premise
  4. Edge -- distributed edge deployment
  5. Other -- user provides custom input

Decision 2: Container Orchestration

Question: Container orchestration approach? Options:

  1. Kubernetes -- full orchestration
  2. Docker Compose -- lightweight container management
  3. Serverless -- function-as-a-service, no containers
  4. None -- bare metal or VM-based deployment

Decision 3: CI/CD Platform

Question: CI/CD platform preference? Options:

  1. GitHub Actions
  2. GitLab CI
  3. Jenkins
  4. Azure DevOps
  5. Other -- user provides custom input

Decision 4: Existing Infrastructure

Question: Is there existing infrastructure or CI/CD to integrate with? Options:

  1. Yes, both -- describe existing infrastructure and CI/CD (user provides details)
  2. Existing infra only -- infrastructure exists, CI/CD is greenfield
  3. Existing CI/CD only -- CI/CD exists, infrastructure is greenfield
  4. No -- greenfield, design everything from scratch

Decision 5: Observability and Logging

Question: What observability and logging approach? Options:

  1. Prometheus + Grafana (metrics) with structured JSON logs
  2. Datadog (full-stack observability including logs)
  3. ELK stack (Elasticsearch, Logstash, Kibana for logs and metrics)
  4. OpenTelemetry (vendor-agnostic telemetry) with provider of choice
  5. CloudWatch (AWS-native metrics and logging)
  6. Custom -- user provides details
  7. None -- defer observability setup

Decision 6: Deployment Strategy

Question: What deployment strategy? Options:

  1. Blue-green -- zero-downtime with environment swap
  2. Canary -- gradual traffic shifting
  3. Rolling -- incremental pod/instance replacement
  4. Recreate -- simple stop-and-replace

Decision 7: Continuous Learning (conditional)

Question: Is there existing monitoring/alerting infrastructure in place? Options:

  1. Yes -- include continuous learning and experimentation capabilities
  2. No -- focus on foundational monitoring setup first

If Yes to Decision 7: Follow-up: Which continuous learning capabilities to include? Options:

  1. A/B testing framework
  2. Feature flags (LaunchDarkly, Unleash, custom)
  3. Canary analysis (automated rollback on metrics)
  4. Progressive rollout (percentage-based deployment)
  5. All of the above

Decision 8: Git Branching Strategy

Question: What Git branching strategy should the project follow? Options:

  1. Trunk-Based Development -- single main branch, short-lived feature branches (<1 day), continuous integration. Requires robust CI gates on every commit.
  2. GitHub Flow -- feature branches from main, pull requests, merge to main after review. Balanced CI with PR-triggered pipelines.
  3. GitFlow -- develop/main branches, feature/release/hotfix branches, formal release process. Requires branch-specific pipelines (develop CI, release candidate, hotfix fast-track).
  4. Release Branching -- long-lived release branches, cherry-pick fixes between branches. Requires per-branch pipelines and cross-branch validation.
  5. Other -- user provides custom strategy

This directly influences CI/CD pipeline design: trigger rules|branch protection|environment promotion|release automation.

Decision 9: Mutation Testing Strategy

Question: When should mutation testing run? Options:

  1. per-feature (default) -- Runs after each feature delivery (refactoring + review), scoped to modified files. Best for small/medium projects where per-feature overhead
Compartilhar X LinkedIn