[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DNKHP7NV7KR552KFZ6EW3R":3,"skill-same:01M6DNKHP7NV7KR552KFZ6EW3R":68},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":67},"01M6DNKHP7NV7KR552KFZ6EW3R","worktree",null,"Manage worktrees only for concurrent work by the owner or agents launched by the owner on the same repository, or for explicitly requested inventory and cleanup; never create one for isolation alone.","0xgleb\u002Fdotconfig","0xgleb","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39841057?v=4","01M6DNDD83BRMM1SH4R4C6K8GY","01M6DNDDCPH33FEFB6JN6Y2GVD",3,"MIT","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fworktree\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"never","for","true","mkdir","ls","isolation","cd","manage","worktrees","only","cleanup","fix","work","Bash","inventory","repository","git","create","2026-11-10 10:12:30",false,"---\nname: worktree\ndescription: Manage worktrees only for concurrent work by the owner or agents launched by the owner on the same repository, or for explicitly requested inventory and cleanup; never create one for isolation alone.\nuser-invocable: true\nallowed-tools:\n  - \"Bash(git *)\"\n  - \"Bash(mkdir *)\"\n  - \"Bash(fix-worktree-submodules *)\"\n  - \"Bash(ls *)\"\n  - \"Bash(cd *)\"\n---\n\n# Worktrees\n\n## When to Use\n\nWorktrees are permitted ONLY when the owner or another agent launched by the\nowner is concurrently working on the same repository as an agent. Isolation\nalone, dirty local state, ordinary setup, review, builds, and agent-initiated\nfan-out never justify a worktree. Explicit owner requests to inventory or remove\nexisting worktrees authorize that cleanup, not new worktrees.\n\nThe assigned checkout remains the default workspace. Without owner-authorized\nconcurrent work or an explicit inventory\u002Fcleanup request, inspect only that\ncheckout and do not enter other worktrees.\n\nApply `GLOBAL_AGENTS.md`'s directory-ignore preflight before using temporary\ndirectories or creating a slot. Recheck in a newly created checkout before using\nits temporary directories. Account for any owned repair during preflight, not at\ncleanup; a saved repair does not authorize discarding it or force-removing a\ndirty worktree.\n\n## Procedure\n\n1. Verify Git topology with `git rev-parse --show-toplevel`,\n   `git rev-parse --git-common-dir`, and, when inventory is authorized,\n   `git worktree list --porcelain`. GitButler is valid only in an existing\n   managed main worktree; use plain Git in every linked worktree.\n2. Before creation, identify the owner or owner-launched agent working on the\n   same repository concurrently. If none exists, do not create a worktree.\n3. Use a stable repository-local role slot: `.worktrees\u002Fsecondary`,\n   `.worktrees\u002Ftertiary`, or an explicitly disposable `.tmp\u002Fworktrees\u002Fsecondary`\n   or `.tmp\u002Fworktrees\u002Ftertiary`. Never use PR-, ticket-, branch-, timestamp-,\n   experiment-, or task-named directories. Verify existing ownership before\n   reusing a slot.\n4. Create only the selected slot from the task's verified base. Do not change\n   VCS backends, fetch unrelated branches, or initialize unapproved\n   environments. When the main worktree uses direnv and its repository\n   environment is already owner-approved, run `direnv allow \u003Cworktree-root>` in\n   the linked or review checkout before tests or commits. Main-checkout approval\n   does not activate a new checkout. Use the repository's declared complete\n   setup, not partial hook configs or skipped hooks. This grants no new secret,\n   host-configuration or deployment authority. Diagnose activation errors rather\n   than silently working outside the environment. Record artifact provenance for\n   a newly created disposable slot when the harness exposes that tool.\n5. Repair submodules only if concurrent work actually requires them. Use\n   `fix-worktree-submodules` only when that command exists; otherwise inspect\n   the repository's documented equivalent before acting.\n6. The creating agent owns removal of its worktree registration, directory, and\n   generated outputs immediately after concurrent work succeeds, fails, or is\n   cancelled. A pre-existing owner-managed slot may remain; an agent-created\n   slot may remain only with explicit owner direction.\n\n## Temporary artifacts\n\nResolve the task checkout root from the active worktree, not a coordinating\nsession's cwd or the common Git directory. Pass this checkout root explicitly to\nworkflows and set every child's cwd to it. Keep task-local patches, prompts,\nreports, payloads, and logs under that checkout root's `.tmp\u002F`. For a linked\nworktree, never write its artifacts into the main checkout's `.tmp\u002F`. The\nartifact directory is not a child working directory. Record provenance where\nrequired and remove these artifacts with the worktree.\n\n## Cleanup\n\nUse `git worktree remove` with each exact verified linked-worktree path.\nPreserve uncommitted work unless the owner explicitly authorizes discarding it.\nWhen the owner orders removal regardless of contents, honor that exact\nauthorization; Git's documented `--force` option may be needed for dirty\nworktrees. Never remove the main checkout or unrelated files. Remove stale\nregistrations only within the requested repository scope.\n\nIf safe cleanup is blocked, record the exact path and reason, keep completion\nblocked, and make cleanup the first resumed action. Do not leave disk debt for\nthe owner or another agent.\n\n## Verification\n\n- `git worktree list --porcelain` shows only the intended registrations.\n- Every removed exact path is absent, including its generated outputs.\n- No worktree was created without verified owner-authorized concurrency.\n- Explicit requests for zero linked worktrees leave only the main checkout.\n","# Worktrees\n\n## When to Use\n\nWorktrees are permitted ONLY when the owner or another agent launched by the\nowner is concurrently working on the same repository as an agent. Isolation\nalone, dirty local state, ordinary setup, review, builds, and agent-initiated\nfan-out never justify a worktree. Explicit owner requests to inventory or remove\nexisting worktrees authorize that cleanup, not new worktrees.\n\nThe assigned checkout remains the default workspace. Without owner-authorized\nconcurrent work or an explicit inventory\u002Fcleanup request, inspect only that\ncheckout and do not enter other worktrees.\n\nApply `GLOBAL_AGENTS.md`'s directory-ignore preflight before using temporary\ndirectories or creating a slot. Recheck in a newly created checkout before using\nits temporary directories. Account for any owned repair during preflight, not at\ncleanup; a saved repair does not authorize discarding it or force-removing a\ndirty worktree.\n\n## Procedure\n\n1. Verify Git topology with `git rev-parse --show-toplevel`,\n   `git rev-parse --git-common-dir`, and, when inventory is authorized,\n   `git worktree list --porcelain`. GitButler is valid only in an existing\n   managed main worktree; use plain Git in every linked worktree.\n2. Before creation, identify the owner or owner-launched agent working on the\n   same repository concurrently. If none exists, do not create a worktree.\n3. Use a stable repository-local role slot: `.worktrees\u002Fsecondary`,\n   `.worktrees\u002Ftertiary`, or an explicitly disposable `.tmp\u002Fworktrees\u002Fsecondary`\n   or `.tmp\u002Fworktrees\u002Ftertiary`. Never use PR-, ticket-, branch-, timestamp-,\n   experiment-, or task-named directories. Verify existing ownership before\n   reusing a slot.\n4. Create only the selected slot from the task's verified base. Do not change\n   VCS backends, fetch unrelated branches, or initialize unapproved\n   environments. When the main worktree uses direnv and its repository\n   environment is already owner-approved, run `direnv allow \u003Cworktree-root>` in\n   the linked or review checkout before tests or commits. Main-checkout approval\n   does not activate a new checkout. Use the repository's declared complete\n   setup, not partial hook configs or skipped hooks. This grants no new secret,\n   host-configuration or deployment authority. Diagnose activation errors rather\n   than silently working outside the environment. Record artifact provenance for\n   a newly created disposable slot when the harness exposes that tool.\n5. Repair submodules only if concurrent work actually requires them. Use\n   `fix-worktree-submodules` only when that command exists; otherwise inspect\n   the repository's documented equivalent before acting.\n6. The creating agent owns removal of its worktree registration, directory, and\n   generated outputs immediately after concurrent work succeeds, fails, or is\n   cancelled. A pre-existing owner-managed slot may remain; an agent-created\n   slot may remain only with explicit owner direction.\n\n## Temporary artifacts\n\nResolve the task checkout root from the active worktree, not a coordinating\nsession's cwd or the common Git directory. Pass this checkout root explicitly to\nworkflows and set every child's cwd to it. Keep task-local patches, prompts,\nreports, payloads, and logs under that checkout root's `.tmp\u002F`. For a linked\nworktree, never write its artifacts into the main checkout's `.tmp\u002F`. The\nartifact directory is not a child working directory. Record provenance where\nrequired and remove these artifacts with the worktree.\n\n## Cleanup\n\nUse `git worktree remove` with each exact verified linked-worktree path.\nPreserve uncommitted work unless the owner explicitly authorizes discarding it.\nWhen the owner orders removal regardless of contents, honor that exact\nauthorization; Git's documented `--force` option may be needed for dirty\nworktrees. Never remove the main checkout or unrelated files. Remove stale\nregistrations only within the requested repository scope.\n\nIf safe cleanup is blocked, record the exact path and reason, keep completion\nblocked, and make cleanup the first resumed action. Do not leave disk debt for\nthe owner or another agent.\n\n## Verification\n\n- `git worktree list --porcelain` shows only the intended registrations.\n- Every removed exact path is absent, including its generated outputs.\n- No worktree was created without verified owner-authorized concurrency.\n- Explicit requests for zero linked worktrees leave only the main checkout.\n",{"name":5,"description":7,"allowed-tools":41,"user-invocable":47},[42,43,44,45,46],"Bash(git *)","Bash(mkdir *)","Bash(fix-worktree-submodules *)","Bash(ls *)","Bash(cd *)",true,"master","43de034413ae8878259e4a93be6aed03add6ddda","ai\u002Fskills\u002Fworktree",0,"https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig","https:\u002F\u002Fgithub.com\u002F0xgleb","2026-11-14 09:46:23",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":47},[57,60,63],{"tool":58,"command":59},"npx","npx skills add 0xgleb\u002Fdotconfig --skill worktree",{"tool":61,"command":62},"bunx","bunx skills add 0xgleb\u002Fdotconfig --skill worktree",{"tool":64,"command":65},"pnpm","pnpm dlx skills add 0xgleb\u002Fdotconfig --skill worktree","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fworktree\u002FSKILL.md",[],[69,94,120,141,158,181],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":36},"01M6DNKEGPR8F3BA95ZMWQ48V9","unslop","Rewrite draft prose before owner-facing replies, docs, issues, PR text, handoffs, or Telegram reports to remove AI tells while preserving facts, links, tone, and authority; auto-trigger on externally visible prose, but never on code, commands, logs, tool output, quoted sources, or user text.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Funslop\u002FSKILL.md",[],[71,76,18,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],"draft","pr","remove","trigger","tool","issues","auto","rewrite","code","tone","telegram","sources","links","authority","logs","facts","output","replies",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":36},"01M6DNK9VFNJYKB6GMA15WJ3HZ","threat-model-first","Use at the START of a change that moves money, changes balances or custody, touches access control or signing, deserializes untrusted input, adds an external or on-chain integration, or wires an LLM tool. Design-time threat modeling that turns abuse cases into the first failing tests; it precedes the post-hoc security-review pass.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fthreat-model-first\u002FSKILL.md",[],[101,102,103,104,105,106,107,108,109,110,111,31,112,113,114,115,116,117,118,119],"model","threat model","threat","first","threat model first","chain","time","security-review","design","forge","access","cargo audit","review","change","audit","read","write","edit","modeling",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":36},"01M6DNK6M72QAMH2TYVMPYJGDM","test-inspector","Auto-run for new or changed retained behavior, even without test changes, and for test, fixture, snapshot or mock changes; verify real happy-path and error-path coverage, expose false-confidence assertions and over-mocking, but do not perform general production-code correctness review.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Ftest-inspector\u002FSKILL.md",[],[127,128,129,130,82,131,31,84,113,132,116,133,134,135,136,137,138,34,139,140],"test","test inspector","fixture","do","false","run","coverage","error","number","URL","mktemp","snapshot","but","path",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":36},"01M6DNK3BPN73D003FFADEWJP5","strong-typing-inspector","Lightweight review — flags primitives used where a domain type already exists (e.g. String for a USD field when Usd exists) and missed newtype opportunities.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fstrong-typing-inspector\u002FSKILL.md",[],[148,149,127,150,77,151,116,152,153,34,154,155,31,156,113,157],"strong typing inspector","type","missed","domain","flags","grep","usd","gh","primitives","newtype",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":36},"01M6DNJZHG2RK3MC4VPB9KWPYF","spec-review","Critique existing specifications and design proposals, including whether their approach or addition is justified, and refine them through adversarial Pi review and authorized author revisions. Not for code review, implementation-plan sequencing, creating a design from scratch or minor copy edits.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fspec-review\u002FSKILL.md",[],[165,166,113,167,168,169,170,171,109,172,84,19,173,174,175,176,177,178,179,180],"spec review","spec","plan","critique","code review","pi","refine","implementation","sequencing","specifications","proposals","scratch","Existing","author","From Scratch","adversarial",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":36},"01M6DNJVKEXDSYCM98DP1SRN0Y","shape-work","Use when a vague idea, issue, or potentially irreversible or multi-file change needs intent shaping before planning or an ADR; trigger on \"shape this idea\", \"explore the design space\", \"stress-test this direction\", \"lock intent\", or \"interview me\" regardless of implementation language, and never use it to plan or write code.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fshape-work\u002FSKILL.md",[],[30,188,189,190,191,192,18,193,194,79,195,109,155,196,197,31,198,84,199,127],"shape work","shape","gh issue","interview","adr","view","planning","explore","stress-test","use","file","shaping"]