[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698YW4XPBQKVM1EJMG05GK3":3,"skill-same:01M698YW4XPBQKVM1EJMG05GK3":79},{"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":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M698YW4XPBQKVM1EJMG05GK3","adk-verify-snippets",null,"Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass\u002Ffail report with per-snippet coverage. Use when the user asks to verify, test, or validate the code samples in a README, a guide, or a documentation page; wants to know which snippets in a Markdown file are broken or out of date; or asks for a snippet verification report. Don't use for running the project's test suite (run pytest directly), for checking code style or formatting (use `adk-style`), or for authoring a new runnable sample agent (use `adk-sample-creator`).","google\u002Fadk-python","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698XZC2HCATT8VD5VAVZDTP",22217,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-verify-snippets\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"adk verify snippets","adk","verify","snippets","broken","when","suite","python code","which","extracting","authoring","sample","project","coverage","writing","markdown","verification","code","run","documentation","python","2026-11-10 10:12:30",false,"---\nname: adk-verify-snippets\ndescription: >-\n  Checks that every Python code block in a Markdown file actually compiles and\n  runs, by extracting each block to a temporary file, executing it in an\n  isolated subprocess, and writing a pass\u002Ffail report with per-snippet\n  coverage. Use when the user asks to verify, test, or validate the code\n  samples in a README, a guide, or a documentation page; wants to know which\n  snippets in a Markdown file are broken or out of date; or asks for a snippet\n  verification report. Don't use for running the project's test suite (run\n  pytest directly), for checking code style or formatting (use `adk-style`),\n  or for authoring a new runnable sample agent (use `adk-sample-creator`).\n---\n\n# Verify Markdown Snippets\n\nExtracts every ` ```python ` block from a Markdown file, runs each one in its\nown subprocess via the bundled `run.py` harness, and writes a report covering\nload status, run status, and line coverage per snippet.\n\n## Read-only contract\n\nVerifying a doc must never change the doc. Do not create, modify, or delete any\nfile in the repository — including the Markdown being verified, its code\nblocks, and this SKILL.md. Report the failures; do not fix them and do not\noffer patches.\n\nThe script performs the only two writes that happen: temporary `.py` files in a\nsystem temp directory outside the repository (removed when it exits), and the\nreport beside the source Markdown file.\n\n## Prerequisites\n\n1. An ADK development environment — run from the repository root with the `uv`\n   virtual environment active (see the `adk-setup` skill).\n\n2. `coverage`, optional. It is not a declared project dependency, so install it\n   explicitly; without it the Coverage column shows `—`.\n\n   ```bash\n   uv pip install coverage\n   ```\n\n3. A Gemini API key, needed only for snippets that build an `Agent`, `App`, or\n   `Workflow` — those are executed against the live API.\n\n   ```bash\n   export GEMINI_API_KEY=\"{your_key}\"\n   # or\n   export GOOGLE_API_KEY=\"{your_key}\"\n   ```\n\n   If both are set the harness drops `GOOGLE_API_KEY`, so `GEMINI_API_KEY` wins.\n\n## Usage\n\n```bash\nuv run --no-sync python .agents\u002Fskills\u002Fadk-verify-snippets\u002Fscripts\u002Fverify_md.py {path_to_markdown_file}\n```\n\nThe script prints per-snippet progress, then writes the report beside the source\nfile and prints its full path.\n\nThe report filename is the source file's stem lowercased with everything except\n`[a-z0-9_]` stripped, plus `_REPORT.md`. `Workflow-Guide.md` therefore produces\n`workflowguide_REPORT.md`, not `Workflow-Guide_REPORT.md` — read the path the\nscript prints rather than reconstructing it.\n\nThe report contains an Executive Summary table with one row per snippet, then a\ndetailed section per snippet holding the code block, the execution logs\n(stdout plus stderr\u002Ftraceback), and the coverage output.\n\n## How each snippet is classified\n\n### Runnable — has a module-level ADK component\n\nIf the snippet assigns a `Workflow`, `Agent`, or `App` to a module-level\nvariable, the harness executes it against the Gemini API.\n\n-   The variable name does not matter; the harness scans `vars(module)`.\n-   Precedence is `Workflow`, then root `Agent`, then `App`. A `Workflow`\n    anywhere in the snippet wins over any agent in it.\n-   The root agent is the first agent that appears in no other agent's\n    `sub_agents`, so multi-agent snippets resolve correctly whatever order the\n    agents are defined in.\n-   An `App` must have been constructed with a `root_agent` or the run fails.\n-   The prompt sent is `\"Test input topic\"`. Override it by defining a\n    module-level `test_input` string in the snippet.\n\n### Load-only — no ADK component\n\nThe harness confirms the snippet compiles and imports, and makes no API call.\nThe report shows `➖ NO ADK COMPONENT`.\n\n### Skipped — annotated with ignore\n\nPut `\u003C!-- verify-snippets: ignore -->` alone on a line immediately before the\nopening ` ```python ` fence to exclude a block. Use it for pseudo-code,\nillustrative fragments, and snippets that need external setup. The report shows\n`⏭️ SKIPPED`.\n\n````markdown\n\u003C!-- verify-snippets: ignore -->\n```python\n# pseudo-code — not runnable as-is\nmy_agent = Agent(model=\"gemini-ultra-hypothetical\", ...)\n```\n````\n\n## Limitations that make correct snippets report as broken\n\nAnnotate with `\u003C!-- verify-snippets: ignore -->` instead of editing the doc to\nwork around any of these.\n\n-   **No shared state between snippets.** Each snippet runs in a fresh\n    subprocess, so one that relies on an import or variable from an earlier\n    block fails with `NameError` or `ImportError`.\n-   **120-second timeout** per snippet, after which the process is killed and\n    the snippet reports as a run failure.\n-   **Annotation placement.** The annotation applies to the next ` ```python `\n    fence. Blank lines between the two are fine; any prose line or heading\n    between them cancels it.\n-   **A bare ` ``` ` closes the block.** The parser closes a Python block at the\n    first fence carrying no language tag, so a bare fence used as content inside\n    a snippet truncates it. A tagged fence (for example ` ```bash `) is kept as\n    literal content and is safe.\n-   **Module-level `asyncio.run()`** collides with the harness's own event loop\n    and reports as a run failure. Snippets should keep top-level async calls\n    behind `if __name__ == \"__main__\":`.\n\n## Reporting back to the user\n\nRead the generated report and copy the Executive Summary table across exactly as\nwritten — same six columns, same order, nothing renamed or dropped:\n`Snippet | Preceding Heading | Load Phase | Run Phase | Coverage | Details`.\nPresent it and stop.\n","# Verify Markdown Snippets\n\nExtracts every ` ```python ` block from a Markdown file, runs each one in its\nown subprocess via the bundled `run.py` harness, and writes a report covering\nload status, run status, and line coverage per snippet.\n\n## Read-only contract\n\nVerifying a doc must never change the doc. Do not create, modify, or delete any\nfile in the repository — including the Markdown being verified, its code\nblocks, and this SKILL.md. Report the failures; do not fix them and do not\noffer patches.\n\nThe script performs the only two writes that happen: temporary `.py` files in a\nsystem temp directory outside the repository (removed when it exits), and the\nreport beside the source Markdown file.\n\n## Prerequisites\n\n1. An ADK development environment — run from the repository root with the `uv`\n   virtual environment active (see the `adk-setup` skill).\n\n2. `coverage`, optional. It is not a declared project dependency, so install it\n   explicitly; without it the Coverage column shows `—`.\n\n   ```bash\n   uv pip install coverage\n   ```\n\n3. A Gemini API key, needed only for snippets that build an `Agent`, `App`, or\n   `Workflow` — those are executed against the live API.\n\n   ```bash\n   export GEMINI_API_KEY=\"{your_key}\"\n   # or\n   export GOOGLE_API_KEY=\"{your_key}\"\n   ```\n\n   If both are set the harness drops `GOOGLE_API_KEY`, so `GEMINI_API_KEY` wins.\n\n## Usage\n\n```bash\nuv run --no-sync python .agents\u002Fskills\u002Fadk-verify-snippets\u002Fscripts\u002Fverify_md.py {path_to_markdown_file}\n```\n\nThe script prints per-snippet progress, then writes the report beside the source\nfile and prints its full path.\n\nThe report filename is the source file's stem lowercased with everything except\n`[a-z0-9_]` stripped, plus `_REPORT.md`. `Workflow-Guide.md` therefore produces\n`workflowguide_REPORT.md`, not `Workflow-Guide_REPORT.md` — read the path the\nscript prints rather than reconstructing it.\n\nThe report contains an Executive Summary table with one row per snippet, then a\ndetailed section per snippet holding the code block, the execution logs\n(stdout plus stderr\u002Ftraceback), and the coverage output.\n\n## How each snippet is classified\n\n### Runnable — has a module-level ADK component\n\nIf the snippet assigns a `Workflow`, `Agent`, or `App` to a module-level\nvariable, the harness executes it against the Gemini API.\n\n-   The variable name does not matter; the harness scans `vars(module)`.\n-   Precedence is `Workflow`, then root `Agent`, then `App`. A `Workflow`\n    anywhere in the snippet wins over any agent in it.\n-   The root agent is the first agent that appears in no other agent's\n    `sub_agents`, so multi-agent snippets resolve correctly whatever order the\n    agents are defined in.\n-   An `App` must have been constructed with a `root_agent` or the run fails.\n-   The prompt sent is `\"Test input topic\"`. Override it by defining a\n    module-level `test_input` string in the snippet.\n\n### Load-only — no ADK component\n\nThe harness confirms the snippet compiles and imports, and makes no API call.\nThe report shows `➖ NO ADK COMPONENT`.\n\n### Skipped — annotated with ignore\n\nPut `\u003C!-- verify-snippets: ignore -->` alone on a line immediately before the\nopening ` ```python ` fence to exclude a block. Use it for pseudo-code,\nillustrative fragments, and snippets that need external setup. The report shows\n`⏭️ SKIPPED`.\n\n````markdown\n\u003C!-- verify-snippets: ignore -->\n```python\n# pseudo-code — not runnable as-is\nmy_agent = Agent(model=\"gemini-ultra-hypothetical\", ...)\n```\n````\n\n## Limitations that make correct snippets report as broken\n\nAnnotate with `\u003C!-- verify-snippets: ignore -->` instead of editing the doc to\nwork around any of these.\n\n-   **No shared state between snippets.** Each snippet runs in a fresh\n    subprocess, so one that relies on an import or variable from an earlier\n    block fails with `NameError` or `ImportError`.\n-   **120-second timeout** per snippet, after which the process is killed and\n    the snippet reports as a run failure.\n-   **Annotation placement.** The annotation applies to the next ` ```python `\n    fence. Blank lines between the two are fine; any prose line or heading\n    between them cancels it.\n-   **A bare ` ``` ` closes the block.** The parser closes a Python block at the\n    first fence carrying no language tag, so a bare fence used as content inside\n    a snippet truncates it. A tagged fence (for example ` ```bash `) is kept as\n    literal content and is safe.\n-   **Module-level `asyncio.run()`** collides with the harness's own event loop\n    and reports as a run failure. Snippets should keep top-level async calls\n    behind `if __name__ == \"__main__\":`.\n\n## Reporting back to the user\n\nRead the generated report and copy the Executive Summary table across exactly as\nwritten — same six columns, same order, nothing renamed or dropped:\n`Snippet | Preceding Heading | Load Phase | Run Phase | Coverage | Details`.\nPresent it and stop.\n",{"name":5,"description":7},"main","8cd3b12c8a5d658c5e0d3ea0731d8be34a092a4a",".agents\u002Fskills\u002Fadk-verify-snippets",4356,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python","https:\u002F\u002Fgoogle.github.io\u002Fadk-docs\u002F","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 14:38:36",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add google\u002Fadk-python --skill adk-verify-snippets",{"tool":61,"command":62},"bunx","bunx skills add google\u002Fadk-python --skill adk-verify-snippets",{"tool":64,"command":65},"pnpm","pnpm dlx skills add google\u002Fadk-python --skill adk-verify-snippets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-verify-snippets\u002FSKILL.md",true,[69,75],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Frun.py","SCRIPT","脚本",13610,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-verify-snippets\u002Fscripts\u002Frun.py",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fverify_md.py",16335,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-verify-snippets\u002Fscripts\u002Fverify_md.py",[80,115,142,169,185,193],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":96,"publishedAt":40},"01M698ZJNXJCE7T81AK0Y5R01D","bigquery-graph","Skill for Graph Query Language (GQL) or SQL\u002FPGQ queries against a property graph.\nIncludes path finding, multi-hop traversal, topological connection, shortest path,\nnode reachability, edge connectivity, and semantic graph queries.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fsrc\u002Fgoogle\u002Fadk\u002Fintegrations\u002Fbigquery\u002Fskills\u002Fbigquery-graph\u002FSKILL.md",[86,91],{"categoryNo":87,"categoryName":88,"taxonomyType":89,"taxonomyTypeDesc":90},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[97,98,99,9,100,20,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"graph","bigquery","bigquery graph","for","sql","edge","graph query","hop","node","queries","language","query","connectivity","gql","semantic","multi","connection","path",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":122,"publishedAt":40},"01M698ZEVMRDDFX2MH3GHQGSNW","bigquery-ai-ml","Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI capabilities in BigQuery. Do not use for general BigQuery dataset, table, or job management requests.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fsrc\u002Fgoogle\u002Fadk\u002Fintegrations\u002Fbigquery\u002Fskills\u002Fbigquery-ai-ml\u002FSKILL.md",[121],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},[123,98,124,125,126,24,127,128,129,130,131,132,133,134,135,9,136,137,20,138,139,140,141],"ai ml","ml","bigquery ai ml","vector","generative","you","advanced","dataset","leverage","structural","time","effect","search","summarize","genai","generative ai","translate","components","capabilities",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":155,"publishedAt":40},"01M698ZCN6SZ9SJ8E9970M47FQ","code-review-skill","Reviews code with feedback tailored to the developer's profile in session state.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills_inject_state\u002Fskills\u002Fcode-review-skill\u002FSKILL.md",[148,151,152],{"categoryNo":149,"categoryName":150,"taxonomyType":89,"taxonomyTypeDesc":90},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":87,"categoryName":88,"taxonomyType":89,"taxonomyTypeDesc":90},{"categoryNo":153,"categoryName":154,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000030","开发工程师",[156,36,157,158,159,160,161,162,163,164,165,166,167,168],"review skill","code review skill","review","code review","session","state","developer","feedback","profile","with","session state","reviews","true",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":176,"publishedAt":40},"01M698ZAMH02NSGXMR533ETWYW","weather-skill","A skill that provides weather information based on reference data.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills_agent\u002Fskills\u002Fweather-skill\u002FSKILL.md",[175],{"categoryNo":87,"categoryName":88,"taxonomyType":89,"taxonomyTypeDesc":90},[177,178,179,180,181,182,183,184],"weather skill","weather","data","reference","speed","get","wind","information",{"skillNo":186,"name":171,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":191,"publishedAt":40},"01M698Z8QFDZ713E03589BHEG5","A skill that provides weather information based on reference data and scripts.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills\u002Fskills\u002Fweather-skill\u002FSKILL.md",[190],{"categoryNo":87,"categoryName":88,"taxonomyType":89,"taxonomyTypeDesc":90},[178,177,184,183,192,182,181,180,179],"scripts",{"skillNo":194,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":198,"publishedAt":40},"01M698Z6P1NZFW6A6V342AWZPR","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Flocal_environment_skill\u002Fskills\u002Fweather-skill\u002FSKILL.md",[197],{"categoryNo":87,"categoryName":88,"taxonomyType":89,"taxonomyTypeDesc":90},[177,178,180,184,179]]