Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/skills-validate-fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ on:
- "skills/**"
workflow_dispatch:

permissions:
contents: read

jobs:
skills-validate:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/skills-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
skills-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.11"

Expand Down
8 changes: 4 additions & 4 deletions skills/bigquery-data-transfer-service/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Discovers and inspects BigQuery Data Transfer Service (DTS) configu
data that may already be managed by a DTS transfer.
license: Apache-2.0
metadata:
version: v2
version: v3
publisher: google
---

Expand All @@ -18,8 +18,8 @@ metadata:
> [!IMPORTANT]
>
> All new BigQuery Data Transfer Service (DTS) configurations **MUST** be
> provisioned through the **gcp pipeline resource provisioning** framework,
> which includes generating a `deployment.yaml`.
> provisioned through the **gcp pipeline provisioning** framework, which
> includes generating a `deployment.yaml`.
>
> - **Do NOT** use imperative CLI commands (e.g., `bq mk` or `gcloud`) to
> create or update configurations.
Expand Down Expand Up @@ -185,7 +185,7 @@ of the tasks.
## Definition of Done

- A BigQuery DTS transfer configuration has been discovered or provisioned
declaratively (via **gcp pipeline resource provisioning** with a generated
declaratively (via **gcp pipeline provisioning** with a generated
`deployment.yaml`).
- Mandatory datasource parameters have been identified and confirmed with the
user.
Expand Down
74 changes: 37 additions & 37 deletions skills/dak-setup/scripts/dak-setup.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions skills/gcp-data-pipelines/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: 'Primary entry point for building, managing, and orchestrating data
'
license: Apache-2.0
metadata:
version: v3
version: v4
publisher: google
---

Expand Down Expand Up @@ -83,7 +83,7 @@ multiple pipelines already in the repo:
Option | Best For | Skill
------------------ | ------------------------------------------------------------------------------------------------------------ | -----
**Cloud Composer** | GCP Data Pipeline Orchestration deploy/schedule existing pipelines(dbt + Spark, etc.). as a unified workflow | `gcp-pipeline-orchestration`
**Provisioning** | Declarative GCP resource creation (Datasets, DTS, Dataproc) | `gcp-pipeline-resource-provisioning`
**Provisioning** | Declarative GCP resource creation (Datasets, DTS, Dataproc) | `gcp-pipeline-provisioning`

> [!TIP]
>
Expand Down Expand Up @@ -136,13 +136,13 @@ two-step process:
Once the user confirms, activate the corresponding skill:

Choice | Skill to Activate
------------- | ------------------------------------
------------- | --------------------------------
BigQuery DTS | `bigquery-data-transfer-service`
dbt | `dbt-bigquery`
Dataflow | `gcp-dataflow`
Dataform | `dataform-bigquery`
Spark | `gcp-spark`
Spark Debug | `gcp-spark-troubleshooting`
Provisioning | `gcp-pipeline-resource-provisioning`
Provisioning | `gcp-pipeline-provisioning`
Orchestration | `gcp-pipeline-orchestration`
Other | — (general GCP assistance)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: gcp-pipeline-resource-provisioning
name: gcp-pipeline-provisioning
description: |
Automates declarative resource creation and provisioning for data pipelines, supporting BigQuery, Dataform, Dataproc, BigQuery Data Transfer Service (DTS), and other resources. It manages environment-specific configurations (dev, staging, prod) through a deployment.yaml file.
Use when:
Expand Down Expand Up @@ -56,8 +56,8 @@ list of supported resource types, run the following command:
gcloud beta orchestration-pipelines resource-types list
```

Refer to: references/gcp-pipeline-resource-provisioning_spec.md to understand
the template for `deployment.yaml`.
Refer to: references/gcp_pipeline_provisioning_spec.md to understand the
template for `deployment.yaml`.

### Step 2: Discover Environment Parameters

Expand Down Expand Up @@ -112,9 +112,9 @@ configurations and resources.
> [!TIP]
>
> **Use the Reference Spec**: The agent can use the
> **`references/gcp_pipeline_resource_provisioning_spec.md`** file as a
> template. It includes sample definitions for select supported resource types.
> Copy and adapt the required resource blocks into the `deployment.yaml`. Use
> **`references/gcp_pipeline_provisioning_spec.md`** file as a template. It
> includes sample definitions for select supported resource types. Copy and
> adapt the required resource blocks into the `deployment.yaml`. Use
> `gcloud beta orchestration-pipelines resource-types list` when needed.

> [!IMPORTANT]
Expand Down
9 changes: 8 additions & 1 deletion skills/gcp-spark/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description: |
- Troubleshooting failed Spark jobs or Dataproc batches (use @skill:gcp-spark-troubleshooting).
license: Apache-2.0
metadata:
version: v35
version: v36
publisher: google
---

Expand Down Expand Up @@ -112,6 +112,13 @@ metadata:
Do NOT proceed with code generation, do NOT add fallback logic to code, and
do NOT automatically substitute any alternative table (even if its schema
seems to match) without explicit user permission.

*VAGUE OBJECTIVE RULE*: If the request only says to "analyze" (or "explore",
"look at") a dataset without any question, metric, analysis type, or output
(e.g. "Analyze all transactions", "Now analyze the bronze table"), then
after the source is resolved, inspect its schema and metadata, summarize
them, propose 3–5 concrete analyses grounded in the columns, ask the user
which to perform, and STOP before creating or executing the notebook.
3. **Verify source accessibility**: For Google Cloud Storage (`gs://`) paths,
verify access/existence using `gcloud storage ls gs://<path-to-dataset>`
(skip `gcloud storage ls` for external cloud URIs such as `s3a://`,
Expand Down
Loading