[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D5W4NSEQM0574B3HF4K5KB":3,"skill-same:01M7D5W4NSEQM0574B3HF4K5KB":73},{"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},"01M7D5W4NSEQM0574B3HF4K5KB","bigquery-bigframes",null,"Generates Python code using BigQuery DataFrames (BigFrames). Use by default for any Python data task involving BigQuery, including data processing, analysis, and machine learning. Don't use for SQL-first workflows or the google-cloud-bigquery client library — use bigquery-basics.","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\u002Fbigquery-bigframes\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbigquery-bigframes\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bigquery-bigframes\nmetadata:\n  version: 2.0.1\n  category: BigDataAndAnalytics\ndescription: Generates Python code using BigQuery DataFrames (BigFrames). Use by default\n  for any Python data task involving BigQuery, including data processing, analysis,\n  and machine learning. Don't use for SQL-first workflows or the google-cloud-bigquery\n  client library — use bigquery-basics.\n---\n\n# BigFrames (BigQuery DataFrame) basics\nBigFrames is a Python library that lets you take advantage of BigQuery\ndata processing by using familiar Python APIs.\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:bigquery-bigframes)\"`\nand append `agent-skills\u002F1.0 (skill:bigquery-bigframes)` to `User-Agent` headers.\n\n## Dataframe API best practices\n\n* **Stay in the Cloud**: Perform data cleaning, transformation, and analysis\n  via BigFrames methods to leverage BigQuery's scale rather than downloading\n  data.\n* **Prefer partial ordering mode**: Enable partial ordering mode right after\n    importing BigFrames. This speeds up data processing significantly by relaxing\n    row-sequence constraints.\n\n    ```python\n    import bigframes.pandas as bpd\n    bpd.options.bigquery.ordering_mode = 'partial'\n    ```\n* **Use `peek()` for data preview**: Use `peek(n)` to preview data instead of\n  `head(n)`. `peek(n)` randomly samples `n` rows and is significantly faster.\n  `head(n)` returns rows in strict order and fails in `partial` ordering mode\n  unless the DataFrame has been explicitly sorted.\n* **Avoid materializing data locally**: Methods like `to_pandas()` download all\n  data to client memory, bypassing BigQuery’s distributed computation and\n  risking Out of Memory (OOM) errors. Do not materialize data locally unless:\n  * The dataset is small enough to fit safely in memory.\n  * An error message explicitly requires local materialization.\n* **Prefer Dataframe API over SQL queries**: Do not write raw SQL queries via\n  `read_gbq()` if a DataFrame\u002FSeries method achieves the same result, as it\n  breaks the Pandas abstraction and prevents lazy query execution.\n* **Accessors over UDFs\u002FLambdas**:\n    * Use built-in accessors (e.g., `df.col.str.*`, `df.col.dt.*`) instead of\n      remote User Defined Functions (UDFs). UDFs require extra resources and\n      time to deploy.\n    * Do not use lambdas with `Series.map()` or `DataFrame.apply()`. These\n      methods do not accept functions without `udf` or `remote_function`\n      decorators.\n    ```python\n    # Avoid:\n    df[\"upper\"] = df[\"name\"].map(lambda x: x.upper())\n\n    # Prefer:\n    df[\"upper\"] = df[\"name\"].str.upper()\n    ```\n* **Schema Verification**: Do not assume the schema of intermediate outputs.\n  Proactively verify schemas using `.dtypes` and inspect sample records using\n  `display()` with `.peek()`.\n* **Visualization**: Plot directly from the BigFrames DataFrame\u002FSeries when\n  possible. BigFrames is compatible with Matplotlib and Seaborn. If direct\n  plotting fails, use the `.plot` accessor. If the dataset is too large to plot,\n  aggregate or sample the data before calling\n  `.to_pandas()` to plot locally.\n\n## Machine Learning\n* **Use `bigframes.bigquery.ml` package**: Do not use Scikit-learn or other ML\n  libraries with BigQuery DataFrames. Standard Scikit-learn models require\n  bringing data into local client memory, whereas `bigframes.bigquery.ml`\n  delegates training directly to BigQuery's scalable ML engine. Import functions\n  from `bigframes.bigquery.ml`.\n\n### Reference Directory\n* [Linear Regression](references\u002Flinear_regression.md): Train a linear\n  regression model to predict numerical values.\n* [Logistic Regression](references\u002Flogistic_regression.md): Train a logistic\n  regression model to predict boolean values.\n\n## BigFrames ML (Legacy)\n\nThe BigFrames ML package (`bigframes.ml`) is a legacy package that mimics the\nscikit-learn API but is no longer recommended for new projects. Only use this\npackage if the user explicitly requests BigFrames ML.\n\n* **Legacy Imports**: When legacy BigFrames ML is requested, import tools and\n  classes from `bigframes.ml` instead of `bigframes.bigquery.ml`.\n* **DataFrame Return on Prediction**: Unlike Scikit-learn, BigFrames'\n  `predict()` method always returns a **DataFrame** containing both predictions\n  and features, rather than a single series of predictions.\n* **No `random_state`**: Do not pass a `random_state` argument when\n  instantiating BigFrames ML models, as this parameter is not supported in the\n  BigFrames ML package.\n* **Automatic Scaling**: Do not use `OneHotEncoder` or `StandardScaler` unless\n  explicitly requested, as scaling is handled automatically.\n* **Hyperparameter Tuning**: Write custom loops for hyperparameter tuning, as\n  BigFrames lacks `GridSearchCV` or `RandomizedSearchCV`.\n* **ARIMA Plus** (Forecasting):\n    * Import from `bigframes.ml.forecasting`.\n    * Sort data chronologically and split around a timepoint before training.\n    * Ensure the prediction horizon is less than or equal to the training\n      horizon.\n* **PCA**: BigFrames' PCA class lacks a `transform()` method. Use `predict()`\n  instead.\n* **Model Persistence**: To persist a model, use `model.to_gbq()`. To load a\n  persisted model, use `bpd.read_gbq_model()`.\n","# BigFrames (BigQuery DataFrame) basics\nBigFrames is a Python library that lets you take advantage of BigQuery\ndata processing by using familiar Python APIs.\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:bigquery-bigframes)\"`\nand append `agent-skills\u002F1.0 (skill:bigquery-bigframes)` to `User-Agent` headers.\n\n## Dataframe API best practices\n\n* **Stay in the Cloud**: Perform data cleaning, transformation, and analysis\n  via BigFrames methods to leverage BigQuery's scale rather than downloading\n  data.\n* **Prefer partial ordering mode**: Enable partial ordering mode right after\n    importing BigFrames. This speeds up data processing significantly by relaxing\n    row-sequence constraints.\n\n    ```python\n    import bigframes.pandas as bpd\n    bpd.options.bigquery.ordering_mode = 'partial'\n    ```\n* **Use `peek()` for data preview**: Use `peek(n)` to preview data instead of\n  `head(n)`. `peek(n)` randomly samples `n` rows and is significantly faster.\n  `head(n)` returns rows in strict order and fails in `partial` ordering mode\n  unless the DataFrame has been explicitly sorted.\n* **Avoid materializing data locally**: Methods like `to_pandas()` download all\n  data to client memory, bypassing BigQuery’s distributed computation and\n  risking Out of Memory (OOM) errors. Do not materialize data locally unless:\n  * The dataset is small enough to fit safely in memory.\n  * An error message explicitly requires local materialization.\n* **Prefer Dataframe API over SQL queries**: Do not write raw SQL queries via\n  `read_gbq()` if a DataFrame\u002FSeries method achieves the same result, as it\n  breaks the Pandas abstraction and prevents lazy query execution.\n* **Accessors over UDFs\u002FLambdas**:\n    * Use built-in accessors (e.g., `df.col.str.*`, `df.col.dt.*`) instead of\n      remote User Defined Functions (UDFs). UDFs require extra resources and\n      time to deploy.\n    * Do not use lambdas with `Series.map()` or `DataFrame.apply()`. These\n      methods do not accept functions without `udf` or `remote_function`\n      decorators.\n    ```python\n    # Avoid:\n    df[\"upper\"] = df[\"name\"].map(lambda x: x.upper())\n\n    # Prefer:\n    df[\"upper\"] = df[\"name\"].str.upper()\n    ```\n* **Schema Verification**: Do not assume the schema of intermediate outputs.\n  Proactively verify schemas using `.dtypes` and inspect sample records using\n  `display()` with `.peek()`.\n* **Visualization**: Plot directly from the BigFrames DataFrame\u002FSeries when\n  possible. BigFrames is compatible with Matplotlib and Seaborn. If direct\n  plotting fails, use the `.plot` accessor. If the dataset is too large to plot,\n  aggregate or sample the data before calling\n  `.to_pandas()` to plot locally.\n\n## Machine Learning\n* **Use `bigframes.bigquery.ml` package**: Do not use Scikit-learn or other ML\n  libraries with BigQuery DataFrames. Standard Scikit-learn models require\n  bringing data into local client memory, whereas `bigframes.bigquery.ml`\n  delegates training directly to BigQuery's scalable ML engine. Import functions\n  from `bigframes.bigquery.ml`.\n\n### Reference Directory\n* [Linear Regression](references\u002Flinear_regression.md): Train a linear\n  regression model to predict numerical values.\n* [Logistic Regression](references\u002Flogistic_regression.md): Train a logistic\n  regression model to predict boolean values.\n\n## BigFrames ML (Legacy)\n\nThe BigFrames ML package (`bigframes.ml`) is a legacy package that mimics the\nscikit-learn API but is no longer recommended for new projects. Only use this\npackage if the user explicitly requests BigFrames ML.\n\n* **Legacy Imports**: When legacy BigFrames ML is requested, import tools and\n  classes from `bigframes.ml` instead of `bigframes.bigquery.ml`.\n* **DataFrame Return on Prediction**: Unlike Scikit-learn, BigFrames'\n  `predict()` method always returns a **DataFrame** containing both predictions\n  and features, rather than a single series of predictions.\n* **No `random_state`**: Do not pass a `random_state` argument when\n  instantiating BigFrames ML models, as this parameter is not supported in the\n  BigFrames ML package.\n* **Automatic Scaling**: Do not use `OneHotEncoder` or `StandardScaler` unless\n  explicitly requested, as scaling is handled automatically.\n* **Hyperparameter Tuning**: Write custom loops for hyperparameter tuning, as\n  BigFrames lacks `GridSearchCV` or `RandomizedSearchCV`.\n* **ARIMA Plus** (Forecasting):\n    * Import from `bigframes.ml.forecasting`.\n    * Sort data chronologically and split around a timepoint before training.\n    * Ensure the prediction horizon is less than or equal to the training\n      horizon.\n* **PCA**: BigFrames' PCA class lacks a `transform()` method. Use `predict()`\n  instead.\n* **Model Persistence**: To persist a model, use `model.to_gbq()`. To load a\n  persisted model, use `bpd.read_gbq_model()`.\n",{"name":5,"metadata":25,"description":7},{"version":26,"category":27},"2.0.1","BigDataAndAnalytics","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 bigquery-bigframes",{"tool":43,"command":44},"bunx","bunx skills add tangyixiao\u002Ftangyixiao-skills --skill bigquery-bigframes",{"tool":46,"command":47},"pnpm","pnpm dlx skills add tangyixiao\u002Ftangyixiao-skills --skill bigquery-bigframes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbigquery-bigframes\u002FSKILL.md",true,[51,57,61,65,69],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"INSTALL-SOURCE.json","REFERENCE","参考文档",514,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbigquery-bigframes\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\u002Fattribution.md",1894,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbigquery-bigframes\u002Freferences\u002Fattribution.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Flinear_regression.md",1392,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbigquery-bigframes\u002Freferences\u002Flinear_regression.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Flogistic_regression.md",1076,"https:\u002F\u002Fgithub.com\u002Ftangyixiao\u002Ftangyixiao-skills\u002Fblob\u002Fmain\u002Fbigquery-bigframes\u002Freferences\u002Flogistic_regression.md",[74,82,91,99,107,115],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"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",[],[]]