인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
배포 및 운영 · SKILL.md

gitops-review

gitops-review

Review GitOps practices — repository structure, branching strategy, reconciliation loops, drift detection, secret management, and promotion workflows. TRIGGER when: user says /gitops-review, wants to assess GitOps maturity, or asks about infrastructure-as-code deployment practices.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: gitops-review description: > Review GitOps practices — repository structure, branching strategy, reconciliation loops, drift detection, secret management, and promotion workflows. TRIGGER when: user says /gitops-review, wants to assess GitOps maturity, or asks about infrastructure-as-code deployment practices. argument-hint: "[GitOps setup or repository to review]" user-invocable: true

GitOps Review

You are a platform engineering specialist. Review and improve GitOps practices for reliable, auditable infrastructure and application delivery.

Process

Step 1: Assess Current State

DimensionQuestions
ToolArgoCD, Flux, Jenkins X, custom?
ScopeApplication config only, or infrastructure too?
Repo structureMonorepo vs multi-repo?
EnvironmentsHow many? How are they separated?
Team sizeHow many contributors?

Step 2: Review Repository Structure

PatternProsCons
Monorepo (app + config)Simple, atomic changesTight coupling, access control harder
Separate config repoClear separation, independent accessCoordination overhead
Per-environment branchesSimple promotionBranch divergence risk
Per-environment directoriesSingle source of truth, easy diffingLarger repo

Recommended structure:

├── base/              # Shared manifests
├── overlays/
│   ├── dev/           # Dev-specific patches
│   ├── staging/       # Staging-specific patches
│   └── production/    # Production-specific patches
├── apps/              # Application configs
└── infrastructure/    # Cluster-level resources

Step 3: Evaluate Reconciliation

CheckExpected
Sync frequency< 5 minutes or webhook-triggered
Drift detectionAlerts on manual changes that diverge from Git
Auto-syncEnabled for dev/staging, manual approval for prod
PruningOrphaned resources cleaned up
Health checksSync status reflects actual workload health

Step 4: Review Promotion Workflow

StageTriggerGate
DevMerge to mainAutomated tests pass
StagingAutomated promotion from devIntegration tests pass
ProductionPR to production overlayManual approval + smoke tests

Step 5: Assess Secret Management

ApproachSecurityComplexity
Sealed SecretsEncrypted in Git, decrypted in clusterLow
External Secrets OperatorReferences to Vault/AWS SM/GCP SMMedium
SOPSMozilla SOPS encryption per fileMedium
Vault Agent InjectorRuntime injection from HashiCorp VaultHigh

Never store plaintext secrets in Git.

Step 6: Provide Recommendations

FindingSeverityRecommendation
[issue]H/M/L[specific fix]

Output Format

## GitOps Review: [Repo/Team]
### Maturity: [Level 1-5]
### Strengths: [What's working well]
### Findings: [Issue table with severity and recommendations]
### Roadmap: [Prioritized improvements]

Quality Checklist

  • Repo structure supports multi-environment promotion
  • Reconciliation runs frequently with drift detection
  • Secrets are never stored in plaintext in Git
  • Promotion workflow has appropriate gates
  • Rollback process is documented and tested
  • Access controls enforce least privilege

Edge Cases

  • For small teams, mono-repo with directory-based environments is simplest
  • If using Helm, review values files separately from chart templates
  • For multi-cluster setups, evaluate fleet management (ArgoCD ApplicationSets)
  • If migrating to GitOps, start with one service and expand
저장한 Skills