[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F93P5ZJ7YZY6W71PBNEB3P":3,"skill-same:01M7F93P5ZJ7YZY6W71PBNEB3P":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7F93P5ZJ7YZY6W71PBNEB3P","template-update",null,"Update an initialised workbench from its template: fetch the template, merge its tooling (plugins, scripts, mise tasks) and keep this workbench's own docs, memory and project files. Runs the tested engine through mise, makes one commit and pushes nothing. Use when the user says \"update from the template\", \"pull template updates\", \"refresh the workbench from the template\" or \"get the latest template\".","szymonrychu\u002Fworkbench","szymonrychu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2943524?v=4","01M7F8VBGRDFJ2PSH14RM80E4G","Szymon Richert","01M7F8VBHCQTC2RMKXJ93RHMB3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Ftemplate-update\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: template-update\ndescription: >\n  Update an initialised workbench from its template: fetch the template, merge its tooling\n  (plugins, scripts, mise tasks) and keep this workbench's own docs, memory and project\n  files. Runs the tested engine through mise, makes one commit and pushes nothing. Use\n  when the user says \"update from the template\", \"pull template updates\", \"refresh the\n  workbench from the template\" or \"get the latest template\".\n---\n\n# template-update\n\nThe engine is tested python at the workbench root, outside the plugin. Call it only through\nthe mise task below, from the workbench root. Never call a script path. Never push.\n\n## Run\n\nAsk the user nothing on the normal path. Run:\n\n    mise run init:update\n\nAdd `-- --url \u003Curl>` or `-- --branch \u003Cbranch>` only when the user named a template URL or\nbranch (for example `mise run init:update -- --url \u003Curl> --branch next`).\n\nBefore running with a `--url` other than the default template URL (the one the engine\nuses with no `--url`), show the user that URL and ask them to confirm it: the update runs that template's refresh and lint scripts on this machine before\nit commits. Run only on confirmation.\n\nEvery run prints `template: \u003Curl> \u003Cbranch> \u003Ccommit>` before it merges; that is the source\nactually used.\n\n## Report\n\nOn success, say in a few lines:\n\n- the one commit the engine made: the subject from its `committed \u003Csubject>` line, and the\n  commit sha from `git rev-parse HEAD` (the engine does not print it);\n- the template sha it merged: the 12-character sha in that subject, or the full sha in the\n  `Template-Commit:` trailer (`git log -1 --format=%B`);\n- every `kept project side:` file the engine printed (instance-owned files whose template\n  change was dropped);\n- that nothing was pushed.\n\n## Refusals\n\nThe engine refuses before changing anything, or aborts cleanly. Relay it, do not work around it.\n\n- Uninitialised workbench: say to run `init` first.\n- Dirty tree: list the paths and stop. Do not stash or commit them for the user.\n- Conflicts outside the known paths: list them and name the manual route: merge\n  `template\u002F\u003Cbranch>` by hand, resolve, then `mise run init:refresh`.\n- Lint failure: show the tail of the output and stop.\n- Already up to date: say so; there is no commit.\n- `--url` differs from the existing `template` remote: show both URLs and the engine's\n  `git remote set-url template \u003Curl>` line; changing the remote is the user's call.\n- A `--branch` or `--base` value starting with `-`: relay the refusal.\n- Local ignored files the template would overwrite (for example a note in `docs\u002Fresearch`):\n  list them and ask the user to move them aside.\n\n## Unrelated history\n\nWhen the workbench shares no history with the template, the engine prints a `candidate base`\nand the rerun line. Show the candidate to the user and ask them to confirm it. Besides the\nnon-default `--url` confirmation, this is the only other question this skill asks. On confirmation, rerun:\n\n    mise run init:update -- --base \u003Csha>\n\nKeep any `--url` or `--branch` from the first run. If there is no candidate, ask the user for\nthe template commit the project was copied from.\n","# template-update\n\nThe engine is tested python at the workbench root, outside the plugin. Call it only through\nthe mise task below, from the workbench root. Never call a script path. Never push.\n\n## Run\n\nAsk the user nothing on the normal path. Run:\n\n    mise run init:update\n\nAdd `-- --url \u003Curl>` or `-- --branch \u003Cbranch>` only when the user named a template URL or\nbranch (for example `mise run init:update -- --url \u003Curl> --branch next`).\n\nBefore running with a `--url` other than the default template URL (the one the engine\nuses with no `--url`), show the user that URL and ask them to confirm it: the update runs that template's refresh and lint scripts on this machine before\nit commits. Run only on confirmation.\n\nEvery run prints `template: \u003Curl> \u003Cbranch> \u003Ccommit>` before it merges; that is the source\nactually used.\n\n## Report\n\nOn success, say in a few lines:\n\n- the one commit the engine made: the subject from its `committed \u003Csubject>` line, and the\n  commit sha from `git rev-parse HEAD` (the engine does not print it);\n- the template sha it merged: the 12-character sha in that subject, or the full sha in the\n  `Template-Commit:` trailer (`git log -1 --format=%B`);\n- every `kept project side:` file the engine printed (instance-owned files whose template\n  change was dropped);\n- that nothing was pushed.\n\n## Refusals\n\nThe engine refuses before changing anything, or aborts cleanly. Relay it, do not work around it.\n\n- Uninitialised workbench: say to run `init` first.\n- Dirty tree: list the paths and stop. Do not stash or commit them for the user.\n- Conflicts outside the known paths: list them and name the manual route: merge\n  `template\u002F\u003Cbranch>` by hand, resolve, then `mise run init:refresh`.\n- Lint failure: show the tail of the output and stop.\n- Already up to date: say so; there is no commit.\n- `--url` differs from the existing `template` remote: show both URLs and the engine's\n  `git remote set-url template \u003Curl>` line; changing the remote is the user's call.\n- A `--branch` or `--base` value starting with `-`: relay the refusal.\n- Local ignored files the template would overwrite (for example a note in `docs\u002Fresearch`):\n  list them and ask the user to move them aside.\n\n## Unrelated history\n\nWhen the workbench shares no history with the template, the engine prints a `candidate base`\nand the rerun line. Show the candidate to the user and ask them to confirm it. Besides the\nnon-default `--url` confirmation, this is the only other question this skill asks. On confirmation, rerun:\n\n    mise run init:update -- --base \u003Csha>\n\nKeep any `--url` or `--branch` from the first run. If there is no candidate, ask the user for\nthe template commit the project was copied from.\n",{"name":5,"description":7},"main","ce8273d3492a5008dd408c4823db370b23e18863","plugins\u002Fworkbench\u002Fskills\u002Ftemplate-update","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench","https:\u002F\u002Fgithub.com\u002Fszymonrychu","www.szymonrichert.pl","2026-10-26 04:36:12",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add szymonrychu\u002Fworkbench --skill template-update",{"tool":37,"command":38},"bunx","bunx skills add szymonrychu\u002Fworkbench --skill template-update",{"tool":40,"command":41},"pnpm","pnpm dlx skills add szymonrychu\u002Fworkbench --skill template-update","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Ftemplate-update\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"tests\u002Ftest_template_update_skill.py","SCRIPT","脚本",2662,"https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Ftemplate-update\u002Ftests\u002Ftest_template_update_skill.py",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7F949PAG534XSY6BXH4GKY0","claudy","d claudy","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Fgolden\u002Fskills\u002Fclaudy\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7F947QH8VQ5WGVMFWFS57M0","gamma","Literal line one.\nLiteral line two.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Ffixtures\u002Ftree\u002Fplugins\u002Fextra\u002Fskills\u002Fgamma\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7F944VTWR1AAACZGTNWYJYP","beta","Quoted: description with a colon.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Ffixtures\u002Ftree\u002Fplugins\u002Fcore\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7F941QWM4KQTX9KA6JQKF2G","alpha","Folded description that spans two lines and ends here.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Ffixtures\u002Ftree\u002Fplugins\u002Fcore\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7F93XXR4JY2S2KXD70JY4GM","worktree-merge","Rebases one subagent's worktree onto the base branch, optionally verifies the rebased tree, fast-forwards it into the worktree that has the base checked out (an epic integration tree or the main checkout), verifies every commit landed, and only then removes the worktree and its branch. Keeps the worktree intact on any conflict, dirty tree, or failed check. Use after a subagent returns work created with worktree-create.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fworktree-merge\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7F93TBQKKF3KM4VDVQ8PVHR","worktree-create","Creates one isolated git worktree for one subagent, at \u003Cworkbench>\u002F.claude\u002Fworktrees\u002F\u003Cname>, branched from main with the newest origin\u002Fmain and local main merged in. Refuses a name already in use so two agents can never share a tree. Use once per implementation or review subagent before dispatching it; pair with worktree-merge to land the work and clean up.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fworktree-create\u002FSKILL.md",[],[]]