[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CNVBT59MAY0ZRQ8ZVF6TGV":3,"skill-same:01M6CNVBT59MAY0ZRQ8ZVF6TGV":82},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":20,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6CNVBT59MAY0ZRQ8ZVF6TGV","push-to-main",null,"Use when the user asks to push changes to main or master from an alternate git worktree. Commit the current worktree first, push its current branch only if it already has an upstream, then fast-forward only in the repository's main worktree and push main\u002Fmaster. Do not create pull requests.","wolfmanstout\u002Fagent-skills","wolfmanstout","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1121562?v=4","01M6CNV9P0WDN3EEE6G3X7P3QG","James Stout","01M6CNV9T1WBDD0J2K2DP017EJ",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fpush-to-main\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"push to main","main","push","first","do","master","only","use","user","branch","git worktree","pull requests","repository","fast","worktree","pull","git","create","commit","2026-11-10 10:12:30",false,"---\nname: push-to-main\ndescription: Use when the user asks to push changes to main or master from an alternate git worktree. Commit the current worktree first, push its current branch only if it already has an upstream, then fast-forward only in the repository's main worktree and push main\u002Fmaster. Do not create pull requests.\n---\n\n# Push to Main\n\n## Overview\n\nThis workflow publishes work from an alternate git worktree to `main` or `master` without bypassing branch history. The current worktree is made durable first; the main worktree is updated only by `--ff-only` operations.\n\n## Workflow\n\n### 1. Inspect the repository\n\nRun these from the current worktree:\n\n```sh\npwd\ngit status --short --branch\ngit branch --show-current\ngit worktree list --porcelain\n```\n\nIdentify:\n\n- The original worktree path, so command execution can return there at the end.\n- The current branch, if any.\n- The current branch's upstream, if one is configured.\n- The current HEAD commit, especially if the worktree is detached.\n- The primary branch: prefer `main`; otherwise use `master`.\n- The main worktree: the worktree whose branch is `refs\u002Fheads\u002Fmain` or `refs\u002Fheads\u002Fmaster`.\n\nDetached current worktrees are nominal. Leave them detached and use their HEAD commit as the merge target. If no main\u002Fmaster worktree exists, stop and ask before creating or selecting one.\n\n### 2. Commit and push the current worktree first\n\nIf the current worktree has changes, review the diff, stage only changes that belong to the user's request, and commit them. Do not stage unrelated user work just because it is present.\n\nAfter the current worktree is committed or already clean, record the merge target: use the current branch name when one exists; otherwise use the current HEAD commit SHA.\n\nIf the current branch exists, check whether it already has an upstream:\n\n```sh\ngit rev-parse --abbrev-ref --symbolic-full-name @{u}\n```\n\nIf the branch has an upstream, push it before touching the main worktree:\n\n```sh\ngit push\n```\n\nIf there are no local changes but the branch has unpushed commits and an upstream exists, push the branch. If the current worktree is detached or the current branch has no upstream, skip this branch-push step. Do not create an upstream just to push the current branch. If pushing the current branch is rejected because the remote branch has commits this worktree does not have, stop and report the issue; do not force-push unless the user explicitly asks.\n\n### 3. Fast-forward the main worktree\n\nSwitch command execution to the main worktree. Before merging, require it to be clean:\n\n```sh\ngit status --short --branch\n```\n\nIf it is dirty, stop and report the files. Do not stash, reset, or overwrite main-worktree changes.\n\nMerge the current worktree's branch or HEAD commit with fast-forwarding only:\n\n```sh\ngit merge --ff-only \u003Ccurrent-branch-or-head-sha>\n```\n\nIf `git merge --ff-only` fails, stop. Report that main\u002Fmaster cannot be fast-forwarded to the current worktree's branch or HEAD commit and leave conflict resolution, rebase, or merge-commit decisions to the user.\n\n### 4. Push main\u002Fmaster\n\nAfter the fast-forward succeeds:\n\n```sh\ngit push origin main  # or: master\n```\n\nDo not fetch, pull, or rebase preemptively. If this final push is rejected because the remote primary branch moved, then pull\u002Frebase and retry the push. Stop if the rebase conflicts, the main worktree becomes dirty, or the repository's local instructions require user approval.\n\nDo not open a pull request unless the user specifically asks for one.\n\n### 5. Return to the original worktree\n\nAfter pushing main\u002Fmaster, set command execution back to the original worktree path captured at the start. The final current directory should be the worktree where the user made the request, even if the current worktree is detached.\n\n## Guardrails\n\n- Preserve unrelated work in both worktrees.\n- Prefer non-interactive git commands.\n- Never use `git reset --hard`, force-push, rebase, stash, or delete branches as part of this workflow unless the user explicitly requests that operation.\n- If local repository instructions require a particular test or build before pushing, run it after committing the current worktree and before fast-forwarding main\u002Fmaster.\n- If sandboxing blocks required network operations such as pushing or fetching, request escalation for the specific git command instead of substituting a different workflow.\n","# Push to Main\n\n## Overview\n\nThis workflow publishes work from an alternate git worktree to `main` or `master` without bypassing branch history. The current worktree is made durable first; the main worktree is updated only by `--ff-only` operations.\n\n## Workflow\n\n### 1. Inspect the repository\n\nRun these from the current worktree:\n\n```sh\npwd\ngit status --short --branch\ngit branch --show-current\ngit worktree list --porcelain\n```\n\nIdentify:\n\n- The original worktree path, so command execution can return there at the end.\n- The current branch, if any.\n- The current branch's upstream, if one is configured.\n- The current HEAD commit, especially if the worktree is detached.\n- The primary branch: prefer `main`; otherwise use `master`.\n- The main worktree: the worktree whose branch is `refs\u002Fheads\u002Fmain` or `refs\u002Fheads\u002Fmaster`.\n\nDetached current worktrees are nominal. Leave them detached and use their HEAD commit as the merge target. If no main\u002Fmaster worktree exists, stop and ask before creating or selecting one.\n\n### 2. Commit and push the current worktree first\n\nIf the current worktree has changes, review the diff, stage only changes that belong to the user's request, and commit them. Do not stage unrelated user work just because it is present.\n\nAfter the current worktree is committed or already clean, record the merge target: use the current branch name when one exists; otherwise use the current HEAD commit SHA.\n\nIf the current branch exists, check whether it already has an upstream:\n\n```sh\ngit rev-parse --abbrev-ref --symbolic-full-name @{u}\n```\n\nIf the branch has an upstream, push it before touching the main worktree:\n\n```sh\ngit push\n```\n\nIf there are no local changes but the branch has unpushed commits and an upstream exists, push the branch. If the current worktree is detached or the current branch has no upstream, skip this branch-push step. Do not create an upstream just to push the current branch. If pushing the current branch is rejected because the remote branch has commits this worktree does not have, stop and report the issue; do not force-push unless the user explicitly asks.\n\n### 3. Fast-forward the main worktree\n\nSwitch command execution to the main worktree. Before merging, require it to be clean:\n\n```sh\ngit status --short --branch\n```\n\nIf it is dirty, stop and report the files. Do not stash, reset, or overwrite main-worktree changes.\n\nMerge the current worktree's branch or HEAD commit with fast-forwarding only:\n\n```sh\ngit merge --ff-only \u003Ccurrent-branch-or-head-sha>\n```\n\nIf `git merge --ff-only` fails, stop. Report that main\u002Fmaster cannot be fast-forwarded to the current worktree's branch or HEAD commit and leave conflict resolution, rebase, or merge-commit decisions to the user.\n\n### 4. Push main\u002Fmaster\n\nAfter the fast-forward succeeds:\n\n```sh\ngit push origin main  # or: master\n```\n\nDo not fetch, pull, or rebase preemptively. If this final push is rejected because the remote primary branch moved, then pull\u002Frebase and retry the push. Stop if the rebase conflicts, the main worktree becomes dirty, or the repository's local instructions require user approval.\n\nDo not open a pull request unless the user specifically asks for one.\n\n### 5. Return to the original worktree\n\nAfter pushing main\u002Fmaster, set command execution back to the original worktree path captured at the start. The final current directory should be the worktree where the user made the request, even if the current worktree is detached.\n\n## Guardrails\n\n- Preserve unrelated work in both worktrees.\n- Prefer non-interactive git commands.\n- Never use `git reset --hard`, force-push, rebase, stash, or delete branches as part of this workflow unless the user explicitly requests that operation.\n- If local repository instructions require a particular test or build before pushing, run it after committing the current worktree and before fast-forwarding main\u002Fmaster.\n- If sandboxing blocks required network operations such as pushing or fetching, request escalation for the specific git command instead of substituting a different workflow.\n",{"name":5,"description":7},"f56f983565f699a5c09f3560c16ab9aa7e034f55","src\u002Fpush-to-main","https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fwolfmanstout","https:\u002F\u002Fhandsfreecoding.org","2026-08-09 12:25:36",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add wolfmanstout\u002Fagent-skills --skill push-to-main",{"tool":55,"command":56},"bunx","bunx skills add wolfmanstout\u002Fagent-skills --skill push-to-main",{"tool":58,"command":59},"pnpm","pnpm dlx skills add wolfmanstout\u002Fagent-skills --skill push-to-main","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fpush-to-main\u002FSKILL.md",true,[63,69,74,78],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"agents\u002Fopenai.yaml","REFERENCE","参考文档",207,"https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills\u002Fblob\u002Fmain\u002Fsrc\u002Fpush-to-main\u002Fagents\u002Fopenai.yaml",{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"LICENSE","许可证",1063,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-report-progress-with-verifiable-evidence\u002FLICENSE",{"path":75,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":76,"sourceHtmlUrl":77},"SOURCE.md",366,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-report-progress-with-verifiable-evidence\u002FSOURCE.md",{"path":79,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":80,"sourceHtmlUrl":81},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-report-progress-with-verifiable-evidence\u002FTRUST.auto.yaml",[83,92,116],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":38},"01M6CNXH8GYV9PBP8275SFB23G","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills\u002Fblob\u002Fmain\u002Fsubtrees\u002Fskills\u002Ftemplate\u002FSKILL.md",[],[90,91,26],"template","template skill",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":38},"01M6CNVYDV466NR8Z7NSBF8HDK","doc-coauthoring","Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.","https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills\u002Fblob\u002Fmain\u002Fsubtrees\u002Fskills\u002Fskills\u002Fdoc-coauthoring\u002FSKILL.md",[],[99,100,101,102,103,104,105,106,107,108,109,110,27,111,112,26,113,114,115],"doc coauthoring","doc","technical","workflow","documentation","tasks","content","transfer","verify","decision","write","context","proposals","guide","write documentation","docs","writing",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6CNVEK307M44AAPYKH6JRTC","talon","Use when working on Talon voice command projects — writing .talon files, .talon-list files, or Talon Python modules, AND when installing or deploying Talon scripts to the user's Talon directory. Provides file syntax, voice command rules, context matching, list definitions, Python API tips, local testing, and sandbox testing via talonbox.","https:\u002F\u002Fgithub.com\u002Fwolfmanstout\u002Fagent-skills\u002Fblob\u002Fmain\u002Fsrc\u002Ftalon\u002FSKILL.md",[],[118,123,124,115,125,126,127,128,129,130,131,132,133,134,110,27,26,135,136,137],"testing","syntax","directory","python","sandbox","file","api","voice","projects","Rules","command","list","modules","files","local testing"]