[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DRMXA1PVW9NJC9EWDKKJAF":3,"skill-same:01M6DRMXA1PVW9NJC9EWDKKJAF":126},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6DRMXA1PVW9NJC9EWDKKJAF","application-design-center-design-deploy",null,"Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting deployment failures. Boundaries: - Only use for GCP-specific cloud infrastructure. - Only use for Terraform coding within the ADC context.","robomotionio\u002Frobomotion-skills","robomotionio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49553031?v=4","01M6DNT9VFKCCTN41ZX2AJAKF6","Robomotion RPA","01M6DNTA04HHCEWE175YJ41Q1M",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"application design center design deploy","application","deploy","design","templates","local","best-practice","only","use","context","coding","troubleshooting","plan","gcp","cloud","terraform","deployment","infrastructure","workflows","google","2026-11-10 10:12:30",false,"---\nname: application-design-center-design-deploy\ndescription: >-\n  Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC).\n  Use when:\n  - Designing GCP infrastructure with Terraform.\n  - Validating local HCL.\n  - Performing best-practice plan scans.\n  - Importing templates to Application Design Center (ADC).\n  - Deploying templates.\n  - Troubleshooting deployment failures.\n  Boundaries:\n  - Only use for GCP-specific cloud infrastructure.\n  - Only use for Terraform coding within the ADC context.\nlicense: Apache-2.0\nmetadata:\n  version: v1\n  publisher: google\n  category: CloudInfrastructure\n---\n\n# Designing and Deploying GCP Infrastructure with Application Design Center\n\n## Overview\n\nThis skill provides a prescriptive, production-grade workflow for the entire\ninfrastructure lifecycle on Google Cloud Platform (GCP). It replaces the\nautomated, opaque-box GAD `design_infra` tool with an **agent-controlled design\nand validation loop** utilizing modular Terraform and local CLI validation,\nfollowed by a **shifted-left best practices plan scan** prior to synchronization\nwith the Application Design Center (ADC) registry for deployment and lifecycle\nmanagement.\n\nAlways maintain the persona of a Principal Cloud Architect. Keep the local\nTerraform configuration as the source of truth, and ensure the design is fully\ncompliant with best practices before importing it into the cloud registry.\n\n--------------------------------------------------------------------------------\n\n## Index\n\n1.  [Pre-requisites: Setup & Confirmation](#pre-requisites-setup-confirmation)\n2.  [Phase 1: Local Infrastructure Design & Validation](#phase-1-local-infrastructure-design-validation)\n3.  [Phase 2: Shifted-Left Best Practices Assessment & Iterative Remediation](#phase-2-shifted-left-best-practices-assessment-iterative-remediation)\n4.  [Phase 3: Import IaC to Application Design Center](#phase-3-import-iac-to-application-design-center)\n5.  [Phase 4: Application Deployment & Monitoring](#phase-4-application-deployment-monitoring)\n6.  [Phase 5: Troubleshoot Deployment Failures](#phase-5-troubleshoot-deployment-failures)\n7.  [Phase 6: Verification & E2E Testing](#phase-6-verification-e2e-testing)\n\n--------------------------------------------------------------------------------\n\n## Pre-requisites: Setup & Confirmation\n\nBefore executing Phase 1, you **must** perform the following setup steps:\n\n1.  **Confirm Target Project & Location**:\n\n    *   Explicitly ask the user to confirm the target GCP **project ID** and\n        **location** (region).\n    *   If the user does not specify a location, use **`us-central1`** as the\n        default.\n    *   Verify that your local environment has the active project set:\n\n        ```bash\n        gcloud config set project \u003Cproject_id>\n        ```\n\n--------------------------------------------------------------------------------\n\n## Phase 1: Local Infrastructure Design & Validation\n\n**Goal**: Transform user requirements and codebase characteristics into a 100%\nvalidated, secure, and compile-ready Terraform configuration locally.\n\n1.  **Invoke the `design` Skill**: Call and execute the `design` skill (defined\n    in [design](references\u002Fdesign_guide.md))\n    for the user's prompt.\n    *   The `design` skill will autonomously perform the Codebase Analysis,\n        query the catalog registry, planning, HCL generation, and local CLI\n        validation loop (`terraform init`, `validate`, `plan`) in a dedicated\n        scratch directory.\n2.  **Locate Validated HCL**: Identify the scratch directory where the `design`\n    skill saved the validated, compile-ready Terraform files (e.g.,\n    `scratch\u002Ftf_validate_\u003Csession_id>\u002F`).\n3.  **Verify Handover (MANDATORY)**: Ensure that the local validation loop in\n    the `design` skill completed successfully with a clean plan before\n    proceeding. Meticulously inspect the HCL to verify:\n    *   **Secret-Safe Policy**: Confirm that no plaintext credentials,\n        passwords, or hardcoded secrets are written in `terraform.tfvars` or HCL\n        resource blocks. All sensitive inputs must be wired through GCP Secret\n        Manager.\n    *   **State Isolation Policy**: Confirm that there is no remote backend\n        block (e.g., `backend \"gcs\" {}`) in the HCL files. State must remain\n        local in the scratch folder during validation, allowing ADC to handle\n        the remote state registry upon import.\n    *   *Remediation*: If any violations are found, correct them in the HCL,\n        re-run local validation, and verify again. Do not proceed with\n        unvalidated or insecure code.\n4.  **Export Terraform Plan to JSON (MANDATORY)**: In the scratch directory, run\n    the following commands to generate a binary plan and convert it into a clean\n    JSON representation:\n\n    ```bash\n    terraform plan -out=tfplan && terraform show -json tfplan > tfplan.json\n    ```\n\n    Verify that the `tfplan.json` file is successfully written in your scratch\n    directory.\n\n--------------------------------------------------------------------------------\n\n## Phase 2: Shifted-Left Best Practices Assessment & Iterative Remediation\n\n**Goal**: Validate the local plan's alignment with security, cost, and\nreliability benchmarks BEFORE importing it into the cloud registry, using the\nnative ADC plan assessment API.\n\n1.  **Discover Space ID (MANDATORY)**: Before running the assessment or creating\n    templates, you **must** dynamically discover the active ADC Space ID in your\n    target location:\n\n    *   **List Spaces**: Run the command:\n\n        ```bash\n        gcloud design-center spaces list --project=\u003Cproject_id> --location=\u003Clocation>\n        ```\n\n    *   **Select Space**: Parse the output to identify the active space (e.g.,\n        `test-deploy` or `googlespace`). If multiple spaces exist, ask the user\n        to confirm. If no space exists, ask the user or create one:\n\n        ```bash\n        gcloud design-center spaces create \u003Cspace_id> --project=\u003Cproject_id> --location=\u003Clocation>\n        ```\n\n2.  **Execute Plan Assessment via gcloud**: Run the plan-based assessment using\n    the discovered Space ID and your exported `tfplan.json` file. Execute the\n    command directly in your terminal:\n\n    ```bash\n    gcloud design-center spaces generate-terraform-assessment-report \u003Cspace_id> \\\n        --location=\u003Clocation> \\\n        --project=\u003Cproject_id> \\\n        --terraform-plan=\"\u003Cscratch_directory_path>\u002Ftfplan.json\" \\\n        --format=json\n    ```\n\n3.  **Analyze Findings**: Present all findings to the user in a clean tabular\n    format, detailing specific violations, resource scopes, and associated\n    severity levels.\n\n4.  **Local Remediation Loop**:\n\n    *   **Do not** attempt to import or commit insecure code.\n    *   Edit your **local HCL files** in the scratch directory to fix the\n        reported violations (e.g., adding encryption keys, enabling OS Login, or\n        restricting IAM scopes).\n    *   Re-run Phase 1 local validation and plan export:\n\n        ```bash\n        terraform validate && terraform plan -out=tfplan && terraform show -json tfplan > tfplan.json\n        ```\n\n    *   Re-run the plan assessment command shown in step 2.\n\n5.  **Exit Criteria**:\n\n    *   All high\u002Fcritical findings resolved, or acceptable trade-offs\n        documented.\n    *   Maximum of three (3) iterative attempts reached. Once clean or\n        acceptable, proceed to Phase 3.\n\n--------------------------------------------------------------------------------\n\n## Phase 3: Import IaC to Application Design Center\n\n**Goal**: Synchronize the fully validated and best-practice-compliant local HCL\nconfiguration with the ADC cloud registry to establish the deployable template\nresource.\n\n1.  **Verify or Create the Application Template (MANDATORY)**: Before importing\n    the HCL, you **must** ensure the parent Application Template resource exists\n    in the discovered ADC space.\n\n    *   **Check Existence**: Run `gcloud design-center spaces\n        application-templates describe \u003Ctemplate_id> --space=\u003Cspace_id>\n        --project=\u003Cproject_id> --location=\u003Clocation>` to check if the template\n        exists.\n    *   **Create if Missing**: If the describe command returns a `NOT_FOUND`\n        error, create the template resource first by running:\n\n        ```bash\n        gcloud design-center spaces application-templates create \u003Ctemplate_id> --space=\u003Cspace_id> --project=\u003Cproject_id> --location=\u003Clocation> --display-name=\"\u003CName>\" --description=\"\u003CDescription>\"\n        ```\n\n2.  **Strict HCL Parser Constraints (CRITICAL):** Before calling the import\n    operation, ensure your local HCL complies with the ADC registry's strict\n    ingestion rules:\n\n    *   **Pure Module Policy (No Resource Blocks):** The ADC parser strictly\n        **prohibits any `resource` blocks** inside the imported HCL. Only\n        `module`, `variable`, `output`, and `provider` blocks are allowed. If a\n        resource is required (e.g. Private Service Access peering) but no\n        standalone module is registered for it in the catalog, you MUST check if\n        it is supported as a built-in configuration option inside an existing\n        registered module (e.g. setting `private_service_access_config` inside\n        `module \"vpc\"`).\n    *   **Strict String Typing:** The ADC parser does not perform implicit type\n        coercion from boolean to string. For example, subnet private access must\n        be declared as a literal string: `subnet_private_access = \"true\"`, NOT\n        as a boolean `true`.\n    *   **No Terraform Block:** The parser strictly prohibits the `terraform {}`\n        version constraint block. Omit it entirely from `providers.tf` or\n        `main.tf`.\n\n3.  **Import to ADC Template**: Once the template resource is confirmed to exist\n    and the HCL is validated against the above constraints, invoke the hosted\n    `application_design_center:manage_application_template` MCP tool with the\n    `APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC` operation:\n\n    *   **Arguments**:\n\n        *   `project`: The target project ID.\n        *   `location`: The GCP deployment region (e.g., `us-central1`).\n        *   `spaceId`: The discovered ADC space ID.\n        *   `applicationTemplateId`: A unique name for your application\n            template.\n        *   `operation`: `APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC`\n        *   `iacModule`: A structured object containing the files list:\n\n            ```json\n            {\n              \"files\": [\n                { \"name\": \"main.tf\", \"content\": \"\u003Ccontent of main.tf>\" },\n                { \"name\": \"variables.tf\", \"content\": \"\u003Ccontent of variables.tf>\" },\n                { \"name\": \"terraform.tfvars\", \"content\": \"\u003Ccontent of terraform.tfvars>\" }\n              ]\n            }\n            ```\n\n    *   **Resilience & Retries (MANDATORY)**:\n\n        *   If the `IMPORT_IAC` call fails due to a transient error (e.g., `502\n            Bad Gateway`, `504 Gateway Timeout`, or `429 Rate Limit`), **do not\n            immediately retry**.\n        *   Use **exponential backoff with jitter** (e.g., waiting 2s, 4s, 8s\n            plus a random fraction of a second).\n        *   **Verify Revision before Retry**: If a timeout occurred, first call\n            `gcloud alpha design-center spaces application-templates describe`\n            to check if the import actually succeeded in the background. Only\n            retry if the template was not updated.\n\n4.  **Capture Template URI**: Upon success, this establishes the template\n    resource in your space. Construct the `applicationTemplateUri` using the\n    pattern:\n    `projects\u002F{project}\u002Flocations\u002F{location}\u002Fspaces\u002F{spaceId}\u002FapplicationTemplates\u002F{applicationTemplateId}`\n\n--------------------------------------------------------------------------------\n\n## Phase 4: Application Deployment & Monitoring\n\n**Goal**: Deploy the validated, best-practice-compliant application template to\nthe GCP environment.\n\n1.  **Deploy Application**: Invoke the hosted\n    `application_design_center:manage_application` MCP tool with the\n    `APPLICATION_OPERATION_DEPLOY` operation:\n    *   **Arguments**:\n        *   `project`: Target project ID.\n        *   `location`: Target deployment location.\n        *   `spaceId`: Target space ID.\n        *   `applicationId`: A unique ID for the deployed application instance.\n        *   `applicationTemplateUri`: The URI established in Phase 3.\n        *   `serviceAccount`: The deployment service account.\n    *   **Resilience & Retries (MANDATORY)**:\n        *   If the `DEPLOY` operation fails with transient network or gateway\n            errors (e.g., `502`, `504`), apply **exponential backoff with\n            jitter** before retrying.\n        *   If the deployment LRO times out or fails with a state conflict,\n            verify the application status using `gcloud design-center spaces\n            applications describe` to confirm its status before retrying the\n            deploy call, avoiding concurrent conflicting deployments.\n2.  **Active LRO Monitoring**:\n    *   The tool returns a Long-Running Operation (LRO). Inform the user that\n        the deployment has started.\n    *   **Do not sleep** during deployment status polling. Poll the LRO actively\n        every 30–60 seconds until `done: true` using the command `gcloud\n        design-center operations describe \u003Coperation_name>`.\n3.  **Handle Results**:\n    *   **Success**: If `done` is `true` and there is no `error` field, proceed\n        to Phase 6.\n    *   **Failure**: If an `error` field is present, analyze the error type and\n        proceed to Phase 5.\n\n--------------------------------------------------------------------------------\n\n## Phase 5: Troubleshoot Deployment Failures\n\n**Goal**: Diagnose and remediate deployment failures iteratively using the\nspecialized troubleshooting skill and established cloud resolution patterns.\n\n1.  **Iterative Cloud Resolution Patterns (CRITICAL):** If the deployment fails\n    with a `REVISION_FAILED` or `TERRAFORM` error, check for these common\n    resource conflicts:\n\n    *   **Service Account 409 Conflict (`alreadyExists`):** If the deployment\n        fails because a service account generated by the module (e.g.\n        `frontend-service-us-central-sa`) already exists in the project,\n        remediate the local HCL by disabling service account creation and\n        referencing the existing one:\n\n        ```hcl\n        create_service_account = false\n        service_account        = \"\u003Cexisting_service_account_email>\"\n        ```\n\n    *   **Container Image 404 NotFound:** If the deployment fails because a\n        container image is not found, confirm that the image exists in your\n        registry. For testing or hello-world deployments, leverage the official\n        public Google hello-world image:\n        `us-docker.pkg.dev\u002Fcloudrun\u002Fcontainer\u002Fhello`\n\n2.  **Delegate to the Troubleshooting Skill**: If a deployment failure occurs\n    and does not match the above patterns, invoke and execute the specialized\n    `infra-deployment-debugging` guide (located in\n    [infra-deployment-debugging](references\u002Ftroubleshooting_guide.md)).\n\n3.  **Select the Troubleshooting Context**:\n\n    *   **For Local Validation Errors (Phase 1\u002F2)**: Follow **Case B: Raw\n        Terraform Deployment** instructions in the troubleshooting skill to\n        isolate syntax, compilation, and plan-time validation errors.\n    *   **For Cloud Deployment Failures (Phase 4)**: Follow **Case A: ADC\n        Application Deployment** instructions in the troubleshooting skill to\n        analyze LRO errors, retrieve service logs, and diagnose cloud\n        environment issues.\n\n4.  **Apply Local-First Remediation**:\n\n    *   Follow the troubleshooting skill's remediation guides to formulate a\n        fix.\n    *   **MANDATORY**: Apply the fix directly to your **local HCL files** in the\n        scratch directory, re-run local validation, re-import the HCL, and\n        trigger a new deployment.\n    *   Re-run Phase 1 local validation and plan export:\n\n        ```bash\n        terraform validate && terraform plan -out=tfplan && terraform show -json tfplan > tfplan.json\n        ```\n\n    *   Re-run the plan assessment (Phase 2) to ensure no new violations are\n        introduced.\n\n    *   Re-import the corrected HCL to ADC using\n        `APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC`.\n\n    *   Trigger a new deployment using `APPLICATION_OPERATION_DEPLOY`.\n\n5.  **Iteration Threshold**: Repeat the troubleshooting, validation, import, and\n    redeployment cycle up to five (5) times. If it still fails, report the full\n    history and diagnostics to the user.\n\n--------------------------------------------------------------------------------\n\n## Phase 6: Verification & E2E Testing\n\n**Goal**: Confirm that the deployed services are healthy and fully functional.\n\n1.  **Retrieve Deployed Resources**: Invoke the hosted\n    `application_design_center:manage_application` MCP tool with the\n    `APPLICATION_OPERATION_GET` operation to retrieve the resource details,\n    public endpoints, and output parameters.\n2.  **Health Check**: Verify that all services are using the correct container\n    image URLs and that their runtime status is healthy.\n3.  **E2E Validation**: Conduct a simple demo test (e.g., checking public HTTP\n    endpoints or triggering a dry-run transaction) to ensure E2E functionality.\n    Present the results and public URLs to the user to conclude the task.\n\n## Reporting Issues\n\nReport bugs or improvements for this skill at [Google Skills Issues](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fissues).\n","# Designing and Deploying GCP Infrastructure with Application Design Center\n\n## Overview\n\nThis skill provides a prescriptive, production-grade workflow for the entire\ninfrastructure lifecycle on Google Cloud Platform (GCP). It replaces the\nautomated, opaque-box GAD `design_infra` tool with an **agent-controlled design\nand validation loop** utilizing modular Terraform and local CLI validation,\nfollowed by a **shifted-left best practices plan scan** prior to synchronization\nwith the Application Design Center (ADC) registry for deployment and lifecycle\nmanagement.\n\nAlways maintain the persona of a Principal Cloud Architect. Keep the local\nTerraform configuration as the source of truth, and ensure the design is fully\ncompliant with best practices before importing it into the cloud registry.\n\n--------------------------------------------------------------------------------\n\n## Index\n\n1.  [Pre-requisites: Setup & Confirmation](#pre-requisites-setup-confirmation)\n2.  [Phase 1: Local Infrastructure Design & Validation](#phase-1-local-infrastructure-design-validation)\n3.  [Phase 2: Shifted-Left Best Practices Assessment & Iterative Remediation](#phase-2-shifted-left-best-practices-assessment-iterative-remediation)\n4.  [Phase 3: Import IaC to Application Design Center](#phase-3-import-iac-to-application-design-center)\n5.  [Phase 4: Application Deployment & Monitoring](#phase-4-application-deployment-monitoring)\n6.  [Phase 5: Troubleshoot Deployment Failures](#phase-5-troubleshoot-deployment-failures)\n7.  [Phase 6: Verification & E2E Testing](#phase-6-verification-e2e-testing)\n\n--------------------------------------------------------------------------------\n\n## Pre-requisites: Setup & Confirmation\n\nBefore executing Phase 1, you **must** perform the following setup steps:\n\n1.  **Confirm Target Project & Location**:\n\n    *   Explicitly ask the user to confirm the target GCP **project ID** and\n        **location** (region).\n    *   If the user does not specify a location, use **`us-central1`** as the\n        default.\n    *   Verify that your local environment has the active project set:\n\n        ```bash\n        gcloud config set project \u003Cproject_id>\n        ```\n\n--------------------------------------------------------------------------------\n\n## Phase 1: Local Infrastructure Design & Validation\n\n**Goal**: Transform user requirements and codebase characteristics into a 100%\nvalidated, secure, and compile-ready Terraform configuration locally.\n\n1.  **Invoke the `design` Skill**: Call and execute the `design` skill (defined\n    in [design](references\u002Fdesign_guide.md))\n    for the user's prompt.\n    *   The `design` skill will autonomously perform the Codebase Analysis,\n        query the catalog registry, planning, HCL generation, and local CLI\n        validation loop (`terraform init`, `validate`, `plan`) in a dedicated\n        scratch directory.\n2.  **Locate Validated HCL**: Identify the scratch directory where the `design`\n    skill saved the validated, compile-ready Terraform files (e.g.,\n    `scratch\u002Ftf_validate_\u003Csession_id>\u002F`).\n3.  **Verify Handover (MANDATORY)**: Ensure that the local validation loop in\n    the `design` skill completed successfully with a clean plan before\n    proceeding. Meticulously inspect the HCL to verify:\n    *   **Secret-Safe Policy**: Confirm that no plaintext credentials,\n        passwords, or hardcoded secrets are written in `terraform.tfvars` or HCL\n        resource blocks. All sensitive inputs must be wired through GCP Secret\n        Manager.\n    *   **State Isolation Policy**: Confirm that there is no remote backend\n        block (e.g., `backend \"gcs\" {}`) in the HCL files. State must remain\n        local in the scratch folder during validation, allowing ADC to handle\n        the remote state registry upon import.\n    *   *Remediation*: If any violations are found, correct them in the HCL,\n        re-run local validation, and verify again. Do not proceed with\n        unvalidated or insecure code.\n4.  **Export Terraform Plan to JSON (MANDATORY)**: In the scratch directory, run\n    the following commands to generate a binary plan and convert it into a clean\n    JSON representation:\n\n    ```bash\n    terraform plan -out=tfplan && terraform show -json tfplan > tfplan.json\n    ```\n\n    Verify that the `tfplan.json` file is successfully written in your scratch\n    directory.\n\n--------------------------------------------------------------------------------\n\n## Phase 2: Shifted-Left Best Practices Assessment & Iterative Remediation\n\n**Goal**: Validate the local plan's alignment with security, cost, and\nreliability benchmarks BEFORE importing it into the cloud registry, using the\nnative ADC plan assessment API.\n\n1.  **Discover Space ID (MANDATORY)**: Before running the assessment or creating\n    templates, you **must** dynamically discover the active ADC Space ID in your\n    target location:\n\n    *   **List Spaces**: Run the command:\n\n        ```bash\n        gcloud design-center spaces list --project=\u003Cproject_id> --location=\u003Clocation>\n        ```\n\n    *   **Select Space**: Parse the output to identify the active space (e.g.,\n        `test-deploy` or `googlespace`). If multiple spaces exist, ask the user\n        to confirm. If no space exists, ask the user or create one:\n\n        ```bash\n        gcloud design-center spaces create \u003Cspace_id> --project=\u003Cproject_id> --location=\u003Clocation>\n        ```\n\n2.  **Execute Plan Assessment via gcloud**: Run the plan-based assessment using\n    the discovered Space ID and your exported `tfplan.json` file. Execute the\n    command directly in your terminal:\n\n    ```bash\n    gcloud design-center spaces generate-terraform-assessment-report \u003Cspace_id> \\\n        --location=\u003Clocation> \\\n        --project=\u003Cproject_id> \\\n        --terraform-plan=\"\u003Cscratch_directory_path>\u002Ftfplan.json\" \\\n        --format=json\n    ```\n\n3.  **Analyze Findings**: Present all findings to the user in a clean tabular\n    format, detailing specific violations, resource scopes, and associated\n    severity levels.\n\n4.  **Local Remediation Loop**:\n\n    *   **Do not** attempt to import or commit insecure code.\n    *   Edit your **local HCL files** in the scratch directory to fix the\n        reported violations (e.g., adding encryption keys, enabling OS Login, or\n        restricting IAM scopes).\n    *   Re-run Phase 1 local validation and plan export:\n\n        ```bash\n        terraform validate && terraform plan -out=tfplan && terraform show -json tfplan > tfplan.json\n        ```\n\n    *   Re-run the plan assessment command shown in step 2.\n\n5.  **Exit Criteria**:\n\n    *   All high\u002Fcritical findings resolved, or acceptable trade-offs\n        documented.\n    *   Maximum of three (3) iterative attempts reached. Once clean or\n        acceptable, proceed to Phase 3.\n\n--------------------------------------------------------------------------------\n\n## Phase 3: Import IaC to Application Design Center\n\n**Goal**: Synchronize the fully validated and best-practice-compliant local HCL\nconfiguration with the ADC cloud registry to establish the deployable template\nresource.\n\n1.  **Verify or Create the Application Template (MANDATORY)**: Before importing\n    the HCL, you **must** ensure the parent Application Template resource exists\n    in the discovered ADC space.\n\n    *   **Check Existence**: Run `gcloud design-center spaces\n        application-templates describe \u003Ctemplate_id> --space=\u003Cspace_id>\n        --project=\u003Cproject_id> --location=\u003Clocation>` to check if the template\n        exists.\n    *   **Create if Missing**: If the describe command returns a `NOT_FOUND`\n        error, create the template resource first by running:\n\n        ```bash\n        gcloud design-center spaces application-templates create \u003Ctemplate_id> --space=\u003Cspace_id> --project=\u003Cproject_id> --location=\u003Clocation> --display-name=\"\u003CName>\" --description=\"\u003CDescription>\"\n        ```\n\n2.  **Strict HCL Parser Constraints (CRITICAL):** Before calling the import\n    operation, ensure your local HCL complies with the ADC registry's strict\n    ingestion rules:\n\n    *   **Pure Module Policy (No Resource Blocks):** The ADC parser strictly\n        **prohibits any `resource` blocks** inside the imported HCL. Only\n        `module`, `variable`, `output`, and `provider` blocks are allowed. If a\n        resource is required (e.g. Private Service Access peering) but no\n        standalone module is registered for it in the catalog, you MUST check if\n        it is supported as a built-in configuration option inside an existing\n        registered module (e.g. setting `private_service_access_config` inside\n        `module \"vpc\"`).\n    *   **Strict String Typing:** The ADC parser does not perform implicit type\n        coercion from boolean to string. For example, subnet private access must\n        be declared as a literal string: `subnet_private_access = \"true\"`, NOT\n        as a boolean `true`.\n    *   **No Terraform Block:** The parser strictly prohibits the `terraform {}`\n        version constraint block. Omit it entirely from `providers.tf` or\n        `main.tf`.\n\n3.  **Import to ADC Template**: Once the template resource is confirmed to exist\n    and the HCL is validated against the above constraints, invoke the hosted\n    `application_design_center:manage_application_template` MCP tool with the\n    `APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC` operation:\n\n    *   **Arguments**:\n\n        *   `project`: The target project ID.\n        *   `location`: The GCP deployment region (e.g., `us-central1`).\n        *   `spaceId`: The discovered ADC space ID.\n        *   `applicationTemplateId`: A unique name for your application\n            template.\n        *   `operation`: `APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC`\n        *   `iacModule`: A structured object containing the files list:\n\n            ```json\n            {\n              \"files\": [\n                { \"name\": \"main.tf\", \"content\": \"\u003Ccontent of main.tf>\" },\n                { \"name\": \"variables.tf\", \"content\": \"\u003Ccontent of variables.tf>\" },\n                { \"name\": \"terraform.tfvars\", \"content\": \"\u003Ccontent of terraform.tfvars>\" }\n              ]\n            }\n            ```\n\n    *   **Resilience & Retries (MANDATORY)**:\n\n        *   If the `IMPORT_IAC` call fails due to a transient error (e.g., `502\n            Bad Gateway`, `504 Gateway Timeout`, or `429 Rate Limit`), **do not\n            immediately retry**.\n        *   Use **exponential backoff with jitter** (e.g., waiting 2s, 4s, 8s\n            plus a random fraction of a second).\n        *   **Verify Revision before Retry**: If a timeout occurred, first call\n            `gcloud alpha design-center spaces application-templates describe`\n            to check if the import actually succeeded in the background. Only\n            retry if the template was not updated.\n\n4.  **Capture Template URI**: Upon success, this establishes the template\n    resource in your space. Construct the `applicationTemplateUri` using the\n    pattern:\n    `projects\u002F{project}\u002Flocations\u002F{location}\u002Fspaces\u002F{spaceId}\u002FapplicationTemplates\u002F{applicationTemplateId}`\n\n--------------------------------------------------------------------------------\n\n## Phase 4: Application Deployment & Monitoring\n\n**Goal**: Deploy the validated, best-practice-compliant application template to\nthe GCP environment.\n\n1.  **Deploy Application**: Invoke the hosted\n    `application_design_center:manage_application` MCP tool with the\n    `APPLICATION_OPERATION_DEPLOY` operation:\n    *   **Arguments**:\n        *   `project`: Target project ID.\n        *   `location`: Target deployment location.\n        *   `spaceId`: Target space ID.\n        *   `applicationId`: A unique ID for the deployed application instance.\n        *   `applicationTemplateUri`: The URI established in Phase 3.\n        *   `serviceAccount`: The deployment service account.\n    *   **Resilience & Retries (MANDATORY)**:\n        *   If the `DEPLOY` operation fails with transient network or gateway\n            errors (e.g., `502`, `504`), apply **exponential backoff with\n            jitter** before retrying.\n        *   If the deployment LRO times out or fails with a state conflict,\n            verify the application status using `gcloud design-center spaces\n            applications describe` to confirm its status before retrying the\n            deploy call, avoiding concurrent conflicting deployments.\n2.  **Active LRO Monitoring**:\n    *   The tool returns a Long-Running Operation (LRO). Inform the user that\n        the deployment has started.\n    *   **Do not sleep** during deployment status polling. Poll the LRO actively\n        every 30–60 seconds until `done: true` using the command `gcloud\n        design-center operations describe \u003Coperation_name>`.\n3.  **Handle Results**:\n    *   **Success**: If `done` is `true` and there is no `error` field, proceed\n        to Phase 6.\n    *   **Failure**: If an `error` field is present, analyze the error type and\n        proceed to Phase 5.\n\n--------------------------------------------------------------------------------\n\n## Phase 5: Troubleshoot Deployment Failures\n\n**Goal**: Diagnose and remediate deployment failures iteratively using the\nspecialized troubleshooting skill and established cloud resolution patterns.\n\n1.  **Iterative Cloud Resolution Patterns (CRITICAL):** If the deployment fails\n    with a `REVISION_FAILED` or `TERRAFORM` error, check for these common\n    resource conflicts:\n\n    *   **Service Account 409 Conflict (`alreadyExists`):** If the deployment\n        fails because a service account generated by the module (e.g.\n        `frontend-service-us-central-sa`) already exists in the project,\n        remediate the local HCL by disabling service account creation and\n        referencing the existing one:\n\n        ```hcl\n        create_service_account = false\n        service_account        = \"\u003Cexisting_service_account_email>\"\n        ```\n\n    *   **Container Image 404 NotFound:** If the deployment fails because a\n        container image is not found, confirm that the image exists in your\n        registry. For testing or hello-world deployments, leverage the official\n        public Google hello-world image:\n        `us-docker.pkg.dev\u002Fcloudrun\u002Fcontainer\u002Fhello`\n\n2.  **Delegate to the Troubleshooting Skill**: If a deployment failure occurs\n    and does not match the above patterns, invoke and execute the specialized\n    `infra-deployment-debugging` guide (located in\n    [infra-deployment-debugging](references\u002Ftroubleshooting_guide.md)).\n\n3.  **Select the Troubleshooting Context**:\n\n    *   **For Local Validation Errors (Phase 1\u002F2)**: Follow **Case B: Raw\n        Terraform Deployment** instructions in the troubleshooting skill to\n        isolate syntax, compilation, and plan-time validation errors.\n    *   **For Cloud Deployment Failures (Phase 4)**: Follow **Case A: ADC\n        Application Deployment** instructions in the troubleshooting skill to\n        analyze LRO errors, retrieve service logs, and diagnose cloud\n        environment issues.\n\n4.  **Apply Local-First Remediation**:\n\n    *   Follow the troubleshooting skill's remediation guides to formulate a\n        fix.\n    *   **MANDATORY**: Apply the fix directly to your **local HCL files** in the\n        scratch directory, re-run local validation, re-import the HCL, and\n        trigger a new deployment.\n    *   Re-run Phase 1 local validation and plan export:\n\n        ```bash\n        terraform validate && terraform plan -out=tfplan && terraform show -json tfplan > tfplan.json\n        ```\n\n    *   Re-run the plan assessment (Phase 2) to ensure no new violations are\n        introduced.\n\n    *   Re-import the corrected HCL to ADC using\n        `APPLICATION_TEMPLATE_OPERATION_IMPORT_IAC`.\n\n    *   Trigger a new deployment using `APPLICATION_OPERATION_DEPLOY`.\n\n5.  **Iteration Threshold**: Repeat the troubleshooting, validation, import, and\n    redeployment cycle up to five (5) times. If it still fails, report the full\n    history and diagnostics to the user.\n\n--------------------------------------------------------------------------------\n\n## Phase 6: Verification & E2E Testing\n\n**Goal**: Confirm that the deployed services are healthy and fully functional.\n\n1.  **Retrieve Deployed Resources**: Invoke the hosted\n    `application_design_center:manage_application` MCP tool with the\n    `APPLICATION_OPERATION_GET` operation to retrieve the resource details,\n    public endpoints, and output parameters.\n2.  **Health Check**: Verify that all services are using the correct container\n    image URLs and that their runtime status is healthy.\n3.  **E2E Validation**: Conduct a simple demo test (e.g., checking public HTTP\n    endpoints or triggering a dry-run transaction) to ensure E2E functionality.\n    Present the results and public URLs to the user to conclude the task.\n\n## Reporting Issues\n\nReport bugs or improvements for this skill at [Google Skills Issues](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fissues).\n",{"name":5,"license":15,"metadata":44,"description":7},{"version":45,"category":46,"publisher":38},"v1","CloudInfrastructure","main","255bc92da499b24be3950e91bf3fd2f84adc6246","google-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy",0,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills","https:\u002F\u002Fgithub.com\u002Frobomotionio","https:\u002F\u002Fwww.robomotion.io","A web-based and cloud-native Robotic Process Automation (RPA) platform","2026-11-09 21:54:14",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add robomotionio\u002Frobomotion-skills --skill application-design-center-design-deploy",{"tool":62,"command":63},"bunx","bunx skills add robomotionio\u002Frobomotion-skills --skill application-design-center-design-deploy",{"tool":65,"command":66},"pnpm","pnpm dlx skills add robomotionio\u002Frobomotion-skills --skill application-design-center-design-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002FSKILL.md",true,[70,76,80,84,88,92,96,100,104,108,114,118,122],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fadc_application_troubleshooting.md","REFERENCE","参考文档",6777,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fadc_application_troubleshooting.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fdesign_guide.md",14601,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fdesign_guide.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Ferror_analysis_guide.md",6749,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Ferror_analysis_guide.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fgenerator_instructions.md",8582,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fgenerator_instructions.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fplanner_instructions.md",2770,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fplanner_instructions.md",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fraw_terraform_troubleshooting.md",4376,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fraw_terraform_troubleshooting.md",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fremediation_guide.md",4386,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fremediation_guide.md",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fterraform_validator_instructions.md",2551,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Fterraform_validator_instructions.md",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Ftroubleshooting_guide.md",2651,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Freferences\u002Ftroubleshooting_guide.md",{"path":109,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Ffetch_terraform_template_test.py","SCRIPT","脚本",1411,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Fscripts\u002Ffetch_terraform_template_test.py",{"path":115,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":116,"sourceHtmlUrl":117},"scripts\u002Ffetch_terraform_template.py",10076,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Fscripts\u002Ffetch_terraform_template.py",{"path":119,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":120,"sourceHtmlUrl":121},"scripts\u002Flist_terraform_templates_test.py",960,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Fscripts\u002Flist_terraform_templates_test.py",{"path":123,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002Flist_terraform_templates.py",4125,"https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fgoogle-skills\u002Fskills\u002Fcloud\u002Fapplication-design-center-design-deploy\u002Fscripts\u002Flist_terraform_templates.py",[127,153,173,193,212,236],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":131,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M6DVHBXN0KDNGD4H9DSWTTCG","ckm:ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill\u002F.claude\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[135,136,137,138,22,139,140,141,142,143,144,145,146,147,148,27,149,150,151,152],"ui styling","ui","styling","ckm:ui styling","css","canvas","components","component","create","design systems","applications","first","Tailwind","radix ui","visual","across","dark mode","ui components",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":131,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":39},"01M6DVH17X0AE8DN1QYVG0RC16","ckm:design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill\u002F.claude\u002Fskills\u002Fdesign\u002FSKILL.md",[],[22,155,38,135,160,161,143,162,163,136,164,165,166,167,137,168,169,170,171,172],"design system","presentations","generate","screenshot","actions","Media","logo","ads","images","youtube","tiktok","social","chart",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":131,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":39},"01M6DVGVP1W8D53EFXNCCVQMFC","ckm:design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill\u002F.claude\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[22,160,180,181,155,139,142,182,161,183,27,184,185,186,187,188,189,190,191,192],"system","ckm:design system","architecture","brand","typography","design tokens","three","token","generation","tokens","creation","systematic","css variables",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":131,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":39},"01M6DVGK91P01C99NQ5Z83VN7S","ckm:banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill\u002F.claude\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[22,200,201,202,203,143,162,204,164,165,205,167,206,207,208,169,171,209,210,211],"banner design","ckm:banner design","banner","frontend","website","3D","generated","Art","ui-ux","dimensions","options","neon",{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":131,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":39},"01M6DVC00Y6MH20TM98KVDHQB1","supabase-postgres-best-practices","Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector\u002Fsemantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Fsupabase-skills\u002Fskills\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[219,220,221,222,223,22,224,225,226,227,228,229,230,231,31,232,233,150,234,235],"best practices","supabase postgres best practices","supabase","postgres best practices","postgres","writing","performance","tasks","code","database","search","vector","analysis","files","query","critical","impact",{"skillNo":237,"name":238,"nameZh":6,"description":239,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":240,"categories":241,"keywords":242,"publishedAt":39},"01M6DV40GRQ962SZH6C252N34A","scrapedo-search","Search Google and read web pages (as Markdown) through Scrape.do, keeping each result's link so every finding can be cited. Use for account and company research, competitor and pricing checks, finding a page that answers a question, or reading a page a search turned up.","https:\u002F\u002Fgithub.com\u002Frobomotionio\u002Frobomotion-skills\u002Fblob\u002Fmain\u002Frobomotion-web\u002Fskills\u002Fscrapedo-search\u002FSKILL.md",[],[229,243,244,245,246,247,248,249,250,251,252,27,26,253,254,255,256,257,258,259],"scrapedo search","research","pricing","web","api","scrape","markdown","access","page","question","up","do","outbound","pages","read web","as","link"]