[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D740QX6KJ1NPADDVBDSST6":3,"skill-same:01M7D740QX6KJ1NPADDVBDSST6":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":28,"commitSha":29,"skillDirectory":5,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7D740QX6KJ1NPADDVBDSST6","gke-manifest-generation",null,"Generates and updates secure, production-ready Kubernetes YAML manifests optimized for GKE Autopilot and GKE Standard clusters. Use when creating or modifying GKE deployment manifests, configuring container security contexts, setting CPU\u002Fmemory resource limits, defining readiness\u002Fliveness\u002Fstartup probes, mounting secrets and volumes, configuring GKE Gateway API routes, targeting Spot VMs, or deploying AI model inference workloads (vLLM, TGI, Gemma). Don't use for live cluster operations, pod troubleshooting (use gke-workload-troubleshooting), or cluster infrastructure provisioning (use gke-cluster-creation).","tangyixiao\u002Ftangyixiao-skills","tangyixiao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F115929632?v=4","01M7D582YK6A4M63CAK4CSY4EW","Tang Yixiao","01M7D582Z64DMRSYR872SR34SA",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gke-manifest-generation\nmetadata:\n  version: 1.0.1\n  category: Containers\ndescription: Generates and updates secure, production-ready Kubernetes YAML manifests\n  optimized for GKE Autopilot and GKE Standard clusters. Use when creating or modifying\n  GKE deployment manifests, configuring container security contexts, setting CPU\u002Fmemory\n  resource limits, defining readiness\u002Fliveness\u002Fstartup probes, mounting secrets and\n  volumes, configuring GKE Gateway API routes, targeting Spot VMs, or deploying AI\n  model inference workloads (vLLM, TGI, Gemma). Don't use for live cluster operations,\n  pod troubleshooting (use gke-workload-troubleshooting), or cluster infrastructure\n  provisioning (use gke-cluster-creation).\n---\n\n# GKE Manifest Generation Skill\n\nThis skill provides guidelines, tooling integration, and templates to translate\nnatural language descriptions or application code changes into secure,\ncompliant, and cost-effective Kubernetes YAML manifests optimized for both GKE\nAutopilot and GKE Standard clusters.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gke-manifest-generation)\"`\nand append `agent-skills\u002F1.0 (skill:gke-manifest-generation)` to `User-Agent` headers.\n\n## Core Rules & Verification\n\nWhen generating or updating YAML manifests, you **must** strictly adhere to the\nfollowing rules:\n\n### 1. Namespace & Resource Isolation\n\n-   **Explicit Namespace**: Always declare `namespace: {namespace}` explicitly\n    in the metadata of every resource (Deployments, Services, ConfigMaps,\n    Secrets, PVCs, Roles, bindings). Map it to the namespace configured in your\n    active `SETTINGS.md`. Never omit the namespace.\n-   **Dedicated ServiceAccount**: Avoid using the namespace's `default`\n    ServiceAccount. Always create and reference a dedicated `ServiceAccount`\n    (e.g., `devteam-agent-sa`) for each microservice.\n\n### 2. GKE Resource Tuning (Autopilot & Standard)\n\n-   **Resources Requests & Limits**: Always specify CPU and Memory requests and\n    limits for all containers.\n    -   *GKE Autopilot*: Requests determine pod billing directly; requests and\n        limits must be equal. If they differ, Autopilot will automatically scale\n        requests up to match limits, which can significantly increase costs.\n    -   *GKE Standard*: Requests ensure stable scheduling and bin-packing;\n        limits prevent resource starvation\u002Fnoisy-neighbor issues.\n-   **Density Defaults**: For stateless apps or sidecars on GKE Standard,\n    default to conservative requests (e.g., `requests.cpu: \"100m\"` or `\"200m\"`,\n    `requests.memory: \"256Mi\"` or `\"512Mi\"`) with burstable limits. Use a\n    reasonable overcommit ratio for limits (e.g., 2x to 4x requests, like\n    `limits.cpu: \"400m\"` to `\"800m\"`, and `limits.memory: \"512Mi\"` to `\"1Gi\"`).\n    Avoid excessive overcommit limits (like `limits.cpu: \"4\"` for a `100m`\n    request) to prevent severe CPU throttling and latency degradation under\n    heavy scheduling load, particularly in environments without guaranteed node\n    shares.\n-   **Spot VMs for Staging\u002FDev**: For non-production workloads (e.g., namespaces\n    containing `-test`, `-dev`, or `-staging`), or if the user requests cost\n    optimization, automatically target GKE Spot VMs. This requires injecting\n    both the `nodeSelector` targeting Spot VMs AND the corresponding toleration\n    to tolerate the Spot VM taint:\n\n    ```yaml\n    nodeSelector:\n      cloud.google.com\u002Fgke-spot: \"true\"\n    tolerations:\n      - key: \"cloud.google.com\u002Fgke-spot\"\n        operator: \"Equal\"\n        value: \"true\"\n        effect: \"NoSchedule\"\n    ```\n\n    (On GKE Standard, this assumes a Spot node pool is configured).\n\n### 3. Container Security Hardening (Pod Security Standards)\n\n-   **Non-Root Execution**: Always configure `securityContext` at the Pod level\n    (and container level if overriding) to run as a non-root user (e.g.,\n    `runAsNonRoot: true`, `runAsUser: 10000`, `runAsGroup: 10000`, `fsGroup:\n    10000`). This is strictly enforced on GKE Autopilot and is a critical\n    security baseline for GKE Standard.\n-   **Minimal Privileges**: Always set `allowPrivilegeEscalation: false` and\n    `seccompProfile: {type: RuntimeDefault}`.\n-   **Read-Only Root Filesystem**: Set `readOnlyRootFilesystem: true` to prevent\n    modifications to the container image filesystem.\n    -   *Writable Directory Fallback*: If `readOnlyRootFilesystem` is enabled,\n        mount a local `emptyDir` volume to `\u002Ftmp` or `\u002Fvar\u002Frun\u002F` to allow\n        applications (like Java\u002FNginx) to write temp files without crashing.\n-   **Secret Volume Mounting**: Prefer mounting Secrets as read-only files\n    (configured in the `volumes` spec with `defaultMode: 0400`) instead of\n    mapping them as environment variables, unless the application framework\n    exclusively supports env-var based configuration. This prevents secrets\n    leaking into application logs.\n\n### 4. Health Checking (Mandatory Probes)\n\n-   **Liveness & Readiness Probes**: Every Deployment container must define both\n    `livenessProbe` and `readinessProbe`.\n    -   **Web\u002FAPI**: Use `httpGet` probes.\n    -   **TCP Services**: Use `tcpSocket` probes.\n    -   **Databases\u002FCaches**: Use command-based `exec` probes (e.g.,\n        `exec.command: [\"redis-cli\", \"ping\"]`).\n-   **Startup Probes for Slow-Starting Apps**: For applications with slow boot\n    times (e.g., Java spring boot, complex Python scripts, LLM model servers),\n    you **must** also define a `startupProbe`. When a `startupProbe` is defined,\n    the liveness and readiness probes are disabled until it succeeds, preventing\n    Kubernetes from prematurely killing the pod during startup:\n\n    ```yaml\n    startupProbe:\n      httpGet:\n        path: \u002Fhealthz\n        port: 8080\n      failureThreshold: 30\n      periodSeconds: 10\n    ```\n\n-   **Sensible Defaults**: Set `initialDelaySeconds: 5` to `15` depending on\n    startup time (e.g., Java requires a longer delay than Go\u002FNginx).\n\n### 5. Services & Ingress Routing\n\n-   **Internal ClusterIP**: Default all internal microservices to `type:\n    ClusterIP`. Never use `type: LoadBalancer` or `NodePort` unless the workload\n    is explicitly intended to be publicly accessible from the internet.\n-   **Port Naming**: Always assign clear, standard names to service and\n    container ports (e.g., `name: http-web` or `name: grpc-api`) to enable\n    automatic protocol discovery, tracing, and Web App routing.\n-   **Prefer Gateway API**: When exposing APIs externally, prioritize using GKE\n    Gateway API (`Gateway` and `HTTPRoute` resources) over legacy `Ingress`\n    objects to enable advanced L7 routing and security features (e.g., Cloud\n    Armor).\n\n### 6. Volume Mounts, StorageClasses & subPath Safety\n\n-   **Avoid Directory Overwrites**: When mounting a `ConfigMap` or `Secret` to\n    an application directory containing other files (like Nginx public\n    directories), always use `subPath` to overlay only the specific file.\n    *Caveat*: Note that containers using `subPath` volume mounts do not receive\n    automatic configuration updates if the underlying ConfigMap or Secret is\n    modified; pods must be restarted manually to pick up changes.\n-   **StorageClass Selection**: Use the correct GKE storage class in\n    PersistentVolumeClaims:\n    -   *CSI Driver Clusters (Autopilot & Modern Standard)*: Use `standard-rwo`\n        (default balanced PD) or `premium-rwo` (SSD PD).\n    -   *Legacy Standard Clusters*: Use `standard` (default PD) or `premium`\n        (SSD PD) if `standard-rwo`\u002F`premium-rwo` are not configured.\n    -   *Database rule*: Use SSD storage classes (`premium-rwo` or `premium`)\n        only when the prompt explicitly requests high IOPS, low latency, or\n        database storage.\n\n### 7. High Availability on GKE\n\n-   **Topology Spread**: For deployments with >1 replica, use `podAntiAffinity`\n    or `topologySpreadConstraints` with `topologyKey: \"kubernetes.io\u002Fhostname\"`\n    to distribute pods across GKE nodes and availability zones.\n-   **PodDisruptionBudget**: For deployments with >1 replica, declare a\n    `PodDisruptionBudget` to guarantee minimum replica availability during\n    voluntary GKE node upgrades and maintenance cycles.\n\n### 8. Updates & Server-Side Apply Reconciliations\n\n-   **Stable List Keys**: Under Kubernetes Server-Side Apply (SSA), elements in\n    associative lists (like volumes, volume mounts, ports, and container\n    definitions) are matched and merged by their unique identifier keys\n    (typically `name`). You **must** keep the `name` key stable when modifying\n    properties of an existing list item. Renaming the `name` key will cause SSA\n    to create a brand new entry and leave the old entry intact (orphaned) rather\n    than modifying it.\n-   **Minimal Diff**: Make only the changes requested. Adhere closely to\n    existing labels, annotations, and conventions.\n\n--------------------------------------------------------------------------------\n\n## Specialty Workloads: GKE AI\u002FInference Serving (vLLM, TGI, etc.)\n\nFor model serving workloads, prioritize using optimized tooling like GKE\nInference Quickstart if available. If generating manually:\n\n1.  **GPU Request & Allocation**:\n    -   Always request `nvidia.com\u002Fgpu` in both `requests` and `limits`.\n    -   Add a `nodeSelector` or node affinity targeting the desired GKE\n        accelerator tag (e.g., `cloud.google.com\u002Fgke-accelerator: nvidia-l4`).\n2.  **Shared Memory Boost**:\n    -   Model servers require high shared memory (`\u002Fdev\u002Fshm`) for inter-process\n        communications. Always declare and mount an `emptyDir` volume with\n        `medium: Memory` to `\u002Fdev\u002Fshm`.\n3.  **Weight Loading Optimization**:\n    -   Mount model weight directories (like GCS buckets) using the GKE GCS Fuse\n        CSI driver (`csi.storage.gke.io`) as `readOnly: true` for efficient\n        cold-starts.\n\n--------------------------------------------------------------------------------\n\n## Tooling & Grounding Guidelines\n\nWhen generating manifests, you should leverage the following tooling to reduce\nhallucinations and optimize configurations:\n\n1.  **Inference Workloads (GKE Inference Quickstart CLI)**:\n\n    -   Make sure you have the\n        [Google Cloud SDK](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) installed.\n    -   For all AI\u002FLLM inference workloads (e.g. model serving), you **must**\n        prioritize using the `gcloud` CLI GKE Inference Quickstart command to\n        generate the optimized manifests instead of writing them manually:\n\n        ```bash\n        gcloud container ai profiles manifests create \\\n          --model={model_name} \\\n          --model-server={server_name} \\\n          --accelerator-type={accelerator_type} \\\n          --output=manifest \\\n          --output-path={output_file_path}\n        ```\n\n    -   *Constraint*: You must include all resources returned by this command\n        (Deployments, Services, PodMonitoring, etc.) without filtering.\n\n2.  **Grounding in Official Documentation (Developer Knowledge API)**:\n\n    -   For GKE-specific features, API defaults, manifest examples, or security\n        contexts, you **must** query Google's developer knowledge base to\n        retrieve official GKE documentation:\n        -   **`answer_query`**: Use this to ask direct questions (e.g., *\"How to\n            configure GCS Fuse CSI driver in GKE\"*). This is the preferred tool\n            for general queries.\n        -   **`search_documents`**: Use this to search for relevant GKE guides\n            or examples when you don't have a specific question.\n        -   **`get_document`**: Use this to fetch full document contents when\n            you have a specific document ID.\n\n--------------------------------------------------------------------------------\n\n## Reference Examples\n\nFor detailed, production-ready manifest templates, consult the following\nreference guides:\n\n-   **[Basic Hardened Nginx Workload](references\u002Fbasic-workload.md)**:\n    Production-ready deployment with dedicated service account, security\n    contexts, probes, anti-affinity, and PodDisruptionBudget.\n-   **[Network Policy](references\u002Fnetwork-policy.md)**: Default-deny ingress\n    network policy and selective ingress allowance for specific apps.\n-   **[AI\u002FLLM Inference Workload](references\u002Fai-inference.md)**: GPU resource\n    allocation, Workload Identity, GCS FUSE CSI driver mounting, `\u002Fdev\u002Fshm`\n    shared memory boost, and startup probes.\n-   **[GKE Gateway API Routing](references\u002Fgateway-api.md)**: Exposing workloads\n    using GKE L7 Gateway API (`Gateway` and `HTTPRoute` resources).\n","# GKE Manifest Generation Skill\n\nThis skill provides guidelines, tooling integration, and templates to translate\nnatural language descriptions or application code changes into secure,\ncompliant, and cost-effective Kubernetes YAML manifests optimized for both GKE\nAutopilot and GKE Standard clusters.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:gke-manifest-generation)\"`\nand append `agent-skills\u002F1.0 (skill:gke-manifest-generation)` to `User-Agent` headers.\n\n## Core Rules & Verification\n\nWhen generating or updating YAML manifests, you **must** strictly adhere to the\nfollowing rules:\n\n### 1. Namespace & Resource Isolation\n\n-   **Explicit Namespace**: Always declare `namespace: {namespace}` explicitly\n    in the metadata of every resource (Deployments, Services, ConfigMaps,\n    Secrets, PVCs, Roles, bindings). Map it to the namespace configured in your\n    active `SETTINGS.md`. Never omit the namespace.\n-   **Dedicated ServiceAccount**: Avoid using the namespace's `default`\n    ServiceAccount. Always create and reference a dedicated `ServiceAccount`\n    (e.g., `devteam-agent-sa`) for each microservice.\n\n### 2. GKE Resource Tuning (Autopilot & Standard)\n\n-   **Resources Requests & Limits**: Always specify CPU and Memory requests and\n    limits for all containers.\n    -   *GKE Autopilot*: Requests determine pod billing directly; requests and\n        limits must be equal. If they differ, Autopilot will automatically scale\n        requests up to match limits, which can significantly increase costs.\n    -   *GKE Standard*: Requests ensure stable scheduling and bin-packing;\n        limits prevent resource starvation\u002Fnoisy-neighbor issues.\n-   **Density Defaults**: For stateless apps or sidecars on GKE Standard,\n    default to conservative requests (e.g., `requests.cpu: \"100m\"` or `\"200m\"`,\n    `requests.memory: \"256Mi\"` or `\"512Mi\"`) with burstable limits. Use a\n    reasonable overcommit ratio for limits (e.g., 2x to 4x requests, like\n    `limits.cpu: \"400m\"` to `\"800m\"`, and `limits.memory: \"512Mi\"` to `\"1Gi\"`).\n    Avoid excessive overcommit limits (like `limits.cpu: \"4\"` for a `100m`\n    request) to prevent severe CPU throttling and latency degradation under\n    heavy scheduling load, particularly in environments without guaranteed node\n    shares.\n-   **Spot VMs for Staging\u002FDev**: For non-production workloads (e.g., namespaces\n    containing `-test`, `-dev`, or `-staging`), or if the user requests cost\n    optimization, automatically target GKE Spot VMs. This requires injecting\n    both the `nodeSelector` targeting Spot VMs AND the corresponding toleration\n    to tolerate the Spot VM taint:\n\n    ```yaml\n    nodeSelector:\n      cloud.google.com\u002Fgke-spot: \"true\"\n    tolerations:\n      - key: \"cloud.google.com\u002Fgke-spot\"\n        operator: \"Equal\"\n        value: \"true\"\n        effect: \"NoSchedule\"\n    ```\n\n    (On GKE Standard, this assumes a Spot node pool is configured).\n\n### 3. Container Security Hardening (Pod Security Standards)\n\n-   **Non-Root Execution**: Always configure `securityContext` at the Pod level\n    (and container level if overriding) to run as a non-root user (e.g.,\n    `runAsNonRoot: true`, `runAsUser: 10000`, `runAsGroup: 10000`, `fsGroup:\n    10000`). This is strictly enforced on GKE Autopilot and is a critical\n    security baseline for GKE Standard.\n-   **Minimal Privileges**: Always set `allowPrivilegeEscalation: false` and\n    `seccompProfile: {type: RuntimeDefault}`.\n-   **Read-Only Root Filesystem**: Set `readOnlyRootFilesystem: true` to prevent\n    modifications to the container image filesystem.\n    -   *Writable Directory Fallback*: If `readOnlyRootFilesystem` is enabled,\n        mount a local `emptyDir` volume to `\u002Ftmp` or `\u002Fvar\u002Frun\u002F` to allow\n        applications (like Java\u002FNginx) to write temp files without crashing.\n-   **Secret Volume Mounting**: Prefer mounting Secrets as read-only files\n    (configured in the `volumes` spec with `defaultMode: 0400`) instead of\n    mapping them as environment variables, unless the application framework\n    exclusively supports env-var based configuration. This prevents secrets\n    leaking into application logs.\n\n### 4. Health Checking (Mandatory Probes)\n\n-   **Liveness & Readiness Probes**: Every Deployment container must define both\n    `livenessProbe` and `readinessProbe`.\n    -   **Web\u002FAPI**: Use `httpGet` probes.\n    -   **TCP Services**: Use `tcpSocket` probes.\n    -   **Databases\u002FCaches**: Use command-based `exec` probes (e.g.,\n        `exec.command: [\"redis-cli\", \"ping\"]`).\n-   **Startup Probes for Slow-Starting Apps**: For applications with slow boot\n    times (e.g., Java spring boot, complex Python scripts, LLM model servers),\n    you **must** also define a `startupProbe`. When a `startupProbe` is defined,\n    the liveness and readiness probes are disabled until it succeeds, preventing\n    Kubernetes from prematurely killing the pod during startup:\n\n    ```yaml\n    startupProbe:\n      httpGet:\n        path: \u002Fhealthz\n        port: 8080\n      failureThreshold: 30\n      periodSeconds: 10\n    ```\n\n-   **Sensible Defaults**: Set `initialDelaySeconds: 5` to `15` depending on\n    startup time (e.g., Java requires a longer delay than Go\u002FNginx).\n\n### 5. Services & Ingress Routing\n\n-   **Internal ClusterIP**: Default all internal microservices to `type:\n    ClusterIP`. Never use `type: LoadBalancer` or `NodePort` unless the workload\n    is explicitly intended to be publicly accessible from the internet.\n-   **Port Naming**: Always assign clear, standard names to service and\n    container ports (e.g., `name: http-web` or `name: grpc-api`) to enable\n    automatic protocol discovery, tracing, and Web App routing.\n-   **Prefer Gateway API**: When exposing APIs externally, prioritize using GKE\n    Gateway API (`Gateway` and `HTTPRoute` resources) over legacy `Ingress`\n    objects to enable advanced L7 routing and security features (e.g., Cloud\n    Armor).\n\n### 6. Volume Mounts, StorageClasses & subPath Safety\n\n-   **Avoid Directory Overwrites**: When mounting a `ConfigMap` or `Secret` to\n    an application directory containing other files (like Nginx public\n    directories), always use `subPath` to overlay only the specific file.\n    *Caveat*: Note that containers using `subPath` volume mounts do not receive\n    automatic configuration updates if the underlying ConfigMap or Secret is\n    modified; pods must be restarted manually to pick up changes.\n-   **StorageClass Selection**: Use the correct GKE storage class in\n    PersistentVolumeClaims:\n    -   *CSI Driver Clusters (Autopilot & Modern Standard)*: Use `standard-rwo`\n        (default balanced PD) or `premium-rwo` (SSD PD).\n    -   *Legacy Standard Clusters*: Use `standard` (default PD) or `premium`\n        (SSD PD) if `standard-rwo`\u002F`premium-rwo` are not configured.\n    -   *Database rule*: Use SSD storage classes (`premium-rwo` or `premium`)\n        only when the prompt explicitly requests high IOPS, low latency, or\n        database storage.\n\n### 7. High Availability on GKE\n\n-   **Topology Spread**: For deployments with >1 replica, use `podAntiAffinity`\n    or `topologySpreadConstraints` with `topologyKey: \"kubernetes.io\u002Fhostname\"`\n    to distribute pods across GKE nodes and availability zones.\n-   **PodDisruptionBudget**: For deployments with >1 replica, declare a\n    `PodDisruptionBudget` to guarantee minimum replica availability during\n    voluntary GKE node upgrades and maintenance cycles.\n\n### 8. Updates & Server-Side Apply Reconciliations\n\n-   **Stable List Keys**: Under Kubernetes Server-Side Apply (SSA), elements in\n    associative lists (like volumes, volume mounts, ports, and container\n    definitions) are matched and merged by their unique identifier keys\n    (typically `name`). You **must** keep the `name` key stable when modifying\n    properties of an existing list item. Renaming the `name` key will cause SSA\n    to create a brand new entry and leave the old entry intact (orphaned) rather\n    than modifying it.\n-   **Minimal Diff**: Make only the changes requested. Adhere closely to\n    existing labels, annotations, and conventions.\n\n--------------------------------------------------------------------------------\n\n## Specialty Workloads: GKE AI\u002FInference Serving (vLLM, TGI, etc.)\n\nFor model serving workloads, prioritize using optimized tooling like GKE\nInference Quickstart if available. If generating manually:\n\n1.  **GPU Request & Allocation**:\n    -   Always request `nvidia.com\u002Fgpu` in both `requests` and `limits`.\n    -   Add a `nodeSelector` or node affinity targeting the desired GKE\n        accelerator tag (e.g., `cloud.google.com\u002Fgke-accelerator: nvidia-l4`).\n2.  **Shared Memory Boost**:\n    -   Model servers require high shared memory (`\u002Fdev\u002Fshm`) for inter-process\n        communications. Always declare and mount an `emptyDir` volume with\n        `medium: Memory` to `\u002Fdev\u002Fshm`.\n3.  **Weight Loading Optimization**:\n    -   Mount model weight directories (like GCS buckets) using the GKE GCS Fuse\n        CSI driver (`csi.storage.gke.io`) as `readOnly: true` for efficient\n        cold-starts.\n\n--------------------------------------------------------------------------------\n\n## Tooling & Grounding Guidelines\n\nWhen generating manifests, you should leverage the following tooling to reduce\nhallucinations and optimize configurations:\n\n1.  **Inference Workloads (GKE Inference Quickstart CLI)**:\n\n    -   Make sure you have the\n        [Google Cloud SDK](https:\u002F\u002Fcloud.google.com\u002Fsdk\u002Fdocs\u002Finstall) installed.\n    -   For all AI\u002FLLM inference workloads (e.g. model serving), you **must**\n        prioritize using the `gcloud` CLI GKE Inference Quickstart command to\n        generate the optimized manifests instead of writing them manually:\n\n        ```bash\n        gcloud container ai profiles manifests create \\\n          --model={model_name} \\\n          --model-server={server_name} \\\n          --accelerator-type={accelerator_type} \\\n          --output=manifest \\\n          --output-path={output_file_path}\n        ```\n\n    -   *Constraint*: You must include all resources returned by this command\n        (Deployments, Services, PodMonitoring, etc.) without filtering.\n\n2.  **Grounding in Official Documentation (Developer Knowledge API)**:\n\n    -   For GKE-specific features, API defaults, manifest examples, or security\n        contexts, you **must** query Google's developer knowledge base to\n        retrieve official GKE documentation:\n        -   **`answer_query`**: Use this to ask direct questions (e.g., *\"How to\n            configure GCS Fuse CSI driver in GKE\"*). This is the preferred tool\n            for general queries.\n        -   **`search_documents`**: Use this to search for relevant GKE guides\n            or examples when you don't have a specific question.\n        -   **`get_document`**: Use this to fetch full document contents when\n            you have a specific document ID.\n\n--------------------------------------------------------------------------------\n\n## Reference Examples\n\nFor detailed, production-ready manifest templates, consult the following\nreference guides:\n\n-   **[Basic Hardened Nginx Workload](references\u002Fbasic-workload.md)**:\n    Production-ready deployment with dedicated service account, security\n    contexts, probes, anti-affinity, and PodDisruptionBudget.\n-   **[Network Policy](references\u002Fnetwork-policy.md)**: Default-deny ingress\n    network policy and selective ingress allowance for specific apps.\n-   **[AI\u002FLLM Inference Workload](references\u002Fai-inference.md)**: GPU resource\n    allocation, Workload Identity, GCS FUSE CSI driver mounting, `\u002Fdev\u002Fshm`\n    shared memory boost, and startup probes.\n-   **[GKE Gateway API Routing](references\u002Fgateway-api.md)**: Exposing workloads\n    using GKE L7 Gateway API (`Gateway` and `HTTPRoute` resources).\n",{"name":5,"metadata":25,"description":7},{"version":26,"category":27},"1.0.1","Containers","main","2a870f189175a48c39f5f7e26a6d93b0be9cd13b",0,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills","https:\u002F\u002Ftangyixiao.github.io\u002Ftangyixiao-skills\u002F","https:\u002F\u002Fgithub.com\u002Ftangyixiao","http:\u002F\u002Fwww.sxyz.net\u002F","I am Tang Yixiao, a student in Shaoxing No.1 High School. I am eager to learn on GitHub and contribute my part to this community.","2026-11-11 15:45:59",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add tangyixiao\u002Ftangyixiao-skills --skill gke-manifest-generation",{"tool":43,"command":44},"bunx","bunx skills add tangyixiao\u002Ftangyixiao-skills --skill gke-manifest-generation",{"tool":46,"command":47},"pnpm","pnpm dlx skills add tangyixiao\u002Ftangyixiao-skills --skill gke-manifest-generation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002FSKILL.md",true,[51,57,61,65,69,73,77],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"INSTALL-SOURCE.json","REFERENCE","参考文档",529,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002FINSTALL-SOURCE.json",{"path":58,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":16},"LICENSE","许可证",11358,{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fai-inference.md",3065,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002Freferences\u002Fai-inference.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fattribution.md",1909,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002Freferences\u002Fattribution.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fbasic-workload.md",3519,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002Freferences\u002Fbasic-workload.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fgateway-api.md",906,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002Freferences\u002Fgateway-api.md",{"path":78,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fnetwork-policy.md",918,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fgke-manifest-generation\u002Freferences\u002Fnetwork-policy.md",[82,90,99,107,115,123],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":20},"01M7D8JK8FYBFNNAJXWD89CFH7","xlsx","Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M7D8JG8ERGGQQAMX0DWCG9GR","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","MIT","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M7D8JE672GW3EHSE8EF185M4","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":20},"01M7D8JBK572YDFMND8Q6CEYJW","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M7D8J5QPWEXX61EGBKYH73R8","writing-clearly-and-concisely","Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-clearly-and-concisely\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":94,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":20},"01M7D8J36YWC8WZS5DK5AH03CD","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fwriting-beats\u002FSKILL.md",[],[]]