[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2F00E1MYJ1QT4QYSA2037":3,"skill-same:01M6D2F00E1MYJ1QT4QYSA2037":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6D2F00E1MYJ1QT4QYSA2037","l-lessons-wt-teams-orchestration",null,"Project lessons learned for running \u002Fx-wt-teams multi-agent epics in this repo. Read PROACTIVELY before planning or implementing any multi-wave epic (e.g. the Theme Batch \u002F Theme Finalize epics, or any \u002Fbig-plan epic destined for \u002Fx-wt-teams). Contains traps about merge timing, child-agent self-review, and which checks only the manager can run.","zudolab\u002Fzudo-doc","zudolab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266356510?v=4","01M6D2E9N9X9851YB24CEQF04H","01M6D2E9SFKZ0FWBMPB2625H28",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fl-lessons-wt-teams-orchestration\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"orchestration","teams","lessons","wt","l lessons wt teams orchestration","running","review","for","implementing","can","which","EPIC","multi","timing","theme","project","self","only","read","repo","multi-agent","plan","batch","planning","run","merge","2026-11-10 10:12:30",false,"---\nname: l-lessons-wt-teams-orchestration\ndescription: Project lessons learned for running \u002Fx-wt-teams multi-agent epics in this repo. Read PROACTIVELY before planning or implementing any multi-wave epic (e.g. the Theme Batch \u002F Theme Finalize epics, or any \u002Fbig-plan epic destined for \u002Fx-wt-teams). Contains traps about merge timing, child-agent self-review, and which checks only the manager can run.\n---\n\n## 2026-07-16 — Theme Core (#2812) multi-wave \u002Fx-wt-teams run\n\n### What we set out to do\n\nImplement a 10-sub-issue epic across 5 dependency-ordered waves via `\u002Fx-wt-teams -a -m`, each sub-issue built by a worktree child agent, merged into a base branch, then merged to `main`.\n\n### Approach we tried first\n\n- **Merged each child's branch as soon as its worktree looked done** — commits present, working tree clean, package-scoped unit tests green — without waiting for the child's own completion report.\n- **Told children to run `\u002Flight-review` (or `\u002Fcodex-review`) as their self-review step** and report back when done.\n\n### Why it went wrong (root cause)\n\n1. **\"Tests pass + tree clean\" is not \"the agent is done.\"** The child's mandated self-review had not finished. Merging on that signal pruned the worktree out from under a still-running review. Three sub-issues (#2822 engine, #2823 generator, #2825 dialog) were merged this way, and **every one's review then surfaced a real bug** — including a **P1 last-write-wins race hole in the runtime switch engine that was a defect in the ADR's own algorithm**. Each agent recovered only because it happened to open a follow-up branch; that was luck, not design.\n2. **Worktree child agents park on background reviews.** `\u002Flight-review` \u002F `\u002Fcodex-review` launch codex as a *background* task and then wait for a completion notification. Inside a subagent that notification is delivered to the **manager**, not the child, so the child stalls — **6 of 7 children this run** ended their turn parked (\"waiting for the Monitor \u002F codex review\"), with work often **left uncommitted**. The manager only discovered this by inspecting each worktree directly, which is what pushed it toward the premature-merge workaround above. The two traps are one causal chain: parking → manager works around it by merging-on-inspection → premature merge.\n\n### What worked instead\n\n- **Merge only on the child's explicit completion report** (review applied + committed). When a child parks, resume it (`SendMessage`) with: \"you will NOT receive a background-review notification — run the review in the FOREGROUND, apply findings, COMMIT, then report.\" After that instruction, children came back with reviews actually applied (e.g. #2821), not abandoned.\n- **The manager runs the heavy checks on the merged base**, because children structurally cannot: full `pnpm build`, e2e, `pnpm b4push`, and anything that holds a port (dev servers) freeze the machine or blow token budgets. Every integration \u002F zdtp \u002F CI bug this run was **invisible to package-scoped unit tests** and surfaced only in the manager's full-build + e2e + deep-review passes on the merged base (missing barrel export → shipped `routes-src` broke; a required payload field → SSR `registry is not iterable`; `configurePanel` not pushing zdtp overrides to `:root`; a flaky `npm pack --json` parse; a cold-CI timeout; `_temp-resource` tripping the compatibility contract).\n\n### Watch for next time\n\n- If a child agent's last message is \"waiting for the review \u002F Monitor \u002F codex to finish,\" it has **parked** — its self-review will never complete on its own. Resume it and force foreground review + commit-before-report. Better: bake \"run self-review in the foreground; do NOT start a background review and await a notification — you won't get one\" into the child prompt from the start.\n- If you're about to `git merge` a child branch and remove its worktree, first confirm the child sent a **completion report**, not just that tests are green and the tree is clean. A clean tree with green package tests is the state a parked-mid-review agent is also in.\n- Package-scoped unit tests passing tells you **nothing** about cross-package integration, SSR, or CI-job behavior. Before merging a wave to the parent, the manager must run the **full site build** and the **e2e \u002F drift \u002F b4push gates** on the merged base — children are barred from these (ports \u002F freeze).\n- A required field added to a shared payload type (`RouteContextPayload` etc.) mid-epic is a breaking change for hosts that construct the payload themselves — normalize `?? null` and keep the field optional, or the upgrade path throws at SSR.\n- CI runs the *full* job command set, not the single-package suite you ran locally. Reproduce a red check by running the exact CI step commands (`pnpm test:packages`, the lint-gate commands), not `pnpm --filter \u003Cone-package> test`.\n- `_temp-resource\u002F` planning scratch is committed but \"tooling ignores it\" — it will trip content lint gates (compatibility contract, etc.) on every epic that carries it until Finalize deletes it. Exclude the prefix from the offending check rather than deleting the scratch.\n\n### Would-skip-if-redoing\n\n- Skip merging-on-green-tests. It saved no real time — every premature merge cost a follow-up branch + re-merge + re-verify, strictly more work than waiting for the report would have been.\n- Skip re-arming shell monitors with `status=` as a loop variable in zsh — `status` is read-only there and silently kills the monitor. Use a non-reserved name.\n","## 2026-07-16 — Theme Core (#2812) multi-wave \u002Fx-wt-teams run\n\n### What we set out to do\n\nImplement a 10-sub-issue epic across 5 dependency-ordered waves via `\u002Fx-wt-teams -a -m`, each sub-issue built by a worktree child agent, merged into a base branch, then merged to `main`.\n\n### Approach we tried first\n\n- **Merged each child's branch as soon as its worktree looked done** — commits present, working tree clean, package-scoped unit tests green — without waiting for the child's own completion report.\n- **Told children to run `\u002Flight-review` (or `\u002Fcodex-review`) as their self-review step** and report back when done.\n\n### Why it went wrong (root cause)\n\n1. **\"Tests pass + tree clean\" is not \"the agent is done.\"** The child's mandated self-review had not finished. Merging on that signal pruned the worktree out from under a still-running review. Three sub-issues (#2822 engine, #2823 generator, #2825 dialog) were merged this way, and **every one's review then surfaced a real bug** — including a **P1 last-write-wins race hole in the runtime switch engine that was a defect in the ADR's own algorithm**. Each agent recovered only because it happened to open a follow-up branch; that was luck, not design.\n2. **Worktree child agents park on background reviews.** `\u002Flight-review` \u002F `\u002Fcodex-review` launch codex as a *background* task and then wait for a completion notification. Inside a subagent that notification is delivered to the **manager**, not the child, so the child stalls — **6 of 7 children this run** ended their turn parked (\"waiting for the Monitor \u002F codex review\"), with work often **left uncommitted**. The manager only discovered this by inspecting each worktree directly, which is what pushed it toward the premature-merge workaround above. The two traps are one causal chain: parking → manager works around it by merging-on-inspection → premature merge.\n\n### What worked instead\n\n- **Merge only on the child's explicit completion report** (review applied + committed). When a child parks, resume it (`SendMessage`) with: \"you will NOT receive a background-review notification — run the review in the FOREGROUND, apply findings, COMMIT, then report.\" After that instruction, children came back with reviews actually applied (e.g. #2821), not abandoned.\n- **The manager runs the heavy checks on the merged base**, because children structurally cannot: full `pnpm build`, e2e, `pnpm b4push`, and anything that holds a port (dev servers) freeze the machine or blow token budgets. Every integration \u002F zdtp \u002F CI bug this run was **invisible to package-scoped unit tests** and surfaced only in the manager's full-build + e2e + deep-review passes on the merged base (missing barrel export → shipped `routes-src` broke; a required payload field → SSR `registry is not iterable`; `configurePanel` not pushing zdtp overrides to `:root`; a flaky `npm pack --json` parse; a cold-CI timeout; `_temp-resource` tripping the compatibility contract).\n\n### Watch for next time\n\n- If a child agent's last message is \"waiting for the review \u002F Monitor \u002F codex to finish,\" it has **parked** — its self-review will never complete on its own. Resume it and force foreground review + commit-before-report. Better: bake \"run self-review in the foreground; do NOT start a background review and await a notification — you won't get one\" into the child prompt from the start.\n- If you're about to `git merge` a child branch and remove its worktree, first confirm the child sent a **completion report**, not just that tests are green and the tree is clean. A clean tree with green package tests is the state a parked-mid-review agent is also in.\n- Package-scoped unit tests passing tells you **nothing** about cross-package integration, SSR, or CI-job behavior. Before merging a wave to the parent, the manager must run the **full site build** and the **e2e \u002F drift \u002F b4push gates** on the merged base — children are barred from these (ports \u002F freeze).\n- A required field added to a shared payload type (`RouteContextPayload` etc.) mid-epic is a breaking change for hosts that construct the payload themselves — normalize `?? null` and keep the field optional, or the upgrade path throws at SSR.\n- CI runs the *full* job command set, not the single-package suite you ran locally. Reproduce a red check by running the exact CI step commands (`pnpm test:packages`, the lint-gate commands), not `pnpm --filter \u003Cone-package> test`.\n- `_temp-resource\u002F` planning scratch is committed but \"tooling ignores it\" — it will trip content lint gates (compatibility contract, etc.) on every epic that carries it until Finalize deletes it. Exclude the prefix from the offending check rather than deleting the scratch.\n\n### Would-skip-if-redoing\n\n- Skip merging-on-green-tests. It saved no real time — every premature merge cost a follow-up branch + re-merge + re-verify, strictly more work than waiting for the report would have been.\n- Skip re-arming shell monitors with `status=` as a loop variable in zsh — `status` is read-only there and silently kills the monitor. Use a non-reserved name.\n",{"name":5,"description":7},"main","81e0e97f6a11185202e63a647a55df3e0cffc50a",".claude\u002Fskills\u002Fl-lessons-wt-teams-orchestration",0,"https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc","https:\u002F\u002Fgithub.com\u002Fzudolab","2026-11-14 11:23:40",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add zudolab\u002Fzudo-doc --skill l-lessons-wt-teams-orchestration",{"tool":62,"command":63},"bunx","bunx skills add zudolab\u002Fzudo-doc --skill l-lessons-wt-teams-orchestration",{"tool":65,"command":66},"pnpm","pnpm dlx skills add zudolab\u002Fzudo-doc --skill l-lessons-wt-teams-orchestration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fl-lessons-wt-teams-orchestration\u002FSKILL.md",true,[],[71,93,121,137,165,177],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":44},"01M6D2GZKKY2E651Q297NEZEGV","zudo-doc-writing","Doc-writing and navigation-structure guide for this zudo-doc project. Consult BEFORE creating pages, adding categories, designing header navigation, or writing\u002Fediting mdx content under src\u002Fcontent\u002F. Covers: reading the AUTHORING.md editorial policy and its four placement questions, when to run a structure review, plan-the-nav-tree-first workflow, tree vs note-tray categories, the recommended 3-level hierarchy (header → sidebar → nested), filesystem navigation as the default, linked versus heading-only category rows, category index pages, sidebar_position discipline, frontmatter schema, no-h1 rule, relative .mdx links, and admonition syntax. Triggered by 'write docs', 'add a page', 'create a page', 'add category', 'structure navigation', 'nav design', 'zudo-doc-writing'.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkillsWriting\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-writing\u002FSKILL.md",[],[78,79,80,33,81,82,35,83,84,85,86,39,87,88,89,24,90,91,42,92],"writing","zudo doc writing","doc","default","design","workflow","consult","create","structure","discipline","categories","when","hierarchy","filesystem navigation","src",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":44},"01M6D2GWFZ81SCB168Z4P4NYYN","zudo-doc-version-bump","Bump package version, update changelog and versioned docs snapshot (if those features are enabled), commit, tag, and create a GitHub release. Use when: (1) User says 'version bump', 'bump version', 'release', or 'zudo-doc-version-bump', (2) User wants to create a new release of this project.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-version-bump\u002FSKILL.md",[],[100,101,102,103,80,33,104,105,106,107,108,85,109,110,111,112,113,114,115,116,117,118,89,119,120],"bump","zudo doc version bump","version","version bump","update changelog","package","use","patch","commit","changelog","github","update","release","snapshot","bump version","docs","user","proposal","new","features","github release",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":44},"01M6D2GRJ1MKMMEACKDFSAKF20","zudo-doc-translate","Translate zudo-doc documentation between the locales configured in this project, with Japanese conventions applied only to the `ja` locale.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-translate\u002FSKILL.md",[],[128,129,80,130,131,132,33,35,133,115,134,135,136],"translate","zudo doc translate","documentation","i18n","japanese","conventions","translate docs","with","locale",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":44},"01M6D2GMXQGVKJZTA35Q9AZN7V","zudo-doc-design-system","Project-specific CSS and component rules for zudo-doc. Must be consulted before writing or editing CSS, zudo-wind utilities, color tokens, or component markup in this project. Covers: component-first strategy, design token system, three-tier color architecture, and palette index convention. Triggered by 'design system', 'zudo-doc-design-system', 'zudo-doc-css-wisdom' (old name).","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-design-system\u002FSKILL.md",[],[144,145,82,80,146,147,148,33,149,150,151,78,152,153,154,155,156,157,158,159,160,161,162,163,164,25],"zudo doc design system","system","design system","css","three","editing","tokens","strategy","wisdom","Rules","architecture","component","first","token","design-system","index","design token","wind","palette","Utilities","color",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":44},"01M6D2GJYJQRZTHVY1CN884E96","localized-shell","Fixture skill for localized generated resource routes.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fe2e\u002Ffixtures\u002Fi18n\u002Fsrc\u002Fcontent\u002Fresources\u002F.claude\u002Fskills\u002Flocalized-shell\u002FSKILL.md",[],[172,173,174,175,176,25],"localized shell","shell","fixture","generated","fixture skill",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":44},"01M6D2GF8BK70Y7TE3B7NCX87H","zudo-doc-writing-rules","Doc-writing rules for zudo-doc content (mdx files under src\u002Fcontent\u002Fdocs\u002F and src\u002Fcontent\u002Fdocs-ja\u002F). Consult before writing or editing doc content. Covers: no h1 in content, sidebar_position is mandatory, kebab-case file names, bilingual rule, linking conventions, and admonition syntax. Triggered by 'writing rules', 'zudo-doc-writing-rules', 'doc rule', 'mdx rule', 'write a doc', 'create a page'.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fzudo-doc-writing-rules\u002FSKILL.md",[],[184,80,78,153,79,185,85,186,149,92,187,188,133,189,190,84,25,191,192,193],"zudo doc writing rules","writing rules","page","write","syntax","files","file","true","case","linking"]