[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C46D6AE5JDVJTFTXH9RZ5Q":3,"skill-same:01M6C46D6AE5JDVJTFTXH9RZ5Q":77},{"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":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":17,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":13,"updatedAt":63,"install":64,"resources":76},"01M6C46D6AE5JDVJTFTXH9RZ5Q","worktree","Git 工作树管理","Create, reuse, and clean up git worktrees under $VIBE_HOME\u002Fworktrees. Use when the user wants to work in an isolated git worktree, create a worktree for a task, or list\u002Fremove existing worktrees.","在 $VIBE_HOME\u002Fworktrees 下创建、复用和清理 git worktrees。当用户想要在隔离的 git worktree 中工作、为某个任务创建 worktree，或列出\u002F删除现有 worktrees 时使用。","mistralai\u002Fmistral-vibe","mistralai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F132372032?v=4","01M6C456ET86MBBTS4RMX0NDRS","Mistral","01M6C456K44X5W8TJX4T023KRV",5390,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fworktree\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"up","home","when","Existing","for","true","reuse","task","clean","worktrees","create","use","remove","git worktrees","user","list","work","git worktree","git","2026-11-10 10:12:30",false,"---\nname: worktree\ndescription: Create, reuse, and clean up git worktrees under $VIBE_HOME\u002Fworktrees. Use when the user wants to work in an isolated git worktree, create a worktree for a task, or list\u002Fremove existing worktrees.\nuser-invocable: true\n---\n\n# Worktree Management\n\nGit worktrees live under `$VIBE_HOME\u002Fworktrees\u002F` (default `~\u002F.vibe\u002Fworktrees\u002F`),\neach in a per-repository bucket named `\u003Crepo_root.name>-\u003Csha256(common_git_dir)[:12]>`\nso worktrees from different repos never collide.\n\n```\n$VIBE_HOME\u002Fworktrees\u002F\n  .claims\u002F\u003Cbucket>\u002F\u003Cname>\u002F          # claim records and holder markers\n    record.json                     # metadata: branch, base_commit, branch_created, claimed_at\n    recovery.json                   # snapshot metadata for a retained chat\n    holders\u002F                        # one empty file per live session\n  \u003Cbucket>\u002F\u003Cname>\u002F                  # the actual git worktree checkout\n```\n\n## Creating a worktree\n\n1. Compute the bucket from the repo root and common git dir.\n2. Validate the name (single portable path segment; no `\u003C>:\"\u002F\\|?*`, no\n   trailing space or dot, no Windows reserved names like `CON`\u002F`PRN`\u002F`NUL`\u002F\n   `COM1`-`COM9`\u002F`LPT1`-`LPT9`, not `.` or `..`).\n3. Reserve the directory with `mkdir` (atomic claim — fails if taken).\n4. For a new branch, start from the remote's default branch (fetch first,\n   best-effort). For an existing branch, check it out into the worktree.\n5. `git worktree add -b \u003Cname> \u003Cpath> \u003Cstart_point>` (or without `-b` for reuse).\n6. Record the worktree's own HEAD as `base_commit` — this is the baseline for\n   cleanup, not the invoking checkout's HEAD.\n7. Write `record.json` under `.claims\u002F\u003Cbucket>\u002F\u003Cname>\u002F`.\n\nWhen no name is given, derive one by slugifying the prompt: NFKD-normalize,\nlowercase, replace non-`[a-z0-9]+` with `-`, take the first 6 words, trim to\n40 chars, drop trailing stop words. Branch gets a `vibe\u002F` prefix. Append\n`-2`, `-3`, etc. on collision (up to 100). Fall back to a random slug if empty.\n\nReuse an existing worktree only after validating: no symlinks in the path,\n`.git` is a file (not a directory), same common git dir, matching branch.\n\n## Holding\n\nA session using a worktree must register as a holder to prevent the\nbackground cleanup from removing it. Holder files are locked for the lifetime\nof the session; an unlocked marker left by a crashed process is stale and may\nbe removed. A temporary holder protects a worktree while a session attaches.\n\n## Cleaning up\n\nBefore removal, inspect the worktree state:\n- Uncommitted changes or untracked files: `git -c core.fsmonitor= status --porcelain --untracked-files=all`\n- New commits since start: `git rev-list --count \u003Cbase_commit>..HEAD`\n\nThe worktree is clean only if all three are absent. If dirty, confirm with\nthe user before proceeding — removal discards uncommitted work, untracked\nfiles, and new commits.\n\nIf the branch pre-existed (not created by this session), confirm separately\nbefore deleting it. Re-check holders — if another session still holds the\nworktree, keep it. `cd` out of the worktree before removing (Windows refuses\nto delete a process's cwd).\n\nRemove: `git worktree remove --force \u003Cpath>`, then `git branch -D \u003Cname>` if\nthe branch was created this session or the user confirmed. Delete the claim\nrecord and `rmdir` empty directories (never `rmtree` — a surviving holder\nmust not be lost).\n\n## Snapshotting\n\nBefore retention removes an inactive worktree, save its state to a ref: stage\nall files (including untracked, excluding ignored) and commit to\n`refs\u002Fvibe\u002Freaped\u002F\u003Cname>`. Use a separate index file so the worktree's own\nindex is untouched. Keep `recovery.json` after removing the active claim so\nreopening a chat can recreate the checkout automatically.\n\n## Retention\n\nKeep the newest configured number of managed worktrees across repositories.\nSkip active worktrees. Snapshot each inactive excess worktree before removal;\nif snapshotting fails, keep it. Reservations without a `base_commit` are\ndiscarded only if empty and no creation process still holds their marker.\n\nCreation, attachment, and retention transitions use a cross-process lock so a\nworktree cannot be removed while another process is claiming or attaching it.\n\n## Gotchas\n\n- Disable `core.fsmonitor` when reading someone else's working tree:\n  `git -c core.fsmonitor= status`.\n- New branches start from the remote default branch, not the current\n  checkout's HEAD.\n- Symlink paths are rejected — not a stable worktree path.\n- `git worktree add` cannot distinguish a taken path from an invalid ref\n  (both exit 128), so `mkdir` reserves the path first.\n- Worktrees are implicitly trusted for the session only, not persisted.\n","# Worktree Management\n\nGit worktrees live under `$VIBE_HOME\u002Fworktrees\u002F` (default `~\u002F.vibe\u002Fworktrees\u002F`),\neach in a per-repository bucket named `\u003Crepo_root.name>-\u003Csha256(common_git_dir)[:12]>`\nso worktrees from different repos never collide.\n\n```\n$VIBE_HOME\u002Fworktrees\u002F\n  .claims\u002F\u003Cbucket>\u002F\u003Cname>\u002F          # claim records and holder markers\n    record.json                     # metadata: branch, base_commit, branch_created, claimed_at\n    recovery.json                   # snapshot metadata for a retained chat\n    holders\u002F                        # one empty file per live session\n  \u003Cbucket>\u002F\u003Cname>\u002F                  # the actual git worktree checkout\n```\n\n## Creating a worktree\n\n1. Compute the bucket from the repo root and common git dir.\n2. Validate the name (single portable path segment; no `\u003C>:\"\u002F\\|?*`, no\n   trailing space or dot, no Windows reserved names like `CON`\u002F`PRN`\u002F`NUL`\u002F\n   `COM1`-`COM9`\u002F`LPT1`-`LPT9`, not `.` or `..`).\n3. Reserve the directory with `mkdir` (atomic claim — fails if taken).\n4. For a new branch, start from the remote's default branch (fetch first,\n   best-effort). For an existing branch, check it out into the worktree.\n5. `git worktree add -b \u003Cname> \u003Cpath> \u003Cstart_point>` (or without `-b` for reuse).\n6. Record the worktree's own HEAD as `base_commit` — this is the baseline for\n   cleanup, not the invoking checkout's HEAD.\n7. Write `record.json` under `.claims\u002F\u003Cbucket>\u002F\u003Cname>\u002F`.\n\nWhen no name is given, derive one by slugifying the prompt: NFKD-normalize,\nlowercase, replace non-`[a-z0-9]+` with `-`, take the first 6 words, trim to\n40 chars, drop trailing stop words. Branch gets a `vibe\u002F` prefix. Append\n`-2`, `-3`, etc. on collision (up to 100). Fall back to a random slug if empty.\n\nReuse an existing worktree only after validating: no symlinks in the path,\n`.git` is a file (not a directory), same common git dir, matching branch.\n\n## Holding\n\nA session using a worktree must register as a holder to prevent the\nbackground cleanup from removing it. Holder files are locked for the lifetime\nof the session; an unlocked marker left by a crashed process is stale and may\nbe removed. A temporary holder protects a worktree while a session attaches.\n\n## Cleaning up\n\nBefore removal, inspect the worktree state:\n- Uncommitted changes or untracked files: `git -c core.fsmonitor= status --porcelain --untracked-files=all`\n- New commits since start: `git rev-list --count \u003Cbase_commit>..HEAD`\n\nThe worktree is clean only if all three are absent. If dirty, confirm with\nthe user before proceeding — removal discards uncommitted work, untracked\nfiles, and new commits.\n\nIf the branch pre-existed (not created by this session), confirm separately\nbefore deleting it. Re-check holders — if another session still holds the\nworktree, keep it. `cd` out of the worktree before removing (Windows refuses\nto delete a process's cwd).\n\nRemove: `git worktree remove --force \u003Cpath>`, then `git branch -D \u003Cname>` if\nthe branch was created this session or the user confirmed. Delete the claim\nrecord and `rmdir` empty directories (never `rmtree` — a surviving holder\nmust not be lost).\n\n## Snapshotting\n\nBefore retention removes an inactive worktree, save its state to a ref: stage\nall files (including untracked, excluding ignored) and commit to\n`refs\u002Fvibe\u002Freaped\u002F\u003Cname>`. Use a separate index file so the worktree's own\nindex is untouched. Keep `recovery.json` after removing the active claim so\nreopening a chat can recreate the checkout automatically.\n\n## Retention\n\nKeep the newest configured number of managed worktrees across repositories.\nSkip active worktrees. Snapshot each inactive excess worktree before removal;\nif snapshotting fails, keep it. Reservations without a `base_commit` are\ndiscarded only if empty and no creation process still holds their marker.\n\nCreation, attachment, and retention transitions use a cross-process lock so a\nworktree cannot be removed while another process is claiming or attaching it.\n\n## Gotchas\n\n- Disable `core.fsmonitor` when reading someone else's working tree:\n  `git -c core.fsmonitor= status`.\n- New branches start from the remote default branch, not the current\n  checkout's HEAD.\n- Symlink paths are rejected — not a stable worktree path.\n- `git worktree add` cannot distinguish a taken path from an invalid ref\n  (both exit 128), so `mkdir` reserves the path first.\n- Worktrees are implicitly trusted for the session only, not persisted.\n",{"name":5,"description":7,"user-invocable":55},true,"main","338ad4bf0f73c4dd879d667cf7ab011555ae1751","vibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fworktree",796,"https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe","https:\u002F\u002Fgithub.com\u002Fmistralai","mistral.ai","2026-11-11 00:56:57",{"source":9,"skillName":5,"commands":65,"prompt":75,"zipAvailable":55},[66,69,72],{"tool":67,"command":68},"npx","npx skills add mistralai\u002Fmistral-vibe --skill worktree",{"tool":70,"command":71},"bunx","bunx skills add mistralai\u002Fmistral-vibe --skill worktree",{"tool":73,"command":74},"pnpm","pnpm dlx skills add mistralai\u002Fmistral-vibe --skill worktree","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fworktree\u002FSKILL.md",[],[78,102,134,159,182,194],{"skillNo":79,"name":80,"nameZh":17,"description":81,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":50},"01M71709JBNSMH1MJ71NRGRBFM","import","Import the user's setup from other coding CLIs (Claude Code, Codex, OpenCode) into Vibe — instructions, skills, subagents, commands, hooks, MCP servers, permissions, and plugins. Load when the user wants to switch to Vibe, import or reuse another CLI's configuration, or asks whether a file from another CLI works in Vibe.","https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fimport\u002FSKILL.md",[],[80,85,86,37,87,88,33,89,90,91,92,93,94,95,96,97,98,99,100,101],"switch","hooks","MCP","load","file","code","permissions","codex","cli","opencode","instructions","commands","plugins","servers","mcp servers","configuration","setup",{"skillNo":103,"name":104,"nameZh":105,"description":106,"descriptionZh":107,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":116,"publishedAt":50},"01M6C46A11K3H7D6F7ATSBRYKJ","vibe","Vibe CLI 权威参考","Authoritative reference for Mistral Vibe — the CLI agent you (the model) are running inside.\n\nLOAD when the user:\n- asks anything about Vibe itself, even by indirect name (\"this CLI\", \"this tool\", \"you\");\n- wants to change, inspect, or reset their setup;\n- asks why the agent did or did not act;\n- asks how to make the CLI do X, where X lives, or what a flag\u002Fcommand\u002Fsetting does;\n- asks any meta question about your own behavior;\n- is unsure whether a command, flag, env var, or file is in scope — this skill is the source of truth.\n\nSCOPE: config under `~\u002F.vibe\u002F` and project-local `.vibe\u002F`; `VIBE_*` and `LOG_*` env vars; models and providers; agents and subagents; skills; tools and their permission model; every slash command and CLI flag; hooks; MCP servers; connectors; plugins; trusted folders; `@`-file mentions; logs; themes; voice.","Mistral Vibe 的权威参考——你（模型）正运行于其中的 CLI agent。\n\n在以下情况加载本技能：\n- 用户询问任何关于 Vibe 本身的问题，即使是间接称呼（“这个 CLI”“这个工具”“你”）；\n- 想要更改、检查或重置其设置；\n- 询问 agent 为何采取或未采取某行动；\n- 询问如何让 CLI 做 X、X 位于何处，或某个 flag\u002Fcommand\u002Fsetting 的作用；\n- 询问关于你自身行为的任何元问题；\n- 不确定某个命令、flag、环境变量或文件是否在范围内——本技能即为权威来源。\n\n范围：`~\u002F.vibe\u002F` 下的配置及项目本地的 `.vibe\u002F`；`VIBE_*` 和 `LOG_*` 环境变量；模型与提供者；agents 与 subagents；skills；工具及其权限模型；所有斜杠命令和 CLI flag；hooks；MCP servers；connectors；plugins；受信任文件夹；`@` 文件引用；日志；主题；语音。","https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fvibe\u002FSKILL.md",[110,113],{"categoryNo":111,"categoryName":112,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":114,"categoryName":115,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[104,117,118,87,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,35],"Meta","question","logs","change","command","how","why","config","subagents","project","inspect","local","themes","you","log","act","do",{"skillNo":135,"name":136,"nameZh":137,"description":138,"descriptionZh":139,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":146,"publishedAt":50},"01M6C467E56WQ8PXEZT1Q0VP23","skill-creator","Vibe 技能创建与管理","Load this skill before creating, updating, or deleting a Vibe skill, or whenever you plan to add or modify SKILL.md files under a skills directory. It explains Vibe's SKILL.md frontmatter, discovery order, support files, and the permission flow.","在创建、更新或删除 Vibe 技能之前，或当你计划添加或修改 skills 目录下的 SKILL.md 文件时，加载本技能。它讲解 Vibe 的 SKILL.md frontmatter、发现顺序、支持文件以及权限流程。","https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fskill-creator\u002FSKILL.md",[142,145],{"categoryNo":143,"categoryName":144,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":111,"categoryName":112,"taxonomyType":23,"taxonomyTypeDesc":24},[147,148,149,150,151,152,153,154,155,88,156,130,157,158,104],"skill creator","creator","flow","plan","support","discovery","directory","permission","files","frontmatter","it","add",{"skillNo":160,"name":161,"nameZh":162,"description":163,"descriptionZh":164,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":165,"categories":166,"keywords":169,"publishedAt":50},"01M6C464DMPVA3RTXG0RGGZB3T","create-plugin","Vibe 插件创建","Create a Vibe plugin package — the Agent Plugins 1.0 format with optional Vibe extensions for skills, MCP servers, hooks, knowledge, agents, libraries, and connectors. Use when the user wants to create, scaffold, or author a plugin for Mistral Vibe.","创建 Vibe 插件包——采用 Agent Plugins 1.0 格式，并可选地包含针对 skills、MCP servers、hooks、knowledge、agents、libraries 和 connectors 的 Vibe 扩展。当用户想要为 Mistral Vibe 创建、搭建或编写插件时使用。","https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fplugins\u002Fbuiltins\u002Fvibe\u002Fskills\u002Fcreate-plugin\u002FSKILL.md",[167,168],{"categoryNo":143,"categoryName":144,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":111,"categoryName":112,"taxonomyType":23,"taxonomyTypeDesc":24},[41,170,171,172,173,86,97,174,99,87,175,42,13,45,176,177,35,178,33,179,180,181,98],"plugin","create plugin","libraries","format","knowledge","package","scaffold","connectors","agent plugins","author","extensions","with",{"skillNo":183,"name":184,"nameZh":185,"description":17,"descriptionZh":186,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":187,"categories":188,"keywords":193,"publishedAt":50},"01M6C4620AT7K4999KR0YY86KH","prompts","提示词","","https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002Fvibe\u002Fcore\u002Ftools\u002Fbuiltins\u002Fprompts\u002Fskill.md",[189,190],{"categoryNo":111,"categoryName":112,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":191,"categoryName":192,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7GF33QZZR2SXBJQHRAFNN","提示词工程与优化",[184],{"skillNo":195,"name":196,"nameZh":197,"description":198,"descriptionZh":199,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":200,"categories":201,"keywords":208,"publishedAt":50},"01M6C45Z8KES5ZQ0RA198EVMPA","write-vibe-tests","Vibe 测试编写与重构","Write or refactor Mistral Vibe tests with proper decoupling. Use when adding behavior coverage, testing ports\u002Fadapters, replacing brittle mocks, creating fakes, adding characterization tests before refactors, or changing tests under tests\u002F for vibe\u002Fcore, vibe\u002Fapp_server, vibe\u002Facp, tools, config, sessions, skills, hooks, MCP, or setup.","以适当的解耦方式编写或重构 Mistral Vibe 测试。当新增行为覆盖、测试端口\u002F适配器、替换脆弱的 mock、创建 fake、在重构前添加特征化测试，或更改 tests\u002F 下涉及 vibe\u002Fcore、vibe\u002Fapp_server、vibe\u002Facp、tools、config、sessions、skills、hooks、MCP 或 setup 的测试时使用。","https:\u002F\u002Fgithub.com\u002Fmistralai\u002Fmistral-vibe\u002Fblob\u002Fmain\u002F.vibe\u002Fskills\u002Fwrite-vibe-tests\u002FSKILL.md",[202,205],{"categoryNo":203,"categoryName":204,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":206,"categoryName":207,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[209,210,211,104,212,213,214,215,216,217,124,218,86,219,87,42,220,101,221,13,222,35,223,33,181],"write","write vibe tests","tests","coverage","ports","server","core","behavior","acp","testing","sessions","refactor","Tools","app","decoupling"]