[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CW1AV3QM96EG9D3RQ1ZDBT":3,"skill-same:01M7CW1AV3QM96EG9D3RQ1ZDBT":43},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7CW1AV3QM96EG9D3RQ1ZDBT","flow-sync",null,"Flow: Sync - Push WIP to Remote for Cross-Machine Pickup - Push the current branch to the remote so you can continue work on another machine.","cooneycw\u002Fskillc","cooneycw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F36539213?v=4","01M7CVQ6GTEEQ605CAJ92QMJ15","01M7CVQ6HGVRC336M6PCCB4FYE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-auto-87ecb097\u002Fcodex\u002Fskills\u002Fflow-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"flow-sync\"\ndescription: \"Flow: Sync - Push WIP to Remote for Cross-Machine Pickup - Push the current branch to the remote so you can continue work on another machine.\"\n---\n\u003C!-- GENERATED by claude-power-pack - scripts\u002Fcodex-skill-sync.py; edit .claude\u002Fcommands\u002Fflow\u002Fsync.md instead -->\n\n# Flow: Sync - Push WIP to Remote for Cross-Machine Pickup\n\nPush the current branch to the remote so you can continue work on another machine. Optional feature - most users won't need this.\n\n## Arguments\n\nNone. Operates on the current worktree\u002Fbranch.\n\n## Instructions\n\nWhen the user invokes `\u002Fflow-sync`, perform these steps:\n\n### Step 1: Validate Context\n\n```bash\n# Ensure we're in a git repo\ngit rev-parse --show-toplevel\n\n# Get current branch\nBRANCH=$(git branch --show-current)\n```\n\n- If on `main` or `master`: **STOP**. Report: \"Cannot sync main branch. Use `\u002Fflow-start \u003Cissue>` to create a worktree first.\"\n- If not on an `issue-*` branch: Warn but allow (user may have custom branch names).\n\n### Step 2: Check for Uncommitted Changes\n\n```bash\n# Check working tree status\ngit status --short\n```\n\n- **If clean:** Skip to Step 3.\n- **If dirty (uncommitted changes):** Auto-commit as WIP:\n  ```bash\n  git add -A\n  git commit -m \"wip: sync work in progress\n\n  Auto-committed by \u002Fflow-sync for cross-machine pickup.\n  This commit will be squash-merged - no need to clean up.\"\n  ```\n  Report: \"Auto-committed WIP changes.\"\n\n### Step 3: Push to Remote\n\n```bash\ngit push -u origin \"$BRANCH\"\n```\n\n- If push fails (e.g., rejected): Report the error and suggest `git pull --rebase origin \"$BRANCH\"` to resolve.\n\n### Step 4: Output\n\n```\nSynced branch to remote.\n\n  Branch: issue-42-fix-login-bug\n  Remote: origin\n\n  To continue on another machine:\n    \u002Fflow-start 42\n    → Detects remote branch and creates worktree from it\n```\n\n## Error Handling\n\n- **Not in a git repo:** Report error clearly.\n- **On main branch:** Block sync, suggest `\u002Fflow-start`.\n- **Push rejected:** Suggest `git pull --rebase` to reconcile.\n- **No remote configured:** Report \"No remote 'origin' found.\"\n\n## Notes\n\n- This command is intentionally simple - just commit WIP + push.\n- Cross-machine sync operates on the `issue-\u003CN>-\u003Cslug>` **branch**, not on worktree paths, so the visible-sibling worktree location (per-workstation, outside the repo, issue #627) does not affect it.\n- `\u002Fflow-start` already handles the receiving end: it detects the remote branch and, on the git lane (issue #627), adds a worktree tracking it with `git worktree add` at the visible sibling `\u003Cparent>\u002F\u003Crepo>-\u003Cbranch>` (or `$FLOW_WORKTREE_BASE` when set) and enters it with `cd`.\n- WIP commits are harmless because `\u002Fflow-merge` uses squash-merge, collapsing all commits into one clean commit.\n- No configuration required - works with any git remote.\n","\u003C!-- GENERATED by claude-power-pack - scripts\u002Fcodex-skill-sync.py; edit .claude\u002Fcommands\u002Fflow\u002Fsync.md instead -->\n\n# Flow: Sync - Push WIP to Remote for Cross-Machine Pickup\n\nPush the current branch to the remote so you can continue work on another machine. Optional feature - most users won't need this.\n\n## Arguments\n\nNone. Operates on the current worktree\u002Fbranch.\n\n## Instructions\n\nWhen the user invokes `\u002Fflow-sync`, perform these steps:\n\n### Step 1: Validate Context\n\n```bash\n# Ensure we're in a git repo\ngit rev-parse --show-toplevel\n\n# Get current branch\nBRANCH=$(git branch --show-current)\n```\n\n- If on `main` or `master`: **STOP**. Report: \"Cannot sync main branch. Use `\u002Fflow-start \u003Cissue>` to create a worktree first.\"\n- If not on an `issue-*` branch: Warn but allow (user may have custom branch names).\n\n### Step 2: Check for Uncommitted Changes\n\n```bash\n# Check working tree status\ngit status --short\n```\n\n- **If clean:** Skip to Step 3.\n- **If dirty (uncommitted changes):** Auto-commit as WIP:\n  ```bash\n  git add -A\n  git commit -m \"wip: sync work in progress\n\n  Auto-committed by \u002Fflow-sync for cross-machine pickup.\n  This commit will be squash-merged - no need to clean up.\"\n  ```\n  Report: \"Auto-committed WIP changes.\"\n\n### Step 3: Push to Remote\n\n```bash\ngit push -u origin \"$BRANCH\"\n```\n\n- If push fails (e.g., rejected): Report the error and suggest `git pull --rebase origin \"$BRANCH\"` to resolve.\n\n### Step 4: Output\n\n```\nSynced branch to remote.\n\n  Branch: issue-42-fix-login-bug\n  Remote: origin\n\n  To continue on another machine:\n    \u002Fflow-start 42\n    → Detects remote branch and creates worktree from it\n```\n\n## Error Handling\n\n- **Not in a git repo:** Report error clearly.\n- **On main branch:** Block sync, suggest `\u002Fflow-start`.\n- **Push rejected:** Suggest `git pull --rebase` to reconcile.\n- **No remote configured:** Report \"No remote 'origin' found.\"\n\n## Notes\n\n- This command is intentionally simple - just commit WIP + push.\n- Cross-machine sync operates on the `issue-\u003CN>-\u003Cslug>` **branch**, not on worktree paths, so the visible-sibling worktree location (per-workstation, outside the repo, issue #627) does not affect it.\n- `\u002Fflow-start` already handles the receiving end: it detects the remote branch and, on the git lane (issue #627), adds a worktree tracking it with `git worktree add` at the visible sibling `\u003Cparent>\u002F\u003Crepo>-\u003Cbranch>` (or `$FLOW_WORKTREE_BASE` when set) and enters it with `cd`.\n- WIP commits are harmless because `\u002Fflow-merge` uses squash-merge, collapsing all commits into one clean commit.\n- No configuration required - works with any git remote.\n",{"name":5,"description":7},"main","26e686aea67467e80e66f7d622950d0702c0a092","tests\u002Ffixtures\u002Fprofile-cpp-codex-flow-auto-87ecb097\u002Fcodex\u002Fskills\u002Fflow-sync","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc","https:\u002F\u002Fgithub.com\u002Fcooneycw","2026-11-15 05:18:27",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add cooneycw\u002Fskillc --skill flow-sync",{"tool":35,"command":36},"bunx","bunx skills add cooneycw\u002Fskillc --skill flow-sync",{"tool":38,"command":39},"pnpm","pnpm dlx skills add cooneycw\u002Fskillc --skill flow-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-auto-87ecb097\u002Fcodex\u002Fskills\u002Fflow-sync\u002FSKILL.md",true,[],[44,51,57,64,69,74],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7CW6RKZX2298AZDERY3EZQR","tiny-check","Run the tiny project check","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-install\u002Fskills\u002Ftiny-check\u002FSKILL.md",[],[],{"skillNo":52,"name":46,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M7CW6Q781BQX42JV5GE8YSCV","A synthetic gate selection fixture.","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-install-synthetic\u002Fskills\u002Ftiny-check\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7CW6MZM805TYJFVYYFSV7AB","flow-check","Use when you are asked to run a project's quality checks (tests, lint, type checks, security scan): runs them in one step and reports what failed, without committing.","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-resume-v1\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7CW6J87T788K88H0M5G21DZ","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-ea6dbfa\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[],{"skillNo":70,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7CW6FE77JB8Z0ZFNH2GJVNE","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-86641e8\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[],{"skillNo":75,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7CW6CD3KN3S6D3QRNYN50JZ","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-652c0118\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[]]