[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACR0TWBD63DPH03X00A541":3,"skill-same:01M6ACR0TWBD63DPH03X00A541":107},{"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":7,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":7,"updatedAt":48,"install":49,"resources":62},"01M6ACR0TWBD63DPH03X00A541","doris-release-docs","Doris 发布文档编写",null,"","apache\u002Fdoris-website","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACQ6ZTWKNCG0HSKEJ2RDF7",137,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C5C7NGT4DWWBE15R6QGEX5","技术文档编写","SCENARIO","使用场景",[30,31,32,33,34],"docs","release","doris","doris release docs","release docs","2026-11-10 10:12:30",false,"---\nname: doris-release-docs\ndescription: Audit and update the user documentation for an Apache Doris release from the commit diff between two refs (for example 4.1.3..4.1.4-rc04). Extract the hard user-facing surface (FE\u002FBE\u002FMS configs, session variables, grammar, functions, system tables, HTTP endpoints, metrics, shipped conf files, dependency versions), classify every commit with parallel subagents, then add, fix or create docs under three iron rules — anything a user can perceive needs a doc, every new feature or behavior change carries a \"since version X.Y.Z\" note, and every feature commit needs a documented home or a question to the user. Write the Chinese version of ONE doc branch first (ask which one: dev or 4.x), open a PR, and only after the user approves it sync to the other branches and to English (dev documents master, so build a master-vs-tag difference table first). Use when asked to \"check the docs for 4.1.5\", \"update docs from the commit history\", \"what docs need to change for X.Y.Z\", or \"sync the 4.x doc changes to dev and English\". Not for writing release notes and not for building the site (static checks only).\n---\n\n# Release docs from the commit diff\n\nGoal: given `FROM_REF..TO_REF` (for example `4.1.3..4.1.4-rc04`), make sure that **every user-perceivable\nchange has documentation, every new feature or behavior change is version-annotated, and every feature\ncommit has a documented home**, then report the result to the user in three buckets: done, needs your\ndecision, deliberately skipped.\n\nPaths used below (confirm at the start):\n\n| Variable | Meaning |\n| --- | --- |\n| `DORIS` | a local `apache\u002Fdoris` clone, read-only, with the release tags and an `upstream` remote for `master` |\n| `SITE` | this repository (doris-website) |\n| `ZH` | the Chinese doc tree the user chose: `4.x` -> `$SITE\u002Fi18n\u002Fzh-CN\u002Fdocusaurus-plugin-content-docs\u002Fversion-4.x`, `dev` -> `...\u002Fcurrent` (**ask first, never assume**) |\n| `OUT` | a scratch directory for diffs, batches and subagent reports |\n\nScripts live in `doc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002F`, references in `references\u002F`.\n\n```bash\nS=doc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\n$S\u002Fsurface-diff.sh          $DORIS 4.1.3 4.1.4-rc04 $OUT\u002Fsurface     # hard user-facing surface\n$S\u002Fsplit-commits.sh         $DORIS 4.1.3 4.1.4-rc04 $OUT\u002Fcommits 30   # production vs test-only, batches\n$S\u002Fcheck-version-claims.py  $DORIS --tags 4.0.7 4.0.8 4.1.3 4.1.4-rc04 -- \u003Cid>...   # before writing any version note\n$S\u002Fcompare-refs.py          $DORIS 4.1.4-rc04 upstream\u002Fmaster --from-file $OUT\u002Fsurface\u002Fidentifiers.txt  # before syncing dev\n$S\u002Fvalidate-docs.py         $SITE --base upstream\u002Fmaster --forbidden $OUT\u002Fforbidden.txt   # before every commit\n```\n\n---\n\n## 0. Iron rules\n\n1. **A commit that adds a capability must have a documented home.** A subject tagged `feat` \u002F `feature`,\n   or a diff that introduces a new user-facing surface (new syntax, new endpoint, a new group of configs,\n   a new data source, a new runtime mechanism such as cross-compute-group peer cache reads) gets\n   documentation: a new section on an existing page, or a new page. If there is no obvious home, or you\n   are not sure where it belongs, **ask the user** — never silently park it in a \"no location found\" list.\n2. **New features, behavior changes, default changes and removals are always version-annotated**\n   (\"Supported since version 4.1.4\"). Every version number must be checked against the tags with\n   `check-version-claims.py`; a change that shipped on several release lines (4.0.x and 4.1.x) is\n   annotated for each line.\n3. **Anything a user can perceive needs a doc**: configs, session variables, SQL syntax, functions, system\n   table \u002F SHOW columns, HTTP endpoints, metrics and profile counters, error messages, privilege\n   requirements, type mappings, support matrices, dependency versions, and the shipped `conf\u002F` files,\n   start scripts and jar directory names. Pure refactors, logging and optimizations with no interface\n   change are not documented.\n4. **Facts come only from the code at `TO_REF`** — not from commit messages, PR titles, subagent\n   reports or the existing docs. Default values, mutability, gating conditions, error strings, column\n   names, privilege checks and counting semantics are verified with `git show` \u002F `git grep` before they\n   are written (see `references\u002Fdoc-conventions.md` §7).\n5. **Unreleased capabilities are not documented, but they are recorded.** Signals: the PR says the\n   open-source build only ships a framework \u002F no-op, the user names the feature, or it is visibly\n   half-finished. For a large new capability area, **ask the user before writing** — writing a whole\n   chapter and then pulling it is wasted work.\n6. **The dev trees describe `master`, not `TO_REF`.** Before syncing to dev, run `compare-refs.py` and\n   build a difference table; master can lack backported variables, use different defaults, dependency\n   versions, module names and error strings. Record the master SHA the table was built from.\n7. **Sidebars are shared between locales.** While only the Chinese tree is written, a new page is not\n   added to the sidebar (the English site would fail to build); link to it from an existing page and add\n   the sidebar entry once every tree has the file.\n8. **Never delete a page.** A removed feature keeps its page, rewritten as a removal notice plus a\n   migration mapping plus the historical usage.\n9. **No `yarn build`.** The only verification is `validate-docs.py` (front matter, relative links, bare\n   JSX-like tags in `.mdx`, Chinese text in English trees, forbidden identifiers, table column counts).\n10. **First question, before touching anything: which doc branch gets the Chinese version** (dev \u002F 4.x \u002F\n    3.x ...). The cadence is fixed: **write that one Chinese branch -> open a PR -> the user reviews and\n    approves -> then sync to the other branches and to English.** The sync scope is confirmed with the\n    user at review time (for example whether a 4.x change also goes to dev or 3.x). Every PR description\n    states the current sync status.\n11. **Subagents only read the Doris repo** and only write their own report file. The main agent\n    aggregates, verifies facts and writes the docs (or dispatches per-file batches, see §6).\n\n---\n\n## 1. Preflight\n\n```bash\ncd $DORIS && git fetch upstream master --tags\ngit tag -l '4.1.*'                       # both FROM and TO must exist\ngit log --oneline FROM..TO | wc -l\n```\n\n**Ask the user two things before extracting anything** (one question, all at once):\n\n1. Which doc branch gets the Chinese version: `4.x` (`versioned_docs\u002Fversion-4.x` +\n   `i18n\u002F...\u002Fversion-4.x`), `dev` (`docs\u002F` + `i18n\u002F...\u002Fcurrent`) or another active version\n   (`versions.json` lists them). This sets `$ZH` and decides which release line version notes refer to.\n2. Which branches and locales to sync to after approval (default: the same version in English plus dev in\n   both locales; the user may add or remove).\n\nRestate the commit range, the target version and the active version list in the question so a wrong\nassumption is easy to spot. Put every topic the user says \"not yet\" to into `$OUT\u002Fforbidden.txt` (one\nidentifier or regex per line) for `validate-docs.py`.\n\n## 2. Extract the hard surface (deterministic, no judgment involved)\n\n```bash\n$S\u002Fsurface-diff.sh $DORIS FROM TO $OUT\u002Fsurface\nless $OUT\u002Fsurface\u002Fsummary.txt\n```\n\nRead the `fe-config` \u002F `session-var` \u002F `be-config` \u002F `ms-config` \u002F `grammar` \u002F `functions` \u002F\n`schema-tables` \u002F `conf-files` \u002F `deps` sections and list, directly from the `+`\u002F`-` lines: additions,\nremovals, default changes, mutability changes, grammar additions and removals, function \u002F TVF additions\nand removals, system-table columns, shipped conf lines, dependency versions. This is the **baseline\nlist** — subagent reports can add to it but never override it.\n\n`$OUT\u002Fsurface\u002Fidentifiers.txt` holds the config and variable names found in the diffs; feed it to\n`check-version-claims.py` and `compare-refs.py` with `--from-file`.\n\n## 3. Classify every commit (parallel subagents)\n\n```bash\n$S\u002Fsplit-commits.sh $DORIS FROM TO $OUT\u002Fcommits 30     # splits by touched PATHS, never by [subject tag]\n```\n\nStart one `general-purpose` subagent per `batch-NN`, all at once, with the prompt in\n`references\u002Fclassify-agent-prompt.md`. Each writes `$OUT\u002Fcommits\u002Freport-NN.md` and replies with a short\nsummary. When all are in:\n\n```bash\nfor f in $OUT\u002Fcommits\u002Freport-*.md; do awk '\u002F^## NONE\u002F{exit} \u002F^## \u002F{print} \u002FImpact|Likely doc area|Flags\u002F{print}' $f; done\n```\n\ngives a HIGH \u002F MEDIUM \u002F LOW index. **Re-check every default in the reports against `summary.txt`** —\nan intermediate commit can set a value that a later commit reverts.\n\n## 4. Decide and ask\n\nMerge the index and the baseline list into one table and decide per row: `FIX` an existing page \u002F\n`ADD` to an existing page \u002F `NEW` page \u002F `NOTE` a version note only \u002F `SKIP` internal change \u002F `ASK` the\nuser.\n\nAlways `ASK` for: feature commits with no obvious home; large new capability areas; PRs that say the\nopen-source build has no implementation; anything a subagent flagged. **Collect every ASK into one\nquestion** instead of interrupting repeatedly. Whatever the user declines goes into `forbidden.txt`.\n\nFinding a home: `grep -rln \u003Cidentifier> $ZH`; failing that, the page for the same topic (configs in\n`admin-manual\u002Fconfig\u002F*-config.md`, session variables in `sql-manual\u002Fbasic-element\u002Fsession-variables.md`\nplus the owning feature page, lakehouse in `lakehouse\u002Fcatalogs\u002F*`, load in `data-operate\u002Fimport\u002F*`,\nupgrade impact in `admin-manual\u002Fcluster-management\u002Fupgrade.md`). Before creating a page run\n`find $SITE\u002Fdocs $SITE\u002Fi18n -name '\u003Cslug>*'` — dev may already have a better version; reuse it and fix\nthe version note.\n\n## 5. Write the Chinese docs (only the branch chosen in §1, `$ZH`)\n\nFollow `references\u002Fdoc-conventions.md` (version-note wording, FE\u002FBE config entry formats, the session\nvariable page, removal pages, MDX constraints, the fact-checking table). The most common mistakes:\n\n- Version numbers: run `check-version-claims.py` first, annotate every release line, and audit the\n  existing notes on the page while you are there.\n- Claims: read the diff body, not the title; find the gating condition; read the annotation for\n  mutability; read the call arguments for counting semantics; copy error strings literally; copy\n  property names from the code constants.\n- Tables: append new rows at the end; never put a blockquote between table rows.\n- When a rule changes, replace the examples on the page that no longer satisfy it.\n- Upgrade guide: add an \"Upgrading to X.Y.Z\" section with three tables — removed interfaces and\n  syntax \u002F default and behavior changes \u002F deployment and config-file changes — each row\n  `Change | Affected scope | What to do`.\n- Session variable page: overview table (added \u002F default or semantics changed \u002F removed), one section\n  per variable, a removed-variables table.\n\nThen:\n\n```bash\n$S\u002Fvalidate-docs.py $SITE --base upstream\u002Fmaster --forbidden $OUT\u002Fforbidden.txt\n```\n\nWrite the review report from `references\u002Freport-template.md` into `plan-doc\u002Fdoris-\u003Cver>-doc-review.md`\n(**not committed to the PR**), create a branch, commit, `gh pr create`. The PR description must contain:\nthe range and method, the list of statements in the existing docs that were wrong and are now fixed, what\nwas deliberately left out, new pages awaiting a sidebar entry, and changes with no home.\n\n## 6. After approval: sync to the other branches and to English\n\nEnter this section only when the user says the Chinese version is approved; confirm the sync scope from\n§1. The targets are usually the same version in English plus dev in both locales (source 4.x), or dev in\nEnglish plus 4.x in both locales (source dev).\n\n1. `cd $DORIS && git fetch upstream master`; note the SHA.\n2. `compare-refs.py $DORIS TO upstream\u002Fmaster --from-file $OUT\u002Fsurface\u002Fidentifiers.txt`, plus feature\n   presence checks (`git grep -l \u003Cdistinctive string> upstream\u002Fmaster | grep -v regression-test` —\n   **no narrow pathspecs**, master has been refactored), assembled into a difference table.\n3. Fill `references\u002Fport-agent-prompt.md` into `$OUT\u002Fsync-context.md` (difference table, forbidden\n   topics, master SHA) and start 6–8 file-batch subagents; each ports its files into all target trees;\n   large files (`upgrade.md`, `iceberg-catalog.mdx`, `fe-config.md` + `be-config.md`) get a batch of\n   their own.\n4. The main agent does: the other-language \u002F other-branch versions of new pages (dev versions edited per\n   the difference table), sidebar entries, and pages that exist in one branch but not another although\n   the feature ships in this version.\n5. A subagent reporting \"the SOURCE is wrong\" means fixing every tree at once; \"dev already has a better\n   version\" means adopting it.\n6. Run `validate-docs.py` over everything; re-run `compare-refs.py` right before pushing (master moves);\n   update the difference table and the corrections list in the PR description.\n\n## 7. Wrap up\n\n- Append the round's new lessons to `references\u002Fpitfalls.md`.\n- The report stays in `plan-doc\u002F`, out of the PR.\n- Note the PR number, branch, master SHA used for the comparison and the topics the user declined.\n","# Release docs from the commit diff\n\nGoal: given `FROM_REF..TO_REF` (for example `4.1.3..4.1.4-rc04`), make sure that **every user-perceivable\nchange has documentation, every new feature or behavior change is version-annotated, and every feature\ncommit has a documented home**, then report the result to the user in three buckets: done, needs your\ndecision, deliberately skipped.\n\nPaths used below (confirm at the start):\n\n| Variable | Meaning |\n| --- | --- |\n| `DORIS` | a local `apache\u002Fdoris` clone, read-only, with the release tags and an `upstream` remote for `master` |\n| `SITE` | this repository (doris-website) |\n| `ZH` | the Chinese doc tree the user chose: `4.x` -> `$SITE\u002Fi18n\u002Fzh-CN\u002Fdocusaurus-plugin-content-docs\u002Fversion-4.x`, `dev` -> `...\u002Fcurrent` (**ask first, never assume**) |\n| `OUT` | a scratch directory for diffs, batches and subagent reports |\n\nScripts live in `doc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002F`, references in `references\u002F`.\n\n```bash\nS=doc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\n$S\u002Fsurface-diff.sh          $DORIS 4.1.3 4.1.4-rc04 $OUT\u002Fsurface     # hard user-facing surface\n$S\u002Fsplit-commits.sh         $DORIS 4.1.3 4.1.4-rc04 $OUT\u002Fcommits 30   # production vs test-only, batches\n$S\u002Fcheck-version-claims.py  $DORIS --tags 4.0.7 4.0.8 4.1.3 4.1.4-rc04 -- \u003Cid>...   # before writing any version note\n$S\u002Fcompare-refs.py          $DORIS 4.1.4-rc04 upstream\u002Fmaster --from-file $OUT\u002Fsurface\u002Fidentifiers.txt  # before syncing dev\n$S\u002Fvalidate-docs.py         $SITE --base upstream\u002Fmaster --forbidden $OUT\u002Fforbidden.txt   # before every commit\n```\n\n---\n\n## 0. Iron rules\n\n1. **A commit that adds a capability must have a documented home.** A subject tagged `feat` \u002F `feature`,\n   or a diff that introduces a new user-facing surface (new syntax, new endpoint, a new group of configs,\n   a new data source, a new runtime mechanism such as cross-compute-group peer cache reads) gets\n   documentation: a new section on an existing page, or a new page. If there is no obvious home, or you\n   are not sure where it belongs, **ask the user** — never silently park it in a \"no location found\" list.\n2. **New features, behavior changes, default changes and removals are always version-annotated**\n   (\"Supported since version 4.1.4\"). Every version number must be checked against the tags with\n   `check-version-claims.py`; a change that shipped on several release lines (4.0.x and 4.1.x) is\n   annotated for each line.\n3. **Anything a user can perceive needs a doc**: configs, session variables, SQL syntax, functions, system\n   table \u002F SHOW columns, HTTP endpoints, metrics and profile counters, error messages, privilege\n   requirements, type mappings, support matrices, dependency versions, and the shipped `conf\u002F` files,\n   start scripts and jar directory names. Pure refactors, logging and optimizations with no interface\n   change are not documented.\n4. **Facts come only from the code at `TO_REF`** — not from commit messages, PR titles, subagent\n   reports or the existing docs. Default values, mutability, gating conditions, error strings, column\n   names, privilege checks and counting semantics are verified with `git show` \u002F `git grep` before they\n   are written (see `references\u002Fdoc-conventions.md` §7).\n5. **Unreleased capabilities are not documented, but they are recorded.** Signals: the PR says the\n   open-source build only ships a framework \u002F no-op, the user names the feature, or it is visibly\n   half-finished. For a large new capability area, **ask the user before writing** — writing a whole\n   chapter and then pulling it is wasted work.\n6. **The dev trees describe `master`, not `TO_REF`.** Before syncing to dev, run `compare-refs.py` and\n   build a difference table; master can lack backported variables, use different defaults, dependency\n   versions, module names and error strings. Record the master SHA the table was built from.\n7. **Sidebars are shared between locales.** While only the Chinese tree is written, a new page is not\n   added to the sidebar (the English site would fail to build); link to it from an existing page and add\n   the sidebar entry once every tree has the file.\n8. **Never delete a page.** A removed feature keeps its page, rewritten as a removal notice plus a\n   migration mapping plus the historical usage.\n9. **No `yarn build`.** The only verification is `validate-docs.py` (front matter, relative links, bare\n   JSX-like tags in `.mdx`, Chinese text in English trees, forbidden identifiers, table column counts).\n10. **First question, before touching anything: which doc branch gets the Chinese version** (dev \u002F 4.x \u002F\n    3.x ...). The cadence is fixed: **write that one Chinese branch -> open a PR -> the user reviews and\n    approves -> then sync to the other branches and to English.** The sync scope is confirmed with the\n    user at review time (for example whether a 4.x change also goes to dev or 3.x). Every PR description\n    states the current sync status.\n11. **Subagents only read the Doris repo** and only write their own report file. The main agent\n    aggregates, verifies facts and writes the docs (or dispatches per-file batches, see §6).\n\n---\n\n## 1. Preflight\n\n```bash\ncd $DORIS && git fetch upstream master --tags\ngit tag -l '4.1.*'                       # both FROM and TO must exist\ngit log --oneline FROM..TO | wc -l\n```\n\n**Ask the user two things before extracting anything** (one question, all at once):\n\n1. Which doc branch gets the Chinese version: `4.x` (`versioned_docs\u002Fversion-4.x` +\n   `i18n\u002F...\u002Fversion-4.x`), `dev` (`docs\u002F` + `i18n\u002F...\u002Fcurrent`) or another active version\n   (`versions.json` lists them). This sets `$ZH` and decides which release line version notes refer to.\n2. Which branches and locales to sync to after approval (default: the same version in English plus dev in\n   both locales; the user may add or remove).\n\nRestate the commit range, the target version and the active version list in the question so a wrong\nassumption is easy to spot. Put every topic the user says \"not yet\" to into `$OUT\u002Fforbidden.txt` (one\nidentifier or regex per line) for `validate-docs.py`.\n\n## 2. Extract the hard surface (deterministic, no judgment involved)\n\n```bash\n$S\u002Fsurface-diff.sh $DORIS FROM TO $OUT\u002Fsurface\nless $OUT\u002Fsurface\u002Fsummary.txt\n```\n\nRead the `fe-config` \u002F `session-var` \u002F `be-config` \u002F `ms-config` \u002F `grammar` \u002F `functions` \u002F\n`schema-tables` \u002F `conf-files` \u002F `deps` sections and list, directly from the `+`\u002F`-` lines: additions,\nremovals, default changes, mutability changes, grammar additions and removals, function \u002F TVF additions\nand removals, system-table columns, shipped conf lines, dependency versions. This is the **baseline\nlist** — subagent reports can add to it but never override it.\n\n`$OUT\u002Fsurface\u002Fidentifiers.txt` holds the config and variable names found in the diffs; feed it to\n`check-version-claims.py` and `compare-refs.py` with `--from-file`.\n\n## 3. Classify every commit (parallel subagents)\n\n```bash\n$S\u002Fsplit-commits.sh $DORIS FROM TO $OUT\u002Fcommits 30     # splits by touched PATHS, never by [subject tag]\n```\n\nStart one `general-purpose` subagent per `batch-NN`, all at once, with the prompt in\n`references\u002Fclassify-agent-prompt.md`. Each writes `$OUT\u002Fcommits\u002Freport-NN.md` and replies with a short\nsummary. When all are in:\n\n```bash\nfor f in $OUT\u002Fcommits\u002Freport-*.md; do awk '\u002F^## NONE\u002F{exit} \u002F^## \u002F{print} \u002FImpact|Likely doc area|Flags\u002F{print}' $f; done\n```\n\ngives a HIGH \u002F MEDIUM \u002F LOW index. **Re-check every default in the reports against `summary.txt`** —\nan intermediate commit can set a value that a later commit reverts.\n\n## 4. Decide and ask\n\nMerge the index and the baseline list into one table and decide per row: `FIX` an existing page \u002F\n`ADD` to an existing page \u002F `NEW` page \u002F `NOTE` a version note only \u002F `SKIP` internal change \u002F `ASK` the\nuser.\n\nAlways `ASK` for: feature commits with no obvious home; large new capability areas; PRs that say the\nopen-source build has no implementation; anything a subagent flagged. **Collect every ASK into one\nquestion** instead of interrupting repeatedly. Whatever the user declines goes into `forbidden.txt`.\n\nFinding a home: `grep -rln \u003Cidentifier> $ZH`; failing that, the page for the same topic (configs in\n`admin-manual\u002Fconfig\u002F*-config.md`, session variables in `sql-manual\u002Fbasic-element\u002Fsession-variables.md`\nplus the owning feature page, lakehouse in `lakehouse\u002Fcatalogs\u002F*`, load in `data-operate\u002Fimport\u002F*`,\nupgrade impact in `admin-manual\u002Fcluster-management\u002Fupgrade.md`). Before creating a page run\n`find $SITE\u002Fdocs $SITE\u002Fi18n -name '\u003Cslug>*'` — dev may already have a better version; reuse it and fix\nthe version note.\n\n## 5. Write the Chinese docs (only the branch chosen in §1, `$ZH`)\n\nFollow `references\u002Fdoc-conventions.md` (version-note wording, FE\u002FBE config entry formats, the session\nvariable page, removal pages, MDX constraints, the fact-checking table). The most common mistakes:\n\n- Version numbers: run `check-version-claims.py` first, annotate every release line, and audit the\n  existing notes on the page while you are there.\n- Claims: read the diff body, not the title; find the gating condition; read the annotation for\n  mutability; read the call arguments for counting semantics; copy error strings literally; copy\n  property names from the code constants.\n- Tables: append new rows at the end; never put a blockquote between table rows.\n- When a rule changes, replace the examples on the page that no longer satisfy it.\n- Upgrade guide: add an \"Upgrading to X.Y.Z\" section with three tables — removed interfaces and\n  syntax \u002F default and behavior changes \u002F deployment and config-file changes — each row\n  `Change | Affected scope | What to do`.\n- Session variable page: overview table (added \u002F default or semantics changed \u002F removed), one section\n  per variable, a removed-variables table.\n\nThen:\n\n```bash\n$S\u002Fvalidate-docs.py $SITE --base upstream\u002Fmaster --forbidden $OUT\u002Fforbidden.txt\n```\n\nWrite the review report from `references\u002Freport-template.md` into `plan-doc\u002Fdoris-\u003Cver>-doc-review.md`\n(**not committed to the PR**), create a branch, commit, `gh pr create`. The PR description must contain:\nthe range and method, the list of statements in the existing docs that were wrong and are now fixed, what\nwas deliberately left out, new pages awaiting a sidebar entry, and changes with no home.\n\n## 6. After approval: sync to the other branches and to English\n\nEnter this section only when the user says the Chinese version is approved; confirm the sync scope from\n§1. The targets are usually the same version in English plus dev in both locales (source 4.x), or dev in\nEnglish plus 4.x in both locales (source dev).\n\n1. `cd $DORIS && git fetch upstream master`; note the SHA.\n2. `compare-refs.py $DORIS TO upstream\u002Fmaster --from-file $OUT\u002Fsurface\u002Fidentifiers.txt`, plus feature\n   presence checks (`git grep -l \u003Cdistinctive string> upstream\u002Fmaster | grep -v regression-test` —\n   **no narrow pathspecs**, master has been refactored), assembled into a difference table.\n3. Fill `references\u002Fport-agent-prompt.md` into `$OUT\u002Fsync-context.md` (difference table, forbidden\n   topics, master SHA) and start 6–8 file-batch subagents; each ports its files into all target trees;\n   large files (`upgrade.md`, `iceberg-catalog.mdx`, `fe-config.md` + `be-config.md`) get a batch of\n   their own.\n4. The main agent does: the other-language \u002F other-branch versions of new pages (dev versions edited per\n   the difference table), sidebar entries, and pages that exist in one branch but not another although\n   the feature ships in this version.\n5. A subagent reporting \"the SOURCE is wrong\" means fixing every tree at once; \"dev already has a better\n   version\" means adopting it.\n6. Run `validate-docs.py` over everything; re-run `compare-refs.py` right before pushing (master moves);\n   update the difference table and the corrections list in the PR description.\n\n## 7. Wrap up\n\n- Append the round's new lessons to `references\u002Fpitfalls.md`.\n- The report stays in `plan-doc\u002F`, out of the PR.\n- Note the PR number, branch, master SHA used for the comparison and the topics the user declined.\n",{},"master","618ed23852c4c67b16296910731076bb11594a09","doc-tools\u002Fskills\u002Fdoris-release-docs",488,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website","https:\u002F\u002Fdoris.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-15 02:28:01",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add apache\u002Fdoris-website --skill doris-release-docs",{"tool":55,"command":56},"bunx","bunx skills add apache\u002Fdoris-website --skill doris-release-docs",{"tool":58,"command":59},"pnpm","pnpm dlx skills add apache\u002Fdoris-website --skill doris-release-docs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002FSKILL.md",true,[63,69,73,77,81,85,91,95,99,103],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fclassify-agent-prompt.md","REFERENCE","参考文档",5077,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Freferences\u002Fclassify-agent-prompt.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fdoc-conventions.md",7015,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Freferences\u002Fdoc-conventions.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fpitfalls.md",8146,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Freferences\u002Fpitfalls.md",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fport-agent-prompt.md",5017,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Freferences\u002Fport-agent-prompt.md",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Freport-template.md",1336,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Freferences\u002Freport-template.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fcheck-version-claims.py","SCRIPT","脚本",3397,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002Fcheck-version-claims.py",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fcompare-refs.py",5041,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002Fcompare-refs.py",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fsplit-commits.sh",1847,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002Fsplit-commits.sh",{"path":100,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fsurface-diff.sh",4614,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002Fsurface-diff.sh",{"path":104,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fvalidate-docs.py",6828,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-release-docs\u002Fscripts\u002Fvalidate-docs.py",[108,142,174,208],{"skillNo":109,"name":110,"nameZh":111,"description":112,"descriptionZh":113,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":114,"categories":115,"keywords":122,"publishedAt":35},"01M6ACR42RYYQ0EZ0Y56K2ADK8","weekly-report-slack","Doris 周报转 Slack 公告","Generate an English Slack-ready post and save a temporary Markdown copy from an Apache Doris weekly community report MDX file. Use when the user invokes `$weekly-report-slack path\u002Fto\u002Freport.mdx` or asks to turn a Doris weekly report, especially `src\u002Fpages\u002Fcommunity-report\u002F_reports\u002FYYYY-MM-DD.mdx`, into the standard Slack announcement format with date range, summary paragraph, highlights, and report link.","从 Apache Doris 每周社区报告 MDX 文件生成英文 Slack 就绪帖子，并保存一份临时 Markdown 副本。当用户调用 $weekly-report-slack path\u002Fto\u002Freport.mdx 或要求将 Doris 周报（尤其是 `src\u002Fpages\u002Fcommunity-report\u002F_reports\u002FYYYY-MM-DD.mdx`）转换为标准 Slack 公告格式（包含日期范围、摘要段落、亮点和报告链接）时使用。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fweekly-report-slack\u002FSKILL.md",[116,119],{"categoryNo":117,"categoryName":118,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BREN0B06CC08183RHQ4ETG","即时通讯与消息处理",{"categoryNo":120,"categoryName":121,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8C3V0PWC1WBZWS0G0ANJY6M","对外沟通专员",[123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,32,139,10,140,141],"weekly report slack","report","Weekly Report","slack","weekly","markdown","when","path","mm","english","pages","community","reports","ready","src","save","file","announcement","generate",{"skillNo":143,"name":144,"nameZh":145,"description":146,"descriptionZh":147,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":148,"categories":149,"keywords":156,"publishedAt":35},"01M6ACQXPRPRPMJ66XMHTCTH3R","doris-img-gen","Doris 技术文章插图生成","Create Apache Doris article illustrations in the Doris hand-drawn whiteboard style, using a randomly selected Pip, Dori, or Flux mascot only when a task, guide, operator, diagnosis, or anthropomorphic narrative benefits from a character. Use when the user invokes $doris-img-gen or asks for a Doris technical article illustration, concept visual, infographic, architecture diagram, process diagram, or mascot-assisted explanatory graphic.","以 Doris 手绘白板风格创建 Apache Doris 文章插图，仅当任务、指南、操作者、诊断或拟人化叙事需要角色时，才随机选用 Pip、Dori 或 Flux 吉祥物。当用户调用 $doris-img-gen 或要求生成 Doris 技术文章插图、概念可视化、信息图、架构图、流程图或吉祥物辅助的讲解图时使用。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-img-gen\u002FSKILL.md",[150,153],{"categoryNo":151,"categoryName":152,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQ877MFW4HF3VA3ZAS1","视觉设计师",{"categoryNo":154,"categoryName":155,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C4J7FEEP1G3VGJQ48N8BVT","技术图表绘制",[157,158,32,159,160,161,162,163,164,165,166,167,10,168,169,170,171,129,172,173],"img","doris img gen","only","diagnosis","narrative","article illustrations","article","flux","infographic","architecture","operator","create","architecture diagram","diagram","benefits","hand","whiteboard",{"skillNo":175,"name":176,"nameZh":177,"description":178,"descriptionZh":179,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":180,"categories":181,"keywords":184,"publishedAt":35},"01M6ACQTR81TG0BRJX9V8GK714","doris-doc-optimize","Doris 文档重构与 SEO 优化","Restructure and SEO\u002FGEO-optimize an existing Apache Doris user documentation file (`.md` \u002F `.mdx`), primarily under `i18n\u002Fzh-CN\u002Fdocusaurus-plugin-content-docs-next\u002Fcurrent\u002F` or `docs-next\u002F`. The skill reorganizes the doc from a user-scenario perspective, applies tables and lists for parameters \u002F scenarios \u002F FAQs, fixes formatting (4-space indent, code-block language tags, blank lines, Chinese\u002FEnglish spacing, command-concatenation bugs), validates every external link with `curl` and every `\u002Fimages\u002F...` reference against `static\u002F`, and updates the frontmatter `description` + `keywords` per the bundled `.\u002Freferences\u002Fseo-geo.md` guide — all without changing the original meaning or dropping any technical content (commands, parameters, YAML, sample outputs, images are preserved verbatim). Use this skill whenever the user points at a single Doris doc file and asks to \"优化这篇文档\", \"重新组织这篇文档\", \"帮我优化文档结构\", \"对这篇文章进行 SEO 优化\", \"按 SEO\u002FGEO 优化这篇文档\", \"调整一下这篇文档的结构\", \"把这篇文档润色一下\", \"optimize this doc\", \"restructure this doc\", \"polish this doc\", or anything similar — even if the user only says \"make this doc better\" or \"这篇文档读起来不顺\" while pointing at a Doris doc path. Do NOT use this skill for translating between languages (use `doris-translate-zh-to-en` instead), writing a brand-new doc from scratch (use `doris-feature-card` or `doc-coauthoring`), or pure link-checking without restructure (use `check-md-links` instead).","对现有的 Apache Doris 用户文档文件（`.md` \u002F `.mdx`）进行重构与 SEO\u002FGEO 优化，主要位于 `i18n\u002Fzh-CN\u002Fdocusaurus-plugin-content-docs-next\u002Fcurrent\u002F` 或 `docs-next\u002F` 目录下。该技能从用户场景角度重新组织文档，对参数／场景／常见问题（FAQ）使用表格和列表，修复格式问题（4 空格缩进、代码块语言标签、空行、中英文空格、命令拼接错误），用 `curl` 校验每个外部链接，并对照 `static\u002F` 校验每个 `\u002Fimages\u002F...` 引用，同时按照内置的 `.\u002Freferences\u002Fseo-geo.md` 指南更新 frontmatter 中的 `description` + `keywords`——所有操作均不改变原意，也不遗漏任何技术内容（命令、参数、YAML、示例输出、图片均逐字保留）。当用户指向单个 Doris 文档文件并要求“优化这篇文档”“重新组织这篇文档”“帮我优化文档结构”“对这篇文章进行 SEO 优化”“按 SEO\u002FGEO 优化这篇文档”“调整一下这篇文档的结构”“把这篇文档润色一下”“optimize this doc”“restructure this doc”“polish this doc”或类似表述时使用本技能——即使用户只是指向某个 Doris 文档路径并说“make this doc better”或“这篇文档读起来不顺”也应使用。请勿将本技能用于语言间翻译（改用 `doris-translate-zh-to-en`）、从零撰写全新文档（改用 `doris-feature-card` 或 `doc-coauthoring`），或仅做链接检查而不重构（改用 `check-md-links`）。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fdoris-doc-optimize\u002FSKILL.md",[182,183],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},[185,186,187,32,188,189,30,190,191,192,193,194,195,196,197,198,199,200,201,202,139,203,10,204,205,206,207],"optimize","doc","doris doc optimize","links","writing","command","static","at","tables","card","scenario","i18n","do","chinese","guide","文章","brand","polish","content","code","plugin","documentation","translate",{"skillNo":209,"name":210,"nameZh":211,"description":212,"descriptionZh":213,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":214,"categories":215,"keywords":222,"publishedAt":35},"01M6ACQQ2B7GN6YEX6SQ6PZNR7","add-release","Doris 版本发布","Publish a new Apache Doris Core or Doris ecosystem release on the Doris website. Use when updating download data, bilingual release notes, the Doris Core release index, release navigation, or ecosystem release pages. Confirm the component and release metadata first because Core and ecosystem releases use different files and validation paths.","在 Doris 网站上发布新的 Apache Doris Core 或 Doris 生态版本。用于更新下载数据、双语发布说明、Doris Core 发布索引、发布导航或生态发布页面。需先确认组件和发布元数据，因为 Core 与生态版本使用不同的文件和校验路径。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-website\u002Fblob\u002Fmaster\u002Fdoc-tools\u002Fskills\u002Fadd-release\u002FSKILL.md",[216,219],{"categoryNo":217,"categoryName":218,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":220,"categoryName":221,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[223,224,31,225,226,129,227,228,133,229,230,231,232,32,233,234,235,10,236,237,238,239,240],"add","add release","publish","new","ecosystem","paths","files","releases","use","data","website","metadata","index","validation","core","release notes","notes","component"]