Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:19:29 +08:00
commit 6b5e99719c
8 changed files with 179 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{
"name": "gitops-workflow-builder",
"description": "Build GitOps workflows with ArgoCD and Flux",
"version": "1.0.0",
"author": {
"name": "Claude Code Plugins",
"email": "[email protected]"
},
"skills": [
"./skills"
],
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# gitops-workflow-builder
Build GitOps workflows with ArgoCD and Flux

View File

@@ -0,0 +1,25 @@
---
description: $(echo "$description" | cut -d' ' -f1-5)
---
# $(echo "$name" | sed 's/-/ /g' | sed 's/\b\(.\)/\u\1/g')
$(echo "$description")
## Key Features
- Production-ready configurations
- Best practices implementation
- Security-first approach
- Scalable architecture
- Comprehensive documentation
- Multi-platform support
## Example Usage
This plugin generates complete configurations for your DevOps needs.
Specify your requirements and get production-ready code instantly.
## When Invoked
Generate configurations and setup code based on your specific requirements and infrastructure needs.

61
plugin.lock.json Normal file
View File

@@ -0,0 +1,61 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/devops/gitops-workflow-builder",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "8c8a4307035061c2715ecfdc5a36206f73b4141c",
"treeHash": "69cbee5bef7b74d1e431bcb0c92ae750d3c48eab8e3e5ca851c62402edc6ae9d",
"generatedAt": "2025-11-28T10:18:28.991401Z",
"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": "gitops-workflow-builder",
"description": "Build GitOps workflows with ArgoCD and Flux",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "f89b704d75e274d943fcec6a6712d57bc90181cce31ef3c78bfd126bb2000450"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "82740ac2e2cc24a8fa33ce9342981cd8ced4857281de11ec22f9403064e4e050"
},
{
"path": "commands/gitops-workflow.md",
"sha256": "353f80054a90cda1e6716da3628115ce829307fbbb83a15b64f1d37c96224a99"
},
{
"path": "skills/gitops-workflow-builder/SKILL.md",
"sha256": "1ce1ae934670bb35751ac9bf611401c907da97aabf411f0b62353f9e4f62c009"
},
{
"path": "skills/gitops-workflow-builder/references/README.md",
"sha256": "79215c252c7d0705641b09534aa8b0275620fa124cf8d8d06039888106358192"
},
{
"path": "skills/gitops-workflow-builder/scripts/README.md",
"sha256": "e6262eaedbbcc4ae9f555f921011c150c1c25b5d7640db871c93b239195c761e"
},
{
"path": "skills/gitops-workflow-builder/assets/README.md",
"sha256": "fb73c214128b606a6490a90677b827ea2d50ef19567752a8732f6cfddec24651"
}
],
"dirSha256": "69cbee5bef7b74d1e431bcb0c92ae750d3c48eab8e3e5ca851c62402edc6ae9d"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}

View File

@@ -0,0 +1,52 @@
---
name: building-gitops-workflows
description: |
This skill enables Claude to construct GitOps workflows using ArgoCD and Flux. It is designed to generate production-ready configurations, implement best practices, and ensure a security-first approach for Kubernetes deployments. Use this skill when the user explicitly requests "GitOps workflow", "ArgoCD", "Flux", or asks for help with setting up a continuous delivery pipeline using GitOps principles. The skill will generate the necessary configuration files and setup code based on the user's specific requirements and infrastructure.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---
## Overview
This skill empowers Claude to create GitOps workflows, automating application deployments and infrastructure management through Git repositories. It provides production-ready configurations for both ArgoCD and Flux, ensuring best practices and a secure approach.
## How It Works
1. **Requirement Gathering**: Claude analyzes the user's request to understand the desired GitOps setup, including the choice of ArgoCD or Flux, target Kubernetes cluster, and application requirements.
2. **Configuration Generation**: Based on the gathered requirements, Claude generates the necessary configuration files, such as ArgoCD Application manifests or Flux Kustomization files.
3. **Code Snippet Creation**: Claude creates code snippets for setting up the GitOps repository structure and deploying the initial configurations to the Kubernetes cluster.
## When to Use This Skill
This skill activates when you need to:
- Create a new GitOps workflow using ArgoCD or Flux.
- Automate application deployments to a Kubernetes cluster using GitOps principles.
- Generate production-ready configurations for GitOps deployments.
## Examples
### Example 1: Setting up ArgoCD for a new application
User request: "Create an ArgoCD workflow to deploy a new application from a Git repository to my Kubernetes cluster."
The skill will:
1. Generate an ArgoCD Application manifest that points to the application's Git repository.
2. Provide instructions on how to deploy the ArgoCD Application to the Kubernetes cluster.
### Example 2: Configuring FluxCD for infrastructure management
User request: "Set up FluxCD to manage my Kubernetes infrastructure configurations stored in a Git repository."
The skill will:
1. Generate Flux Kustomization files that define the desired state of the Kubernetes infrastructure.
2. Provide instructions on how to install FluxCD and configure it to synchronize with the Git repository.
## Best Practices
- **Repository Structure**: Organize your GitOps repository with clear separation of concerns, such as environments (dev, staging, prod) and application components.
- **Declarative Configuration**: Define all application and infrastructure configurations declaratively in Git, using tools like Kustomize or Helm.
- **Automated Reconciliation**: Ensure that your GitOps tool continuously reconciles the desired state in Git with the actual state in the Kubernetes cluster.
## Integration
This skill can be used in conjunction with other skills that manage Kubernetes resources, such as creating deployments, services, and ingress controllers. It also integrates with version control systems like Git to store and manage the GitOps configurations.

View File

@@ -0,0 +1,8 @@
# Assets
Bundled resources for gitops-workflow-builder skill
- [ ] argo_cd_template.yaml Example ArgoCD Application YAML template.
- [ ] flux_kustomization_template.yaml Example Flux Kustomization YAML template.
- [ ] kustomize_base.yaml Example Kustomize base configuration.
- [ ] kustomize_overlays/production.yaml Example Kustomize overlay for production environment.

View File

@@ -0,0 +1,8 @@
# References
Bundled resources for gitops-workflow-builder skill
- [ ] argo_cd_best_practices.md Document outlining best practices for using ArgoCD in GitOps workflows.
- [ ] flux_best_practices.md Document outlining best practices for using Flux in GitOps workflows.
- [ ] kubernetes_security_context.md Document detailing Kubernetes security context configurations.
- [ ] kustomize_tutorial.md Tutorial on using Kustomize for managing Kubernetes configurations.

View File

@@ -0,0 +1,7 @@
# Scripts
Bundled resources for gitops-workflow-builder skill
- [ ] argo_flux_install.sh Script to automate the installation of ArgoCD or Flux based on user preference.
- [ ] kustomize_apply.sh Script to apply Kustomize configurations to Kubernetes.
- [ ] git_push.sh Script to automate pushing changes to the Git repository.