[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69903RG35A6K4N4KEGGXK2K":3,"skill-same:01M69903RG35A6K4N4KEGGXK2K":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":66,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M69903RG35A6K4N4KEGGXK2K","align-recipe-pyproject","配方 pyproject.toml 对齐","Aligns a Python recipe's pyproject.toml with the repo's standards enforced by .github\u002Fworkflows\u002Fpython-validate-recipe.yml, plus one critical [build-system] presence check. Scope is pyproject.toml only — standalone ruff.toml \u002F .ruff.toml files (also forbidden in recipes) are caught by the CI workflow instead, not by this skill. Runs in two modes: a read-only --dry-run that reports what needs alignment, and an apply mode that rewrites pyproject.toml (and optionally manifest.yaml) using comment-preserving TOML\u002FYAML editors. Use when the user wants to \"align the recipe's pyproject.toml\", \"fix pyproject to match the repo standard\", \"check what needs changing in a recipe's pyproject\", or clean up a recipe before submitting a PR.","将 Python 配方的 pyproject.toml 与仓库标准对齐，这些标准由 .github\u002Fworkflows\u002Fpython-validate-recipe.yml 强制执行，此外还会进行一项关键的 [build-system] 存在性检查。范围仅限 pyproject.toml —— 独立的 ruff.toml \u002F .ruff.toml 文件（在配方中同样被禁止）由 CI 工作流负责检查，而非本技能。以两种模式运行：只读的 --dry-run 模式报告哪些内容需要对标，以及 apply 模式使用保留注释的 TOML\u002FYAML 编辑器重写 pyproject.toml（以及可选的 manifest.yaml）。当用户想要“对齐配方的 pyproject.toml”、“修复 pyproject 以符合仓库标准”、“检查配方 pyproject 中需要修改的内容”，或在提交 PR 前清理配方时使用。","google\u002Fadk-recipes","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M6990124CWS5627VKGSKJXRD",10626,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falign-recipe-pyproject\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,10,44,45,46,47,48,49,50,51,52],"align recipe pyproject","pyproject","recipe","align","files","when","mode","standalone","presence","scope","dry","critical","clean","alignment","up","only","fix","ci","workflows","workflow","github","python","2026-11-10 10:12:30",false,"---\nname: align-recipe-pyproject\ndescription: >\n  Aligns a Python recipe's pyproject.toml with the repo's standards enforced\n  by .github\u002Fworkflows\u002Fpython-validate-recipe.yml, plus one critical\n  [build-system] presence check. Scope is pyproject.toml only — standalone\n  ruff.toml \u002F .ruff.toml files (also forbidden in recipes) are caught by the\n  CI workflow instead, not by this skill. Runs in two modes: a read-only\n  --dry-run that reports what needs alignment, and an apply mode that\n  rewrites pyproject.toml (and optionally manifest.yaml) using\n  comment-preserving TOML\u002FYAML editors. Use when the user wants to \"align\n  the recipe's pyproject.toml\", \"fix pyproject to match the repo standard\",\n  \"check what needs changing in a recipe's pyproject\", or clean up a recipe\n  before submitting a PR.\nmetadata:\n  author: Google\n  license: Apache-2.0\n  version: 1.1.0\n---\n\n# Align Recipe pyproject.toml\n\nUse this skill to bring a Python recipe's `pyproject.toml` (and, when it disagrees, its `manifest.yaml` description) into conformance with the repo standard enforced by `.github\u002Fworkflows\u002Fpython-validate-recipe.yml`.\n\nScope: **`pyproject.toml` only**. Standalone `ruff.toml` \u002F `.ruff.toml` files are also forbidden in recipes but are enforced by the CI workflow (Check 7 in `python-validate-recipe.yml`) — outside this skill's concern.\n\n**Not in scope: `adk-major-current`.** The CI validator also emits a warn-only notice when a `core\u002F` recipe resolves to an older `google-adk` major. This skill deliberately does not implement it, and you should not add it. The mechanical fix — widening `\u003C2.0.0` to `\u003C3.0.0` and re-locking — produces a recipe importing a major it was never ported to, and that break surfaces at runtime rather than in any check. Crossing an ADK major is a code migration; this skill only rewrites metadata. If you are asked to \"fix the ADK notice\", port the recipe by hand.\n\n---\n\n## What This Skill Checks\n\nRuns `scripts\u002Falign_pyproject.py` against a recipe directory. Eight rules:\n\n| Rule ID | What it checks | Auto-fix |\n|---|---|---|\n| `no-local-ruff-config` | Recipe `pyproject.toml` must not declare any `[tool.ruff*]` table. Ruff config is centralized in the root `pyproject.toml`. | Yes — removes the tables. |\n| `python-version-floor` | `[project].requires-python` must **accept Python 3.11 exactly** — it must neither permit anything below (loose floors like `>=3.10`) nor exclude 3.11 by requiring higher (`>=3.12`, `~=3.12`, etc.). Per `AGENTS.md` \"Minimum python version: 3.11\" and CI in `.github\u002Fworkflows\u002Fpython-dependency-policy.yml`, which pins Python 3.11 and would otherwise emit a misleading \"lockfile is out of date\" error whose real cause is the interpreter mismatch. | Yes — rewrites the specifier so its lower bound is `>=3.11` while preserving every upper bound, exclusion, compatible-release (`~=`) ceiling, and pin (only pure `>=`\u002F`>` are dropped or replaced). Applies to BOTH failure modes (loose floors AND higher-than-min floors). If the result would still exclude 3.11 (e.g. `>=3.10,!=3.11` → `>=3.11,!=3.11`, or `~=3.12` → `>=3.11,~=3.12` == `>=3.12,\u003C4`), refuses to apply and returns `needs_input` for a human to resolve (typically: relax the ceiling, or raise the recipe with the maintainers to update CI's pinned interpreter). |\n| `project-name-matches-folder` | `[project].name` must equal the recipe's required name: the folder basename under `core\u002F`\u002F`contrib\u002F`, but `\u003Cvertical>-\u003Csolution>` under `plugins\u002F`, whose mandatory vertical namespace (`plugins\u002F\u003Cvertical>\u002F\u003Csolution>`) makes the basename non-unique — `plugins\u002Fretail\u002Fproduct-search` and `plugins\u002Fgrocery\u002Fproduct-search` would otherwise both claim `product-search`. | Yes — sets it. |\n| `description-matches-manifest` | If `[project].description` is set, it must equal `manifest.description`. Field is optional; skipped when absent. | Only with `--description-source={pyproject,manifest,delete}`. Refuses to touch description otherwise. |\n| `build-system-present` | `[build-system]` must have both `requires` and `build-backend`. Without it, `uv build` and `pip install .` fail. | **No** — backend choice is editorial. Reported for the human to fix. |\n| `default-pypi-index` | `[[tool.uv.index]]` must have an entry with `default = true` pointing at public PyPI (`https:\u002F\u002Fpypi.org\u002Fsimple[\u002F]`). Required so `uv sync` works on Google corp workstations without corp Airlock auth — see the block comment in the root `pyproject.toml` for the full rationale. | Yes when the block is entirely missing — appends it. **No** when a default entry exists but points elsewhere (custom private index, TestPyPI, mirror) — reported for the human to reconcile, since the divergence may be intentional. |\n| `stale-python-version-refs` | Scans **every text file in the recipe** for references to a Python version below the 3.11 floor. Raising `requires-python` is not a self-contained edit: the version is typically repeated in prose (`README.md`, `SKILL.md`) and in executable setup code. | **No** — report-only. Which references are stale and how to reword them is editorial. |\n| `runnability-test-in-testpaths` | If `[tool.pytest.ini_options].testpaths` is set, at least one entry must collect `tests\u002Ftest_runnability.py` (which `.github\u002Fpolicy.yml` requires every Python recipe to have). | **No** — report-only. Broadening `testpaths` changes what CI collects. |\n\n#### Why `stale-python-version-refs` exists\n\nA bootstrap script that picks an interpreter from an allowlist still\ncontaining the old floor will happily build a venv the recipe then refuses to\ninstall into:\n\n```bash\nfor py in python3.13 python3.12 python3.11 python3.10 python3; do\n# ...\n# ERROR: Package requires a different Python: 3.10.x not in '>=3.11'\n```\n\nThe scan requires a Python-ish context (`python 3.10`, `Python :: 3.10`,\n`>=3.10`) rather than matching bare digits, so a model name like\n`gemini-3.5-flash` is not a false positive. It skips lockfiles, virtualenvs,\ncaches, and binary files, and ignores `requires-python` in `pyproject.toml`\nitself (owned by `python-version-floor`, and still pre-rewrite in memory when\nthis check runs). Hits are capped at 40 in `details.hits`, but\n`details.files` always lists every affected file.\n\n### Edit safety\n\n- TOML edits go through **`tomlkit`** — comments, blank lines, and unrelated tables in `pyproject.toml` are preserved.\n- YAML edits (only when `--description-source=pyproject` overwrites `manifest.description`) go through **`ruamel.yaml`** — comments in `manifest.yaml` are preserved.\n- Files are only rewritten if at least one auto-fix actually ran. Otherwise on-disk bytes are untouched.\n- No files outside the recipe directory are ever modified. The workflow file, root `pyproject.toml`, and other recipes are safe.\n\n---\n\n## Rules for the Agent\n\n1. **Always use the script — never hand-edit `pyproject.toml` or `manifest.yaml` to perform these changes.** The script exists specifically so edits are style-preserving and reviewable via one report.\n\n2. **Ask for the recipe directory** if the user has not provided one. Do not guess. Recipe roots live under `core\u002Fpython\u002F\u003Cname>\u002F`, `contrib\u002Fpython\u002F\u003Cname>\u002F`, or `plugins\u002F\u003Cvertical>\u002F\u003Csolution>\u002F`.\n\n3. **Always start with `--dry-run`** unless the user has explicitly said \"apply\", \"fix it\", \"just do it\", or equivalent. Show them what would change before doing it.\n\n4. **Only report checks that need attention.** The script always returns every check's status, but the user does not need to see the ones that passed. Filter to `status != \"ok\"`.\n   - If **nothing** needs attention: reply with a single positive line (see the response format below). Don't list what's fine, don't build a table.\n   - If **something** needs attention: render only the non-ok checks.\n\n5. **If `description-matches-manifest` returns `needs_input`**, the descriptions in `pyproject.toml` and `manifest.yaml` disagree and the script cannot pick a winner. Present the two values side by side and ask the user to choose one of the three resolution options. Do not re-run the script until they choose.\n\n6. **If `build-system-present` returns `report_only`**, `[build-system]` is missing or incomplete. Tell the user the recipe cannot be built as a package until this is fixed, and offer them a hatchling or `uv_build` template snippet. Do **not** silently pick one.\n\n7. **If `default-pypi-index` returns `report_only`**, the recipe declares a default index that is NOT public PyPI (e.g. a private mirror, TestPyPI). The skill will not overwrite an intentional choice. Show the user the current `url` from `details.current_url` and ask whether it's deliberate. If yes, they can `# noqa`-comment it or update the repo standard; if no, they should change the URL to `https:\u002F\u002Fpypi.org\u002Fsimple\u002F`. Do not auto-rewrite.\n\n8. **If `stale-python-version-refs` returns `report_only`**, list the affected files from `details.files` and call out any **executable** ones first (`.sh`, `.py`, `Makefile`, CI YAML) — a stale interpreter allowlist in a bootstrap script is a live bug, not a docs nit, and it produces a confusing `requires a different Python` failure at install time. Prose files (`README.md`, `SKILL.md`) are lower priority but still inconsistent. Offer to update them; do not rewrite without asking, since some references are legitimately historical (\"dropped 3.10 support in v2\").\n\n9. **If `runnability-test-in-testpaths` returns `report_only`**, the recipe's `testpaths` excludes `tests\u002Ftest_runnability.py`, so a bare `uv run pytest` never runs it — the recipe looks tested while its import-smoke test silently never executes. Show `details.testpaths` and suggest adding `\"tests\"`. Do not auto-rewrite.\n\n10. **After apply mode succeeds**, remind the user to run `uv sync` in the recipe directory if the pyproject changes touched dependencies (the script emits this in `notes` when relevant).\n\n11. **Do not commit any changes.** Show the diff or file contents; let the user commit.\n\n---\n\n## Input\n\n| Field | Required | Description |\n|---|---|---|\n| `--recipe-dir` | Yes | Path to the recipe root (e.g. `core\u002Fpython\u002Fcross-session-memory`, `contrib\u002Fpython\u002Fmy-recipe`, `plugins\u002Fretail\u002Fstore-ops`). |\n| `--dry-run` | No | Report what would change without modifying any files. |\n| `--description-source` | Only when resolving a `description-matches-manifest` mismatch. Values: `pyproject`, `manifest`, `delete`. See below. | Chooses how to reconcile a description mismatch. |\n\n### `--description-source` semantics\n\n| Value | Effect |\n|---|---|\n| `pyproject` | Overwrite `manifest.description` with the value from `[project].description`. Use when pyproject is authoritative (e.g. it was updated more recently). |\n| `manifest` | Overwrite `[project].description` with the value from `manifest.description`. Use when the manifest is authoritative. |\n| `delete` | Remove `[project].description` from `pyproject.toml` entirely, so `manifest.description` becomes the single source of truth. Use when the recipe doesn't need a wheel-metadata description. |\n\nIf the descriptions already match, this flag is ignored.\n\n---\n\n## Run\n\n### Dry-run (read-only report — start here)\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR> --dry-run\n```\n\nOutput: JSON on stdout. Every check produces one entry with `id`, `status` (`ok` \u002F `would_fix` \u002F `needs_input` \u002F `report_only` \u002F `error`), a human-readable `message`, and structured `details`. Exit code is always `0` in dry-run.\n\n### Apply (rewrite files)\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR>\n```\n\nFixes everything the script can safely fix. Exits `0` if nothing is left unresolved, `1` otherwise (typically because `description-matches-manifest` needs `--description-source` or `build-system-present` needs a human).\n\n### Apply with description resolution\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR> --description-source={pyproject|manifest|delete}\n```\n\n### Preview a description resolution (dry-run + `--description-source`)\n\n`--description-source` combines with `--dry-run`: the script reports the\n`would_fix` outcome of the chosen resolution **without writing any files**.\nUse this to show the user exactly what a given choice will do before you\napply it — the two flags are not mutually exclusive.\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR> --dry-run \\\n  --description-source={pyproject|manifest|delete}\n```\n\n---\n\n## Respond\n\nFilter the report to checks with `status != \"ok\"`. Never list what's fine — the user is here to see what needs doing.\n\n### If everything passed\n\nReply with a single line, no table, no bullets. Something like:\n\n> ✓ `\u003CRECIPE_DIR>`'s pyproject.toml is fully aligned with the repo standard. No changes needed.\n\nThen stop. Do not run any further tools.\n\n### If there are things to report\n\nName the recipe directory once, then render **a single Markdown table** with these three columns:\n\n| Rule | Status | Details |\n|---|---|---|\n\n- **Rule** — the check `id`, in backticks (e.g. `` `no-local-ruff-config` ``).\n- **Status** — the raw status value (`would_fix`, `fixed`, `needs_input`, `report_only`, `error`). Do not add emoji unless the user has asked for them.\n- **Details** — a compact summary of both what's wrong and what will happen (or what the user must do), merged into one cell so the table stays 3 columns wide. Quote `from` → `to` values from `details` when present.\n\nInclude exactly one row per non-ok check. Do not include `ok` rows.\n\nStatus-specific guidance for what to put in the **Details** cell:\n\n- **`would_fix`** (dry-run) — describe the current-state problem, then say what apply would do. Include the `from` → `to` or the list of tables to be removed.\n- **`fixed`** (apply) — one-liner confirming the change (new value or list of removed tables).\n- **`needs_input`** (only `description-matches-manifest`) — the Details cell says something like `\"descriptions differ — needs --description-source={pyproject,manifest,delete}\"`. Do not put the two long descriptions inside the table. See \"Follow-up content\" below.\n- **`report_only`** (four rules can hit this: `build-system-present`, `default-pypi-index` when a non-PyPI default is declared, `stale-python-version-refs`, and `runnability-test-in-testpaths`) — the Details cell names what's missing or non-conforming (e.g. `\"[build-system] missing; recipe cannot be built as a package\"` or `\"default index is TestPyPI, not public PyPI\"`). Follow-up content goes below the table (see next section).\n- **`error`** — the Details cell shows the message verbatim; if it's very long, truncate with `…` and put the full text below.\n\n### Follow-up content below the table\n\nOnly for statuses that need extra context. Order: table first, then this content, then closing action.\n\n- **`needs_input` follow-up** — present `pyproject_description` and `manifest_description` from `details` side by side (a small nested table works well), then ask the user to pick one of `pyproject`, `manifest`, or `delete`. Do not re-run until they answer.\n- **`report_only` follow-up** — explain the impact (recipe cannot be built as a package) and paste both templates so the user can choose:\n\n  ```toml\n  # Hatchling (traditional Python packaging)\n  [build-system]\n  requires = [\"hatchling\"]\n  build-backend = \"hatchling.build\"\n\n  [tool.hatch.build.targets.wheel]\n  packages = [\"app\"]\n\n  # ---- OR ----\n\n  # uv_build (Astral's uv-native backend)\n  [build-system]\n  requires = [\"uv_build>=0.8.14,\u003C0.9.0\"]\n  build-backend = \"uv_build\"\n\n  [tool.uv.build-backend]\n  module-root = \"\"\n  module-name = \"app\"\n  ```\n\n- **`error` follow-up** — if the message was truncated in the table, print it verbatim in full below. Do not attempt to work around it.\n\n### Closing action\n\n- **Dry-run with at least one `would_fix` row** — **offer to apply the fixes yourself.** Do NOT paste the raw command as a copy-and-paste snippet for the user. Instead ask something like \"Want me to apply these fixes?\" (a yes\u002Fno question is fine; a question with clear options is nicer UX). If the user agrees, run apply mode yourself and render the result as another table (with `fixed` rows instead of `would_fix`). If the user declines, stop.\n\n- **Dry-run with only `needs_input` for `description-matches-manifest`** — after the table, show the two descriptions side by side and ask the user to pick one of `pyproject`, `manifest`, or `delete`. When they choose, run apply yourself with `--description-source=\u003Ctheir choice>` and render the resulting table. Do not offer generic \"apply\" — the flag is required.\n\n- **Dry-run with only `report_only`** (and no `would_fix` rows) — after the table, address the specific case:\n  - `build-system-present`: show the two `[build-system]` template snippets and stop. This is a manual edit; the skill does not auto-fix it.\n  - `default-pypi-index`: quote `details.current_url`, explain that this is not public PyPI, and ask whether it's intentional. If not, tell the user to change the URL to `https:\u002F\u002Fpypi.org\u002Fsimple\u002F`. Do not auto-rewrite.\n  - `stale-python-version-refs`: list `details.files`, executable files first, and offer to update them.\n  - `runnability-test-in-testpaths`: quote `details.testpaths` and suggest adding `\"tests\"`.\n\n- **Dry-run with only `error` rows** — do not offer to apply. Errors mean the script bailed before it could compute a fix; the user has to resolve the underlying issue first.\n\n- **Dry-run with a mix** (e.g. some `would_fix` + a `needs_input`) — offer to apply the fixable ones. The apply run will fix those and leave the others as-is; render the resulting table and then address the remaining statuses per the rules above.\n\n- **Apply mode with any `fixed` row** — end with the \"Next steps\" reminder (see below).\n\nDo NOT commit any changes yourself. Ever.\n\n### After apply mode\n\nIf any check has `status: fixed`, remind the user:\n\n```\nNext steps:\n  cd \u003CRECIPE_DIR> && uv sync    # if dependencies changed\n  git diff                       # review the edits before committing\n```\n\nThen stop. Do not commit. Do not run any further tools. End your turn.\n","# Align Recipe pyproject.toml\n\nUse this skill to bring a Python recipe's `pyproject.toml` (and, when it disagrees, its `manifest.yaml` description) into conformance with the repo standard enforced by `.github\u002Fworkflows\u002Fpython-validate-recipe.yml`.\n\nScope: **`pyproject.toml` only**. Standalone `ruff.toml` \u002F `.ruff.toml` files are also forbidden in recipes but are enforced by the CI workflow (Check 7 in `python-validate-recipe.yml`) — outside this skill's concern.\n\n**Not in scope: `adk-major-current`.** The CI validator also emits a warn-only notice when a `core\u002F` recipe resolves to an older `google-adk` major. This skill deliberately does not implement it, and you should not add it. The mechanical fix — widening `\u003C2.0.0` to `\u003C3.0.0` and re-locking — produces a recipe importing a major it was never ported to, and that break surfaces at runtime rather than in any check. Crossing an ADK major is a code migration; this skill only rewrites metadata. If you are asked to \"fix the ADK notice\", port the recipe by hand.\n\n---\n\n## What This Skill Checks\n\nRuns `scripts\u002Falign_pyproject.py` against a recipe directory. Eight rules:\n\n| Rule ID | What it checks | Auto-fix |\n|---|---|---|\n| `no-local-ruff-config` | Recipe `pyproject.toml` must not declare any `[tool.ruff*]` table. Ruff config is centralized in the root `pyproject.toml`. | Yes — removes the tables. |\n| `python-version-floor` | `[project].requires-python` must **accept Python 3.11 exactly** — it must neither permit anything below (loose floors like `>=3.10`) nor exclude 3.11 by requiring higher (`>=3.12`, `~=3.12`, etc.). Per `AGENTS.md` \"Minimum python version: 3.11\" and CI in `.github\u002Fworkflows\u002Fpython-dependency-policy.yml`, which pins Python 3.11 and would otherwise emit a misleading \"lockfile is out of date\" error whose real cause is the interpreter mismatch. | Yes — rewrites the specifier so its lower bound is `>=3.11` while preserving every upper bound, exclusion, compatible-release (`~=`) ceiling, and pin (only pure `>=`\u002F`>` are dropped or replaced). Applies to BOTH failure modes (loose floors AND higher-than-min floors). If the result would still exclude 3.11 (e.g. `>=3.10,!=3.11` → `>=3.11,!=3.11`, or `~=3.12` → `>=3.11,~=3.12` == `>=3.12,\u003C4`), refuses to apply and returns `needs_input` for a human to resolve (typically: relax the ceiling, or raise the recipe with the maintainers to update CI's pinned interpreter). |\n| `project-name-matches-folder` | `[project].name` must equal the recipe's required name: the folder basename under `core\u002F`\u002F`contrib\u002F`, but `\u003Cvertical>-\u003Csolution>` under `plugins\u002F`, whose mandatory vertical namespace (`plugins\u002F\u003Cvertical>\u002F\u003Csolution>`) makes the basename non-unique — `plugins\u002Fretail\u002Fproduct-search` and `plugins\u002Fgrocery\u002Fproduct-search` would otherwise both claim `product-search`. | Yes — sets it. |\n| `description-matches-manifest` | If `[project].description` is set, it must equal `manifest.description`. Field is optional; skipped when absent. | Only with `--description-source={pyproject,manifest,delete}`. Refuses to touch description otherwise. |\n| `build-system-present` | `[build-system]` must have both `requires` and `build-backend`. Without it, `uv build` and `pip install .` fail. | **No** — backend choice is editorial. Reported for the human to fix. |\n| `default-pypi-index` | `[[tool.uv.index]]` must have an entry with `default = true` pointing at public PyPI (`https:\u002F\u002Fpypi.org\u002Fsimple[\u002F]`). Required so `uv sync` works on Google corp workstations without corp Airlock auth — see the block comment in the root `pyproject.toml` for the full rationale. | Yes when the block is entirely missing — appends it. **No** when a default entry exists but points elsewhere (custom private index, TestPyPI, mirror) — reported for the human to reconcile, since the divergence may be intentional. |\n| `stale-python-version-refs` | Scans **every text file in the recipe** for references to a Python version below the 3.11 floor. Raising `requires-python` is not a self-contained edit: the version is typically repeated in prose (`README.md`, `SKILL.md`) and in executable setup code. | **No** — report-only. Which references are stale and how to reword them is editorial. |\n| `runnability-test-in-testpaths` | If `[tool.pytest.ini_options].testpaths` is set, at least one entry must collect `tests\u002Ftest_runnability.py` (which `.github\u002Fpolicy.yml` requires every Python recipe to have). | **No** — report-only. Broadening `testpaths` changes what CI collects. |\n\n#### Why `stale-python-version-refs` exists\n\nA bootstrap script that picks an interpreter from an allowlist still\ncontaining the old floor will happily build a venv the recipe then refuses to\ninstall into:\n\n```bash\nfor py in python3.13 python3.12 python3.11 python3.10 python3; do\n# ...\n# ERROR: Package requires a different Python: 3.10.x not in '>=3.11'\n```\n\nThe scan requires a Python-ish context (`python 3.10`, `Python :: 3.10`,\n`>=3.10`) rather than matching bare digits, so a model name like\n`gemini-3.5-flash` is not a false positive. It skips lockfiles, virtualenvs,\ncaches, and binary files, and ignores `requires-python` in `pyproject.toml`\nitself (owned by `python-version-floor`, and still pre-rewrite in memory when\nthis check runs). Hits are capped at 40 in `details.hits`, but\n`details.files` always lists every affected file.\n\n### Edit safety\n\n- TOML edits go through **`tomlkit`** — comments, blank lines, and unrelated tables in `pyproject.toml` are preserved.\n- YAML edits (only when `--description-source=pyproject` overwrites `manifest.description`) go through **`ruamel.yaml`** — comments in `manifest.yaml` are preserved.\n- Files are only rewritten if at least one auto-fix actually ran. Otherwise on-disk bytes are untouched.\n- No files outside the recipe directory are ever modified. The workflow file, root `pyproject.toml`, and other recipes are safe.\n\n---\n\n## Rules for the Agent\n\n1. **Always use the script — never hand-edit `pyproject.toml` or `manifest.yaml` to perform these changes.** The script exists specifically so edits are style-preserving and reviewable via one report.\n\n2. **Ask for the recipe directory** if the user has not provided one. Do not guess. Recipe roots live under `core\u002Fpython\u002F\u003Cname>\u002F`, `contrib\u002Fpython\u002F\u003Cname>\u002F`, or `plugins\u002F\u003Cvertical>\u002F\u003Csolution>\u002F`.\n\n3. **Always start with `--dry-run`** unless the user has explicitly said \"apply\", \"fix it\", \"just do it\", or equivalent. Show them what would change before doing it.\n\n4. **Only report checks that need attention.** The script always returns every check's status, but the user does not need to see the ones that passed. Filter to `status != \"ok\"`.\n   - If **nothing** needs attention: reply with a single positive line (see the response format below). Don't list what's fine, don't build a table.\n   - If **something** needs attention: render only the non-ok checks.\n\n5. **If `description-matches-manifest` returns `needs_input`**, the descriptions in `pyproject.toml` and `manifest.yaml` disagree and the script cannot pick a winner. Present the two values side by side and ask the user to choose one of the three resolution options. Do not re-run the script until they choose.\n\n6. **If `build-system-present` returns `report_only`**, `[build-system]` is missing or incomplete. Tell the user the recipe cannot be built as a package until this is fixed, and offer them a hatchling or `uv_build` template snippet. Do **not** silently pick one.\n\n7. **If `default-pypi-index` returns `report_only`**, the recipe declares a default index that is NOT public PyPI (e.g. a private mirror, TestPyPI). The skill will not overwrite an intentional choice. Show the user the current `url` from `details.current_url` and ask whether it's deliberate. If yes, they can `# noqa`-comment it or update the repo standard; if no, they should change the URL to `https:\u002F\u002Fpypi.org\u002Fsimple\u002F`. Do not auto-rewrite.\n\n8. **If `stale-python-version-refs` returns `report_only`**, list the affected files from `details.files` and call out any **executable** ones first (`.sh`, `.py`, `Makefile`, CI YAML) — a stale interpreter allowlist in a bootstrap script is a live bug, not a docs nit, and it produces a confusing `requires a different Python` failure at install time. Prose files (`README.md`, `SKILL.md`) are lower priority but still inconsistent. Offer to update them; do not rewrite without asking, since some references are legitimately historical (\"dropped 3.10 support in v2\").\n\n9. **If `runnability-test-in-testpaths` returns `report_only`**, the recipe's `testpaths` excludes `tests\u002Ftest_runnability.py`, so a bare `uv run pytest` never runs it — the recipe looks tested while its import-smoke test silently never executes. Show `details.testpaths` and suggest adding `\"tests\"`. Do not auto-rewrite.\n\n10. **After apply mode succeeds**, remind the user to run `uv sync` in the recipe directory if the pyproject changes touched dependencies (the script emits this in `notes` when relevant).\n\n11. **Do not commit any changes.** Show the diff or file contents; let the user commit.\n\n---\n\n## Input\n\n| Field | Required | Description |\n|---|---|---|\n| `--recipe-dir` | Yes | Path to the recipe root (e.g. `core\u002Fpython\u002Fcross-session-memory`, `contrib\u002Fpython\u002Fmy-recipe`, `plugins\u002Fretail\u002Fstore-ops`). |\n| `--dry-run` | No | Report what would change without modifying any files. |\n| `--description-source` | Only when resolving a `description-matches-manifest` mismatch. Values: `pyproject`, `manifest`, `delete`. See below. | Chooses how to reconcile a description mismatch. |\n\n### `--description-source` semantics\n\n| Value | Effect |\n|---|---|\n| `pyproject` | Overwrite `manifest.description` with the value from `[project].description`. Use when pyproject is authoritative (e.g. it was updated more recently). |\n| `manifest` | Overwrite `[project].description` with the value from `manifest.description`. Use when the manifest is authoritative. |\n| `delete` | Remove `[project].description` from `pyproject.toml` entirely, so `manifest.description` becomes the single source of truth. Use when the recipe doesn't need a wheel-metadata description. |\n\nIf the descriptions already match, this flag is ignored.\n\n---\n\n## Run\n\n### Dry-run (read-only report — start here)\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR> --dry-run\n```\n\nOutput: JSON on stdout. Every check produces one entry with `id`, `status` (`ok` \u002F `would_fix` \u002F `needs_input` \u002F `report_only` \u002F `error`), a human-readable `message`, and structured `details`. Exit code is always `0` in dry-run.\n\n### Apply (rewrite files)\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR>\n```\n\nFixes everything the script can safely fix. Exits `0` if nothing is left unresolved, `1` otherwise (typically because `description-matches-manifest` needs `--description-source` or `build-system-present` needs a human).\n\n### Apply with description resolution\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR> --description-source={pyproject|manifest|delete}\n```\n\n### Preview a description resolution (dry-run + `--description-source`)\n\n`--description-source` combines with `--dry-run`: the script reports the\n`would_fix` outcome of the chosen resolution **without writing any files**.\nUse this to show the user exactly what a given choice will do before you\napply it — the two flags are not mutually exclusive.\n\n```bash\nuv run --no-project --with tomlkit --with 'ruamel.yaml' --with packaging \\\n  python .agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py \\\n  --recipe-dir \u003CRECIPE_DIR> --dry-run \\\n  --description-source={pyproject|manifest|delete}\n```\n\n---\n\n## Respond\n\nFilter the report to checks with `status != \"ok\"`. Never list what's fine — the user is here to see what needs doing.\n\n### If everything passed\n\nReply with a single line, no table, no bullets. Something like:\n\n> ✓ `\u003CRECIPE_DIR>`'s pyproject.toml is fully aligned with the repo standard. No changes needed.\n\nThen stop. Do not run any further tools.\n\n### If there are things to report\n\nName the recipe directory once, then render **a single Markdown table** with these three columns:\n\n| Rule | Status | Details |\n|---|---|---|\n\n- **Rule** — the check `id`, in backticks (e.g. `` `no-local-ruff-config` ``).\n- **Status** — the raw status value (`would_fix`, `fixed`, `needs_input`, `report_only`, `error`). Do not add emoji unless the user has asked for them.\n- **Details** — a compact summary of both what's wrong and what will happen (or what the user must do), merged into one cell so the table stays 3 columns wide. Quote `from` → `to` values from `details` when present.\n\nInclude exactly one row per non-ok check. Do not include `ok` rows.\n\nStatus-specific guidance for what to put in the **Details** cell:\n\n- **`would_fix`** (dry-run) — describe the current-state problem, then say what apply would do. Include the `from` → `to` or the list of tables to be removed.\n- **`fixed`** (apply) — one-liner confirming the change (new value or list of removed tables).\n- **`needs_input`** (only `description-matches-manifest`) — the Details cell says something like `\"descriptions differ — needs --description-source={pyproject,manifest,delete}\"`. Do not put the two long descriptions inside the table. See \"Follow-up content\" below.\n- **`report_only`** (four rules can hit this: `build-system-present`, `default-pypi-index` when a non-PyPI default is declared, `stale-python-version-refs`, and `runnability-test-in-testpaths`) — the Details cell names what's missing or non-conforming (e.g. `\"[build-system] missing; recipe cannot be built as a package\"` or `\"default index is TestPyPI, not public PyPI\"`). Follow-up content goes below the table (see next section).\n- **`error`** — the Details cell shows the message verbatim; if it's very long, truncate with `…` and put the full text below.\n\n### Follow-up content below the table\n\nOnly for statuses that need extra context. Order: table first, then this content, then closing action.\n\n- **`needs_input` follow-up** — present `pyproject_description` and `manifest_description` from `details` side by side (a small nested table works well), then ask the user to pick one of `pyproject`, `manifest`, or `delete`. Do not re-run until they answer.\n- **`report_only` follow-up** — explain the impact (recipe cannot be built as a package) and paste both templates so the user can choose:\n\n  ```toml\n  # Hatchling (traditional Python packaging)\n  [build-system]\n  requires = [\"hatchling\"]\n  build-backend = \"hatchling.build\"\n\n  [tool.hatch.build.targets.wheel]\n  packages = [\"app\"]\n\n  # ---- OR ----\n\n  # uv_build (Astral's uv-native backend)\n  [build-system]\n  requires = [\"uv_build>=0.8.14,\u003C0.9.0\"]\n  build-backend = \"uv_build\"\n\n  [tool.uv.build-backend]\n  module-root = \"\"\n  module-name = \"app\"\n  ```\n\n- **`error` follow-up** — if the message was truncated in the table, print it verbatim in full below. Do not attempt to work around it.\n\n### Closing action\n\n- **Dry-run with at least one `would_fix` row** — **offer to apply the fixes yourself.** Do NOT paste the raw command as a copy-and-paste snippet for the user. Instead ask something like \"Want me to apply these fixes?\" (a yes\u002Fno question is fine; a question with clear options is nicer UX). If the user agrees, run apply mode yourself and render the result as another table (with `fixed` rows instead of `would_fix`). If the user declines, stop.\n\n- **Dry-run with only `needs_input` for `description-matches-manifest`** — after the table, show the two descriptions side by side and ask the user to pick one of `pyproject`, `manifest`, or `delete`. When they choose, run apply yourself with `--description-source=\u003Ctheir choice>` and render the resulting table. Do not offer generic \"apply\" — the flag is required.\n\n- **Dry-run with only `report_only`** (and no `would_fix` rows) — after the table, address the specific case:\n  - `build-system-present`: show the two `[build-system]` template snippets and stop. This is a manual edit; the skill does not auto-fix it.\n  - `default-pypi-index`: quote `details.current_url`, explain that this is not public PyPI, and ask whether it's intentional. If not, tell the user to change the URL to `https:\u002F\u002Fpypi.org\u002Fsimple\u002F`. Do not auto-rewrite.\n  - `stale-python-version-refs`: list `details.files`, executable files first, and offer to update them.\n  - `runnability-test-in-testpaths`: quote `details.testpaths` and suggest adding `\"tests\"`.\n\n- **Dry-run with only `error` rows** — do not offer to apply. Errors mean the script bailed before it could compute a fix; the user has to resolve the underlying issue first.\n\n- **Dry-run with a mix** (e.g. some `would_fix` + a `needs_input`) — offer to apply the fixable ones. The apply run will fix those and leave the others as-is; render the resulting table and then address the remaining statuses per the rules above.\n\n- **Apply mode with any `fixed` row** — end with the \"Next steps\" reminder (see below).\n\nDo NOT commit any changes yourself. Ever.\n\n### After apply mode\n\nIf any check has `status: fixed`, remind the user:\n\n```\nNext steps:\n  cd \u003CRECIPE_DIR> && uv sync    # if dependencies changed\n  git diff                       # review the edits before committing\n```\n\nThen stop. Do not commit. Do not run any further tools. End your turn.\n",{"name":5,"metadata":58,"description":60},{"author":13,"license":16,"version":59},"1.1.0","Aligns a Python recipe's pyproject.toml with the repo's standards enforced by .github\u002Fworkflows\u002Fpython-validate-recipe.yml, plus one critical [build-system] presence check. Scope is pyproject.toml only — standalone ruff.toml \u002F .ruff.toml files (also forbidden in recipes) are caught by the CI workflow instead, not by this skill. Runs in two modes: a read-only --dry-run that reports what needs alignment, and an apply mode that rewrites pyproject.toml (and optionally manifest.yaml) using comment-preserving TOML\u002FYAML editors. Use when the user wants to \"align the recipe's pyproject.toml\", \"fix pyproject to match the repo standard\", \"check what needs changing in a recipe's pyproject\", or clean up a recipe before submitting a PR.\n","main","665f7b2a181686f2ba3c6c942e9b30a084b12ec3",".agents\u002Fskills\u002Falign-recipe-pyproject",2962,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes","https:\u002F\u002Fadk.dev","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 04:01:32",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add google\u002Fadk-recipes --skill align-recipe-pyproject",{"tool":77,"command":78},"bunx","bunx skills add google\u002Fadk-recipes --skill align-recipe-pyproject",{"tool":80,"command":81},"pnpm","pnpm dlx skills add google\u002Fadk-recipes --skill align-recipe-pyproject","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falign-recipe-pyproject\u002FSKILL.md",true,[85,91,95],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Falign_pyproject.py","SCRIPT","脚本",59876,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falign-recipe-pyproject\u002Fscripts\u002Falign_pyproject.py",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"tests\u002Fconftest.py",919,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falign-recipe-pyproject\u002Ftests\u002Fconftest.py",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"tests\u002Ftest_align_pyproject.py",12159,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falign-recipe-pyproject\u002Ftests\u002Ftest_align_pyproject.py",[100,123,150,179,204,233],{"skillNo":101,"name":102,"nameZh":103,"description":104,"descriptionZh":105,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":106,"categories":107,"keywords":114,"publishedAt":53},"01M6991EKEG8XEM3VWW4VGV0ZQ","retail-virtual-tryon","零售虚拟试穿智能体开发","Creates virtual try-on agents supporting image and video (catwalk animation) try-ons on Google Cloud (Gemini image models and Veo on Gemini Enterprise Agent Platform). Handles resource setup, user photo uploading, image\u002Fvideo generation pipelines, local testing, and evaluation.","创建虚拟试穿智能体，在 Google Cloud 上支持图片和视频（走秀动画）试穿（使用 Gemini 图像模型和 Gemini Enterprise Agent Platform 上的 Veo）。负责资源设置、用户照片上传、图片\u002F视频生成流水线、本地测试和评估。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002Fplugins\u002Fretail\u002Fskills\u002Fvirtual-tryon\u002FSKILL.md",[108,111],{"categoryNo":109,"categoryName":110,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":112,"categoryName":113,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[115,116,117,10,118,119,120,121,122],"retail virtual tryon","google cloud","image","testing","gemini","genai","adk","gemini enterprise agent platform",{"skillNo":124,"name":125,"nameZh":126,"description":127,"descriptionZh":128,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":133,"publishedAt":53},"01M6991ABTZW7FCPREXY8GD4RG","retail-product-search","零售产品搜索智能体构建","Creates product search agents with semantic search and RAG on Google Cloud (Vector Search on Gemini Enterprise Agent Platform, BigQuery, embeddings). Use when the user wants to \"build a product search agent\", \"create an e-commerce search\", \"make a shopping assistant\", \"set up semantic catalog discovery\", \"ingest products into Vector Search\", or \"deploy a retail RAG agent\". Handles the full pipeline: catalog data ingestion to BigQuery, Gemini Enterprise Agent Platform Vector Search collection setup, ADK agent scaffolding, evaluation, and Cloud Run deployment.","在 Google Cloud 上创建具备语义搜索和 RAG 能力的产品搜索智能体（基于 Gemini Enterprise Agent Platform 上的 Vector Search、BigQuery 和 embeddings）。当用户想要“构建产品搜索智能体”“创建电商搜索”“制作购物助手”“搭建语义化目录发现”“将产品导入 Vector Search”或“部署零售 RAG 智能体”时使用。涵盖完整流程：目录数据导入 BigQuery、Gemini Enterprise Agent Platform 的 Vector Search 集合配置、ADK 智能体脚手架搭建、评估以及 Cloud Run 部署。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002Fplugins\u002Fretail\u002Fskills\u002Fproduct-search\u002FSKILL.md",[131,132],{"categoryNo":109,"categoryName":110,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":112,"categoryName":113,"taxonomyType":28,"taxonomyTypeDesc":29},[134,135,136,122,121,119,137,10,116,138,36,139,140,141,45,142,143,144,145,146,147,148,149],"retail product search","product","search","assistant","pipeline","commerce","scaffolding","shopping","ingestion","collection","SET","vector","apache","run","create","rag",{"skillNo":151,"name":152,"nameZh":153,"description":154,"descriptionZh":155,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":156,"categories":157,"keywords":162,"publishedAt":53},"01M69918HZCYZHD7K9Y9ZSD287","routines","定时例行任务管理","Use for a recurring unattended task (cron; pull data, open a PR, post a digest), or to test\u002Fdry-run a routine first. Explains authoring and testing via the routine tool.","用于周期性、无人值守的任务（cron；如拉取数据、创建 PR、发布摘要），或先对某个例行程序进行测试／试运行。介绍如何通过 routine 工具编写和测试例行任务。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002Fcore\u002Fpython\u002Flong-horizon-harness\u002Fhorizon\u002Fbuiltin_skills\u002Froutines\u002FSKILL.md",[158,159],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":160,"categoryName":161,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSFHC0DJXKNN0QBZDDS4K9","定时任务与自动化编排",[152,41,163,164,165,166,167,168,169,170,171,172,173,174,175,176,147,177,118,178],"routine","for","post","via","authoring","digest","task","use","recurring","pr","tool","open","first","pull","test","data",{"skillNo":180,"name":181,"nameZh":182,"description":183,"descriptionZh":184,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":185,"categories":186,"keywords":193,"publishedAt":53},"01M699178ZDFDXEZ11DG1Y9CTF","policy","工具权限策略检查","Inspect the per-workspace tool-policy overlay (.lha\u002Fpolicies.jsonl) that gates destructive or sensitive tool calls, and tell the user what to change if they want a rule added or removed.","检查按工作区划分的工具策略覆盖层（.lha\u002Fpolicies.jsonl），该覆盖层用于对破坏性或敏感的工具调用进行门控，并告知用户若想新增或删除规则应修改哪些内容。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002Fcore\u002Fpython\u002Flong-horizon-harness\u002Fhorizon\u002Fbuiltin_skills\u002Fpolicy\u002FSKILL.md",[187,190],{"categoryNo":188,"categoryName":189,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",{"categoryNo":191,"categoryName":192,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[181,194,195,196,197,198,199,200,201,202,173,203],"gates","overlay","tool calls","inspect","calls","jsonl","rule","user","workspace","change",{"skillNo":205,"name":206,"nameZh":207,"description":208,"descriptionZh":209,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":210,"categories":211,"keywords":218,"publishedAt":53},"01M69915F8591SQBA1ZHK6NDA7","google-workspace","Google Workspace 办公套件操作","Read\u002Fwrite Google Drive, Docs, Sheets, Gmail, Calendar, Chat, Tasks, Slides via the `gws` CLI. Needs an OAuth client or service account configured first. Use for any Google Workspace task.","通过 `gws` 命令行工具读写 Google Drive、Docs、Sheets、Gmail、Calendar、Chat、Tasks、Slides。需先配置 OAuth 客户端或服务账号。适用于任何 Google Workspace 任务。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002Fcore\u002Fpython\u002Flong-horizon-harness\u002Fhorizon\u002Fbuiltin_skills\u002Fgoogle-workspace\u002FSKILL.md",[212,215],{"categoryNo":213,"categoryName":214,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TPH3VQWKQZXV7EPF8VZ","办公行政人员",{"categoryNo":216,"categoryName":217,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD3WKAZKP84N22M6Q0DM","办公管理与协作",[202,219,10,220,170,221,222,223,175,224,225,226,227,228,169,164,229,230,166,231,232],"google workspace","calendar","write","read","slides","OAuth","tasks","docs","cli","gmail","sheets","client","chat","gws",{"skillNo":234,"name":235,"nameZh":236,"description":237,"descriptionZh":238,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":239,"categories":240,"keywords":243,"publishedAt":53},"01M69914416KTZ6Z0WD425YYJ0","find-skills","智能体技能发现与安装","Discover\u002Finstall NEW agent skills from external sources (skills.sh). Use for capabilities you lack, e.g. \"find a skill for X\". Do NOT use to list skills you already have; see `\u003Cavailable_skills>`.","从外部来源（skills.sh）发现并安装全新的智能体技能。用于弥补自身缺失的能力，例如“找一个能做 X 的技能”。不要用于列出你已有的技能；请参阅 `\u003Cavailable_skills>`。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-recipes\u002Fblob\u002Fmain\u002Fcore\u002Fpython\u002Flong-horizon-harness\u002Fhorizon\u002Fbuiltin_skills\u002Ffind-skills\u002FSKILL.md",[241,242],{"categoryNo":191,"categoryName":192,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":109,"categoryName":110,"taxonomyType":23,"taxonomyTypeDesc":24},[244,245,164,246,247,248,249,250,170,251,252,253,254],"find skills","find","you","sources","discover","new agent","do","install","list","list skills","capabilities"]