[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GK1FFH3QEYYMXY51VJ3WQM":3,"skill-same:01M6GK1FFH3QEYYMXY51VJ3WQM":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":13,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6GK1FFH3QEYYMXY51VJ3WQM","使用git工作区",null,"开始需要与当前工作区隔离的功能工作，或执行实现计划前使用；在 super-agent-v3 中创建 codex\u002F 分支 worktree 并保护 dirty 边界。","lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit","lihah111222333-cloud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F254297992?v=4","01M6GJZ7ZK31PVRBS5XQWS56ET","01M6GJZ84Q0ANFYMPVK56PYSNW",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002F使用git工作区\u002FSKILL.md",[],[5,18,19,20,21,22,23],"codex","git","worktree","worktrees","v3","Git工作树","2026-11-10 10:12:30",false,"---\nname: 使用git工作区\ndescription: 开始需要与当前工作区隔离的功能工作，或执行实现计划前使用；在 super-agent-v3 中创建 codex\u002F 分支 worktree 并保护 dirty 边界。\naliases: [\"@使用git工作区\", \"@Git工作树\", \"@git-worktrees\"]\n---\n\n# 使用 Git Worktree\n\n## 核心原则\n\n在 super-agent-v3 中，worktree 用来隔离实现，不用来绕过主工作区的脏状态。开始时先说：“我正在使用 使用git工作区 技能来设置隔离工作区。”\n\n## 第 0 步：只读检查\n\n```bash\ngit status --short\ngit rev-parse --show-toplevel\ngit branch --show-current\ngit worktree list --porcelain\n```\n\n- 保留已有 dirty \u002F untracked 文件边界，不要 revert、format、stage 或移动无关文件。\n- 如果已经在链接 worktree 中，优先复用当前 worktree，除非用户明确要求再建一个。\n- detached HEAD、冲突中、rebase\u002Fmerge 进行中时，不要自行创建分支；先报告状态。\n\n## 目录与分支\n\n- 本仓库默认使用 `.worktrees\u002F`，它已经在 `.gitignore` 中忽略。\n- 新分支默认前缀 `codex\u002F`，例如 `codex\u002Ffix-skill-routing-20260626`。\n- 只有用户明确要求其他目录或分支名时才改变默认。\n\n## 创建流程\n\n```bash\nbase_branch=$(git branch --show-current)\nbranch=\"codex\u002F\u003Cshort-task-name>\"\npath=\".worktrees\u002F\u003Cshort-task-name>\"\ngit worktree add \"$path\" -b \"$branch\" \"$base_branch\"\n```\n\nShell 安全要求：\n\n- 不要把 `git worktree add ...` 拼成字符串变量再执行；zsh 不会像 bash 那样默认对普通变量做空白分词，字符串命令容易被当成一个参数。\n- 如果必须动态组装命令，使用 shell 数组并以 `\"${cmd[@]}\"` 执行：\n\n```bash\ncmd=(git worktree add \"$path\" -b \"$branch\" \"$base_branch\")\n\"${cmd[@]}\"\n```\n\n- 不要用 `eval` 或 zsh 全局分词兼容选项绕过参数边界。\n\n进入新 worktree 后：\n\n```bash\ncd \"$path\"\ngit status --short\n```\n\n当前默认不安装 hooks。只有用户或控制器明确要求验证 hook 安装\u002F提交链路时，才在对应 worktree 内运行 `make install-hooks`。\n\n如果 `.worktrees\u002F` 意外未被忽略，停止并请用户确认是否允许修改 `.gitignore`。不要自动修改 `.gitignore`，更不要自动提交治理文件。\n\n## 基线验证\n\n按任务面选择轻量基线，不要无脑跑全量：\n\n| 改动面 | 基线 |\n|---|---|\n| Go 包 | `.\u002Fscripts\u002Ftest_with_guard.sh \u003Caffected packages> -count=1` |\n| guard\u002Farchtest | `.\u002Fscripts\u002Ftest_with_guard.sh .\u002Finternal\u002Farchtest -count=1` 或 `make guard` |\n| frontend-app | `cd frontend-app && npm run lint && npm test && npm run build` |\n| SQL\u002Fstore | `make sqlc-verify` |\n| docs-only\u002Fskills-only | `git diff --check` + 对应技能\u002F文档校验 |\n\n基线失败时报告具体命令和失败摘要，征得用户方向后再继续。\n\n## 红旗\n\n绝不要：\n\n- 未经用户明确同意就在 main\u002Fmaster 上开始实现。\n- 使用 `git add .`、`git reset --hard`、`git checkout --` 清理问题。\n- 自动修改 `.gitignore`、hooks、baseline 或 policy 文件来“顺手修好”。\n- 把 unrelated dirty 文件带进 worktree 任务提交。\n- 基线失败还继续声称 worktree ready。\n\n## 收口\n\n完成后交给 `结束开发分支` 技能处理验证、提交、PR 或保留 worktree。不要擅自删除 worktree 或分支。\n","# 使用 Git Worktree\n\n## 核心原则\n\n在 super-agent-v3 中，worktree 用来隔离实现，不用来绕过主工作区的脏状态。开始时先说：“我正在使用 使用git工作区 技能来设置隔离工作区。”\n\n## 第 0 步：只读检查\n\n```bash\ngit status --short\ngit rev-parse --show-toplevel\ngit branch --show-current\ngit worktree list --porcelain\n```\n\n- 保留已有 dirty \u002F untracked 文件边界，不要 revert、format、stage 或移动无关文件。\n- 如果已经在链接 worktree 中，优先复用当前 worktree，除非用户明确要求再建一个。\n- detached HEAD、冲突中、rebase\u002Fmerge 进行中时，不要自行创建分支；先报告状态。\n\n## 目录与分支\n\n- 本仓库默认使用 `.worktrees\u002F`，它已经在 `.gitignore` 中忽略。\n- 新分支默认前缀 `codex\u002F`，例如 `codex\u002Ffix-skill-routing-20260626`。\n- 只有用户明确要求其他目录或分支名时才改变默认。\n\n## 创建流程\n\n```bash\nbase_branch=$(git branch --show-current)\nbranch=\"codex\u002F\u003Cshort-task-name>\"\npath=\".worktrees\u002F\u003Cshort-task-name>\"\ngit worktree add \"$path\" -b \"$branch\" \"$base_branch\"\n```\n\nShell 安全要求：\n\n- 不要把 `git worktree add ...` 拼成字符串变量再执行；zsh 不会像 bash 那样默认对普通变量做空白分词，字符串命令容易被当成一个参数。\n- 如果必须动态组装命令，使用 shell 数组并以 `\"${cmd[@]}\"` 执行：\n\n```bash\ncmd=(git worktree add \"$path\" -b \"$branch\" \"$base_branch\")\n\"${cmd[@]}\"\n```\n\n- 不要用 `eval` 或 zsh 全局分词兼容选项绕过参数边界。\n\n进入新 worktree 后：\n\n```bash\ncd \"$path\"\ngit status --short\n```\n\n当前默认不安装 hooks。只有用户或控制器明确要求验证 hook 安装\u002F提交链路时，才在对应 worktree 内运行 `make install-hooks`。\n\n如果 `.worktrees\u002F` 意外未被忽略，停止并请用户确认是否允许修改 `.gitignore`。不要自动修改 `.gitignore`，更不要自动提交治理文件。\n\n## 基线验证\n\n按任务面选择轻量基线，不要无脑跑全量：\n\n| 改动面 | 基线 |\n|---|---|\n| Go 包 | `.\u002Fscripts\u002Ftest_with_guard.sh \u003Caffected packages> -count=1` |\n| guard\u002Farchtest | `.\u002Fscripts\u002Ftest_with_guard.sh .\u002Finternal\u002Farchtest -count=1` 或 `make guard` |\n| frontend-app | `cd frontend-app && npm run lint && npm test && npm run build` |\n| SQL\u002Fstore | `make sqlc-verify` |\n| docs-only\u002Fskills-only | `git diff --check` + 对应技能\u002F文档校验 |\n\n基线失败时报告具体命令和失败摘要，征得用户方向后再继续。\n\n## 红旗\n\n绝不要：\n\n- 未经用户明确同意就在 main\u002Fmaster 上开始实现。\n- 使用 `git add .`、`git reset --hard`、`git checkout --` 清理问题。\n- 自动修改 `.gitignore`、hooks、baseline 或 policy 文件来“顺手修好”。\n- 把 unrelated dirty 文件带进 worktree 任务提交。\n- 基线失败还继续声称 worktree ready。\n\n## 收口\n\n完成后交给 `结束开发分支` 技能处理验证、提交、PR 或保留 worktree。不要擅自删除 worktree 或分支。\n",{"name":5,"aliases":29,"description":7},[30,31,32],"@使用git工作区","@Git工作树","@git-worktrees","main","287849f4ce06aaaa7e8f517126f73b016043d332",".agent\u002Fskills\u002F使用git工作区","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud","2026-10-11 02:13:17",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit --skill \"使用git工作区\"",{"tool":45,"command":46},"bunx","bunx skills add lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit --skill \"使用git工作区\"",{"tool":48,"command":49},"pnpm","pnpm dlx skills add lihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit --skill \"使用git工作区\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002F使用git工作区\u002FSKILL.md",true,[],[54,83,98,121,137,151],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":65,"publishedAt":24},"01M6GK59PDCBRZQ6D03BGXM8XM","mcp-lsp-project-config","配置、安装、检查、修复或迁移项目级 mcp-lsp stdio MCP，覆盖 Codex、Claude Code 和 Google Antigravity，以及 Windows 原生、WSL 原生和 Windows 宿主通过 wsl.exe 桥接 Linux sidecar 的自动选型。用户提到项目 MCP、LSP MCP、.codex\u002Fconfig.toml、.mcp.json、.agents\u002Fmcp_config.json、Codex 中 LSP 工具有时直接暴露有时只在延迟工具目录、ALL_TOOLS 过滤为空、工具已显示但调用报 client is closing、EOF、Transport closed，或希望三个客户端共用仓库内 mcp-lsp 时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002Fbin\u002FLSP\u002Fmcp-lsp-project-config-skill\u002FSKILL.md",[60],{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[66,67,68,69,70,71,72,73,74,18,75,76,77,78,79,80,81,82],"mcp lsp project config","MCP","config","lsp","project","mcp lsp","google","linux","antigravity","windows","code","Tools","json","toml","client","工具","closing",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":24},"01M6GK57H2A7XK3QZ00HCV9XM0","注释规范","当在 super-agent-v3 中编写或审查 Go 函数级中文注释、React hooks\u002Fservice\u002Fcontroller 注释，或处理注释守卫失败时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F注释规范\u002FSKILL.md",[],[85,90,91,92,93,94,95,22,96,97],"go","react","controller","中文","hooks","service","react hooks","comments",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":107,"publishedAt":24},"01M6GK545MTTE5X1Q4NF92PNRN","字段守卫","当新增、删除、重命名或跨层传递结构化字段，以及修改 DTO、mapper、schema、API\u002FRPC、事件、配置、store、序列化或前后端契约时自动使用；追踪生产源到全部消费端并建立 fail-fast 字段守卫。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F字段守卫\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000010","后端与接口",[100,108,109,110,111,112,68,113,114,115,116,117,118,119,120],"后端","event","payload","store","mapping","rpc","fast","api","guard","消费","schema","drift","contract",{"skillNo":122,"name":108,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":128,"publishedAt":24},"01M6GK50VVC89B3MMSTKBG76ZS","在 super-agent-v3 中编写、审查或重构 Go 后端代码时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F后端\u002FSKILL.md",[126,127],{"categoryNo":105,"categoryName":106,"taxonomyType":63,"taxonomyTypeDesc":64},{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},[108,129,130,131,132,90,67,133,134,135,22,136,111],"sqlc","backend","cmd","golang","runner","platform","module","fx",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":146,"publishedAt":24},"01M6GK4YP5DTSBD02AF8YSRNME","前端","当在 super-agent-v3 中开发、审查或修复当前 React\u002FVite 前端 UI 时使用；前端源码只在 frontend-app。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F前端\u002FSKILL.md",[143],{"categoryNo":144,"categoryName":145,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000009","前端开发",[147,148,149,22,150,91],"frontend","vite","app","ui",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":24},"01M6GK4WWB9A6N51VPCZHC3NB1","全量项目地图生成","当在 super-agent-v3 中生成、更新或校验 docs\u002Fdoc\u002Fcodemap 项目地图、AI index 或能力清单时使用。","https:\u002F\u002Fgithub.com\u002Flihah111222333-cloud\u002FSuper-Dolphin-Agent-Cockpit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002F全量项目地图生成\u002FSKILL.md",[],[153,158,159,22,160,161,162,163,164],"地图","生成","codemap","校验","doc","index","docs"]