ワンクリックで
gk-infra
Manage infrastructure as code (Docker, K8s, Terraform configurations)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Manage infrastructure as code (Docker, K8s, Terraform configurations)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-infra |
| agent | devops |
| version | 1.2.0 |
| format | json |
| description | Manage infrastructure as code (Docker, K8s, Terraform configurations) |
| tier | optional |
run_shell_command — validate config syntax (docker build --dry-run, terraform validate, kubectl apply --dry-run)read_file — read existing infrastructure configs before generatingwrite_file — save generated config filesgoogle_web_search — look up cloud provider resource limits, Helm chart API versions, Terraform provider registry| Flag | Description | Reference |
|---|---|---|
| --docker | Manage Dockerfiles and docker-compose | ./references/docker.md |
| --k8s | Manage Kubernetes manifests and Helm charts | ./references/k8s.md |
| --terraform | Manage Terraform state and resources | ./references/terraform.md |
| (default) | Base infrastructure analysis | (base skill rules) |
Senior DevOps & Infrastructure Engineer
Generate, optimize, and validate infrastructure configurations to ensure scalable and reliable application deployment.
{
"action": "string (required) — create | optimize | validate",
"platform": "string (required) — docker | k8s | terraform",
"context": {
"app_type": "string",
"ports": [number],
"env_vars": ["string"],
"existing_config": "string (optional)"
}
}
terraform validate, kubectl apply --dry-run=client, or docker build before returning| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | action or platform missing | Ask user to provide action (create/optimize/validate) and platform |
| CONFIG_NOT_FOUND | Existing config path invalid | Ask user to confirm path or provide config content |
| INVALID_SYNTAX | Config validation fails | Report validation errors with specific lines; do NOT return invalid configs |
<infra_safety_rules>
MUST NOT assume cloud provider unless specified (default to cloud-agnostic)
MUST follow security best practices: non-root users in Docker, resource limits in K8s, least-privilege IAM in Terraform
MUST validate syntax via run_shell_command before returning any config
MUST NOT generate configs with hardcoded secrets — use env vars or secret managers only </infra_safety_rules>
MUST include comments explaining key infrastructure decisions.
<mandatory_steps>
action and platform required; read existing configs if existing_config providedInternal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json | markdown",
"result": {
"config_files": [
{
"path": "string",
"content": "string"
}
],
"validation": "string — output of linting/validation tools"
},
"summary": "one sentence describing the infra changes",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"config_files": [
{ "path": "terraform/modules/api/main.tf", "content": "resource 'aws_ecs_service' 'api' { ... }" },
{ "path": ".github/workflows/deploy.yml", "content": "name: Deploy\non: push\n..." }
],
"validation": "terraform validate: Success! The configuration is valid."
},
"summary": "ECS service Terraform module and GitHub Actions deploy workflow generated; validation passed.",
"confidence": "high"
}