[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B0A964ETBHJTZREPXAWAKN":3,"skill-same:01M7B0A964ETBHJTZREPXAWAKN":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7B0A964ETBHJTZREPXAWAKN","gcp-managed-airflow-dag-authoring",null,"Guides the authoring and validation of Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA; formerly Cloud Composer). Covers environment context discovery, Airflow 2 vs 3 compatibility, authoring best practices, and local\u002Fremote validation processes. Use when creating or extending an Airflow DAG. Don't use when authoring Python code unrelated to Airflow DAGs.","Krishp091205\u002Fgemini-config","Krishp091205","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F307182548?v=4","01M7AXCYY4NQ9WQ7DCT3R5Q5S4","01M7AXCYYR7QFCQQ6BFRKD93YH",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fconfig\u002Fskills\u002Fgcp-managed-airflow-dag-authoring\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gcp-managed-airflow-dag-authoring\ndescription: Guides the authoring and validation of Apache Airflow DAGs for Managed\n  Service for Apache Airflow (MSAA; formerly Cloud Composer). Covers environment context\n  discovery, Airflow 2 vs 3 compatibility, authoring best practices, and local\u002Fremote\n  validation processes. Use when creating or extending an Airflow DAG. Don't use when\n  authoring Python code unrelated to Airflow DAGs.\nlicense: Apache-2.0\nmetadata:\n  version: v1\n  publisher: google\n---\n\n# GCP Managed Airflow DAG Authoring Guide\n\nThis skill guides you through authoring and validating Apache Airflow DAGs for\nManaged Service for Apache Airflow (MSAA; formerly Cloud Composer) environments.\n\n--------------------------------------------------------------------------------\n\n## Phase 1: Context Discovery\n\n> [!IMPORTANT]\n> Before writing any DAG code, you MUST understand the constraints (e.g. version\n> of Airflow) and capabilities of your target environment if user is willing to\n> provide them.\n\n### 1.1 Identify Target Environment & Access\n\nDetermine if you have direct access to the target Managed Airflow environment,\nlocal development environment or if you are working offline (only changing local\nfiles without validation).\n\n*   **If environment access is available:** Use `gcloud` to inspect the\n    environment (see Section 1.3).\n*   **If offline:** Rely on user provided details.\n\n### 1.2 Identify Development Environment\n\nDetermine if a local development environment is available.\n\n*   Check if `composer-dev` CLI is installed.\n*   Check if a local Python environment with `airflow` is available.\n\n### 1.3 Inspect Target Environment (if available and requested)\n\nRun the following commands to discover version constraints:\n\n1.  **Get Airflow\u002FImage Version:**\n\n    ```bash\n    gcloud composer environments describe \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        --format=\"value(config.softwareConfig.imageVersion)\"\n    ```\n\n2.  **Get Installed Packages (Versions):**\n\n    ```bash\n    gcloud composer environments describe \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        --format=\"value(config.softwareConfig.pypiPackages)\"\n    ```\n\n3.  **Get DAGs GCS Bucket:**\n\n    ```bash\n    gcloud composer environments describe \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        --format=\"value(config.dagGcsPrefix)\"\n    ```\n\n--------------------------------------------------------------------------------\n\n## Phase 2: DAG Authoring Best Practices\n\n### 2.1 General Airflow Best Practices\n\n*   **Idempotency:** Every task SHOULD be idempotent. Running it multiple times\n    with the same inputs (e.g., execution date) SHOULD produce the same result\n    and not duplicate data.\n*   **No Top-Level Code Execution:** Do NOT execute database queries, external\n    API calls, or heavy computations at the top level of the DAG file (outside\n    of tasks\u002Foperators). This code runs every few seconds during DAG parsing and\n    will degrade performance.\n*   **Explicit Catchup:** Always set `catchup=False` in the DAG definition\n    unless historical backfilling is explicitly required.\n*   **Use Airflow Variables\u002FConnections:** Never hardcode credentials or\n    environment-specific configs. Use `Variable.get()` (with\n    `deserialize_json=True` if applicable) and `BaseHook.get_connection()`.\n    Access variables via Jinja templates (e.g., `{{ var.value.my_var }}`) to\n    avoid database calls during DAG parsing.\n\n### 2.2 Airflow 2 vs Airflow 3 Compatibility\n\nReference @skill:gcp-managed-airflow-migrations to navigate adjusting the code to\nspecific target Airflow version.\n\n--------------------------------------------------------------------------------\n\n## Phase 3: Validation Process\n\n> [!IMPORTANT]\n> You MUST validate DAGs before concluding your task.\n\n### 3.1 Local Validation (Offline\u002FPre-deployment)\n\n#### 3.1.1 Static Analysis & Linting\n\nUse `ruff` or `pylint` if available.\n\n```bash\nruff check path\u002Fto\u002Fdag.py\n```\n\n*   If targeting Airflow 3, check with Airflow 3 rules if rulesets are\n    available.\n\n#### 3.1.2 Local Dev Environment (`composer-dev`)\n\nIf the user has `composer-dev` configured:\n\n1.  Copy the DAG to the local directory with DAGs:\n\n    ```bash\n    cp path\u002Fto\u002Fdag.py $(composer-dev describe \u003CLOCAL_ENV> --format=\"value(dags_directory)\")\n    ```\n\n2.  Verify parsing:\n\n    ```bash\n    composer-dev run-airflow-cmd \u003CLOCAL_ENV> dags list-import-errors\n    ```\n\n### 3.2: Target Environment Validation\n\nOnly perform these steps if you have GCP access and are authorized to deploy to\na target environment.\n\n### 3.2.1 Deploy to GCS\n\nUpload the DAG to the target environment's GCS bucket:\n\n```bash\ngcloud storage cp path\u002Fto\u002Fdag.py gs:\u002F\u002F\u003CTARGET_BUCKET>\u002Fdags\u002F\n```\n\n### 3.2.2 Verify via Airflow CLI\n\nWait 1-2 minutes for the scheduler to parse the file, then run:\n\n1.  **Check for Import Errors:**\n\n    ```bash\n    gcloud composer environments run \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        dags list-import-errors\n    ```\n\n*Pass Criteria:* Output should be \"No data found\" or empty.\n\n2.  **Verify DAG is Listed:**\n\n    ```bash\n    gcloud composer environments run \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        dags list | grep \u003CDAG_ID>\n    ```\n\n### 3.2.3 Monitor Cloud Logging\n\nCheck for runtime parsing errors in Cloud Logging:\n\n```query\nresource.type=\"cloud_composer_environment\"\nresource.labels.environment_name=\"\u003CENV_NAME>\"\nlog_id(\"airflow-scheduler\")\nseverity>=ERROR\ntextPayload:\"\u003CDAG_FILE_NAME>\"\n```\n\n--------------------------------------------------------------------------------\n\n## Definition of Done\n\n*   DAG code adheres to Airflow version constraints of the target environment.\n*   DAG code follows best practices (no top-level execution, idempotent if\n    possible).\n*   DAG parses locally without import errors.\n*   (If environment is available) DAG is deployed to the target environment and\n    verified to have no import errors.\n","# GCP Managed Airflow DAG Authoring Guide\n\nThis skill guides you through authoring and validating Apache Airflow DAGs for\nManaged Service for Apache Airflow (MSAA; formerly Cloud Composer) environments.\n\n--------------------------------------------------------------------------------\n\n## Phase 1: Context Discovery\n\n> [!IMPORTANT]\n> Before writing any DAG code, you MUST understand the constraints (e.g. version\n> of Airflow) and capabilities of your target environment if user is willing to\n> provide them.\n\n### 1.1 Identify Target Environment & Access\n\nDetermine if you have direct access to the target Managed Airflow environment,\nlocal development environment or if you are working offline (only changing local\nfiles without validation).\n\n*   **If environment access is available:** Use `gcloud` to inspect the\n    environment (see Section 1.3).\n*   **If offline:** Rely on user provided details.\n\n### 1.2 Identify Development Environment\n\nDetermine if a local development environment is available.\n\n*   Check if `composer-dev` CLI is installed.\n*   Check if a local Python environment with `airflow` is available.\n\n### 1.3 Inspect Target Environment (if available and requested)\n\nRun the following commands to discover version constraints:\n\n1.  **Get Airflow\u002FImage Version:**\n\n    ```bash\n    gcloud composer environments describe \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        --format=\"value(config.softwareConfig.imageVersion)\"\n    ```\n\n2.  **Get Installed Packages (Versions):**\n\n    ```bash\n    gcloud composer environments describe \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        --format=\"value(config.softwareConfig.pypiPackages)\"\n    ```\n\n3.  **Get DAGs GCS Bucket:**\n\n    ```bash\n    gcloud composer environments describe \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        --format=\"value(config.dagGcsPrefix)\"\n    ```\n\n--------------------------------------------------------------------------------\n\n## Phase 2: DAG Authoring Best Practices\n\n### 2.1 General Airflow Best Practices\n\n*   **Idempotency:** Every task SHOULD be idempotent. Running it multiple times\n    with the same inputs (e.g., execution date) SHOULD produce the same result\n    and not duplicate data.\n*   **No Top-Level Code Execution:** Do NOT execute database queries, external\n    API calls, or heavy computations at the top level of the DAG file (outside\n    of tasks\u002Foperators). This code runs every few seconds during DAG parsing and\n    will degrade performance.\n*   **Explicit Catchup:** Always set `catchup=False` in the DAG definition\n    unless historical backfilling is explicitly required.\n*   **Use Airflow Variables\u002FConnections:** Never hardcode credentials or\n    environment-specific configs. Use `Variable.get()` (with\n    `deserialize_json=True` if applicable) and `BaseHook.get_connection()`.\n    Access variables via Jinja templates (e.g., `{{ var.value.my_var }}`) to\n    avoid database calls during DAG parsing.\n\n### 2.2 Airflow 2 vs Airflow 3 Compatibility\n\nReference @skill:gcp-managed-airflow-migrations to navigate adjusting the code to\nspecific target Airflow version.\n\n--------------------------------------------------------------------------------\n\n## Phase 3: Validation Process\n\n> [!IMPORTANT]\n> You MUST validate DAGs before concluding your task.\n\n### 3.1 Local Validation (Offline\u002FPre-deployment)\n\n#### 3.1.1 Static Analysis & Linting\n\nUse `ruff` or `pylint` if available.\n\n```bash\nruff check path\u002Fto\u002Fdag.py\n```\n\n*   If targeting Airflow 3, check with Airflow 3 rules if rulesets are\n    available.\n\n#### 3.1.2 Local Dev Environment (`composer-dev`)\n\nIf the user has `composer-dev` configured:\n\n1.  Copy the DAG to the local directory with DAGs:\n\n    ```bash\n    cp path\u002Fto\u002Fdag.py $(composer-dev describe \u003CLOCAL_ENV> --format=\"value(dags_directory)\")\n    ```\n\n2.  Verify parsing:\n\n    ```bash\n    composer-dev run-airflow-cmd \u003CLOCAL_ENV> dags list-import-errors\n    ```\n\n### 3.2: Target Environment Validation\n\nOnly perform these steps if you have GCP access and are authorized to deploy to\na target environment.\n\n### 3.2.1 Deploy to GCS\n\nUpload the DAG to the target environment's GCS bucket:\n\n```bash\ngcloud storage cp path\u002Fto\u002Fdag.py gs:\u002F\u002F\u003CTARGET_BUCKET>\u002Fdags\u002F\n```\n\n### 3.2.2 Verify via Airflow CLI\n\nWait 1-2 minutes for the scheduler to parse the file, then run:\n\n1.  **Check for Import Errors:**\n\n    ```bash\n    gcloud composer environments run \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        dags list-import-errors\n    ```\n\n*Pass Criteria:* Output should be \"No data found\" or empty.\n\n2.  **Verify DAG is Listed:**\n\n    ```bash\n    gcloud composer environments run \u003CENV_NAME> \\\n        --location \u003CREGION> \\\n        dags list | grep \u003CDAG_ID>\n    ```\n\n### 3.2.3 Monitor Cloud Logging\n\nCheck for runtime parsing errors in Cloud Logging:\n\n```query\nresource.type=\"cloud_composer_environment\"\nresource.labels.environment_name=\"\u003CENV_NAME>\"\nlog_id(\"airflow-scheduler\")\nseverity>=ERROR\ntextPayload:\"\u003CDAG_FILE_NAME>\"\n```\n\n--------------------------------------------------------------------------------\n\n## Definition of Done\n\n*   DAG code adheres to Airflow version constraints of the target environment.\n*   DAG code follows best practices (no top-level execution, idempotent if\n    possible).\n*   DAG parses locally without import errors.\n*   (If environment is available) DAG is deployed to the target environment and\n    verified to have no import errors.\n",{"name":5,"license":14,"metadata":23,"description":7},{"version":24,"publisher":25},"v1","google","main","1f317365436456f9c1039c414a2f6426caabc74c","config\u002Fskills\u002Fgcp-managed-airflow-dag-authoring","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config","https:\u002F\u002Fgithub.com\u002FKrishp091205","2026-08-23 02:02:24",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Krishp091205\u002Fgemini-config --skill gcp-managed-airflow-dag-authoring",{"tool":38,"command":39},"bunx","bunx skills add Krishp091205\u002Fgemini-config --skill gcp-managed-airflow-dag-authoring",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Krishp091205\u002Fgemini-config --skill gcp-managed-airflow-dag-authoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fconfig\u002Fskills\u002Fgcp-managed-airflow-dag-authoring\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M7B0GYVAXB2M99PR4Z3N1WW0","skill-repair","Use this to fix and re-install agent skills that have failed installation.\nThis skill provides the necessary context and permissions to surgically update\nthe `manifest.json` after a fix has been applied.","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fskills\u002Fskill-repair\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M7B0GQ2CKFX5P1DTV802XMAB","notebook-guidance","This skill guides the use of Jupyter notebooks for data analysis, exploration, and visualization, particularly with BigQuery. It outlines best practices for notebook execution and validation (supporting both cell-by-cell execution and full notebook generation depending on tool availability), library installation, and structuring notebooks for clarity. It also covers specific rules for data cleaning, plotting, and integrating with BigQuery SQL and machine learning workflows.\nRelevant when any of the following conditions are true:\n  1. The user request involves a data analysis, data exploration, data visualization, or data insights task that requires multiple steps, queries, or visualizations to answer.\n  2. The user explicitly requests a notebook (.ipynb).\n  3. You are creating, editing, or executing cells in a Jupyter notebook.\n  4. You need to query BigQuery from within a notebook. DO NOT use the Python BigQuery client library; instead, you MUST use the `%%bqsql` magics explained in this skill.","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fskills\u002Fnotebook-guidance\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7B0GJ1K1JE2K593JZT4CAY9","ml-best-practices","CRITICAL RULE: You MUST use this skill whenever the task involves any machine learning tasks or data analysis.\nUse this skill if the user's prompt or requirements mention any of the following:\n  * Clustering\n  * Classification\n  * Regression\n  * Time series forecasting\n  * Statistical testing\n  * Model comparison\n  * ML\n  * Data analysis\n\nSQL\u002FBigQuery ML HANDOFF: If the user requires a SQL solution, use this skill to dictate the ANALYSIS STEPS (e.g., markdown analysis cells, visualization logic), but defer to `bigquery` for all SQL syntax.","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fskills\u002Fml-best-practices\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7B0GD7FSN72WCSZ16WEDH42","managing-python-dependencies","Ensures proper Python dependency management, avoiding global `pip install` and\nadhering to project-specific tooling.\n\nUse this skill if any of the following are true:\n  1. Attempting to run `pip install {package_name}`.\n  2. Python packages or dependencies need to be added or modified.\n  3. Initiating a new Python project.\n  4. Creating a new notebook, even if just using BigQuery cells.\n  5. Generating Python code that includes `import` statements for third-party libraries.\n  6. Before executing Python scripts via the terminal to ensure the correct virtual environment is active.","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fskills\u002Fmanaging-python-dependencies\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7B0G6CC6JP6QTQGPSTBMJTX","google-cloud-storage-basics","Stores, retrieves, and manages data as objects in Cloud Storage (Google Cloud Storage, or GCS) buckets. Use when you need to interact with Cloud Storage — create or configure buckets, upload, download, stream, or transfer data, organize objects with folders, generate signed URLs, control access (IAM, ACLs, public access prevention), set storage classes and tiering (Standard, Nearline, Coldline, Archive), manage cost and lifecycle, protect data (versioning, encryption\u002FCMEK, retention and Bucket Lock, object holds, soft delete), host static websites, trigger Pub\u002FSub notifications on object changes, mount buckets as a file system (gcsfuse), or optimize storage performance at any scale. Covers the gcloud storage \u002F gsutil CLI, JSON and XML APIs, client libraries, Terraform, and Cloud Storage MCP servers. Don't use for block storage (Persistent Disk), data warehousing\u002Fanalytics (BigQuery), or databases (Cloud SQL, Spanner, Bigtable, Firestore).","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fskills\u002Fgoogle-cloud-storage-basics\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7B0G2DF32KW9A77S99QBZ4Q","gcs-security-assessment","Assesses security posture, evaluates risks, and checks SAIF compliance for Google Cloud Storage buckets or projects. Use when the user requests security scans, vulnerability checks, or SAIF assessments. Don't use when: The user is asking about non-GCS resources (Compute Engine, GKE, etc.), investigating a live production outage, or asking general security questions not tied to a specific project or bucket.","https:\u002F\u002Fgithub.com\u002FKrishp091205\u002Fgemini-config\u002Fblob\u002Fmain\u002Fskills\u002Fgcs-security-assessment\u002FSKILL.md",[],[]]