[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1KWBHMYFT3Y9YFC0YS1DR":3,"skill-same:01M6F1KWBHMYFT3Y9YFC0YS1DR":53},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6F1KWBHMYFT3Y9YFC0YS1DR","auto_task.restack",null,"Propagate reviewed changes down an existing PR stack, keeping every PR mergeable","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6F1K6CCKKF8YKTBN4ZV509G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fauto_task.restack\u002FSKILL.md",[],[19,20,21,22,23,24],"auto task restack","auto","task","pr","stack","propagate","2026-11-10 10:12:30",false,"---\ndescription: Propagate reviewed changes down an existing PR stack, keeping every PR mergeable\nmodel: sonnet\n---\n\n# Goal\n\n- Given the current PR is one branch in an existing stack of sequential PRs, each\n  based on the previous one's branch, propagate the changes reviewed\u002Fmodified in an\n  earlier PR down into every PR stacked on top of it\n- Preserve full history: propagate by merging forward and committing, never by\n  rebasing or force-pushing\n- End with every PR in the stack mergeable, with CI green\n\n# When to Use This Skill\n\n- Use after a PR in the middle (or bottom) of an existing stack was reviewed and\n  changed (e.g. review feedback addressed), and the branches stacked on top of it now\n  need those changes\n- Do not use this to build a new stack from scratch: use\n  `\u002Fauto_task.execute_with_stacked_prs` for that\n- Follow `.claude\u002Fskills\u002Fauto_task.rules.md` section \"Ask for Clarification Before\n  Executing an Unclear Plan\" whenever a PR's description does not make clear what it\n  is meant to do: do not guess and merge blind\n\n# Workflow\n\n## Discover the Full Stack\n\n- Get the current PR:\n  ```bash\n  > gh pr view --json number,title,baseRefName,headRefName,url\n  ```\n- Walk upward from the current PR's `baseRefName`, following each branch's own PR\n  (`gh pr list --head \u003Cbase> --state all`), until reaching the repo's default branch\n  (`master`), to find the bottom of the stack\n- Walk downward from the current PR's `headRefName`, repeatedly finding the open PR\n  whose `baseRefName` equals the previous PR's `headRefName`\n  (`gh pr list --base \u003Cbranch> --state open`), to find the top of the stack\n- Order the discovered PRs bottom (based on `master`) to top\n- Check whether the bottom PR itself is behind the default branch:\n  ```bash\n  > gh pr view \u003Cbottom PR> --json mergeable,mergeStateStatus\n  ```\n  If `mergeable` is `CONFLICTING` (or the branch is simply behind), treat the default\n  branch as an implicit `PR_0` at the bottom of the stack: it needs the same\n  merge-forward treatment as every other pair before the rest of the stack can end up\n  mergeable\n\n## Print the Stack\n\n- Print one table with columns `#`, `Branch`, `PR` (`#\u003CNUM> — \u003Ctitle>`), `Base`, e.g.:\n  ```\n  +---+--------------------+-----------------------------------------------+--------+\n  | # | Branch             | PR                                             | Base   |\n  +---+--------------------+-----------------------------------------------+--------+\n  | 1 | ..._invoke_tasks   | #1423 -- auto-pick suffix in git_branch_create | master |\n  | 2 | ..._invoke_tasks_2 | #1424 -- unit tests for git_*\u002Fgh_* tasks       | #1423  |\n  +---+--------------------+-----------------------------------------------+--------+\n  ```\n\n## Create and Confirm the Propagation Plan\n\n- Create `plan-auto_task.restack.md` listing, for every consecutive pair\n  `(PR_i, PR_i+1)` in the stack, including the `(master, PR_1)` pair when the bottom\n  PR is behind the default branch (see \"Discover the Full Stack\" above):\n  - What `PR_i` changed, from its GH description and\n    `git diff \u003Cbase_i>...\u003Chead_i>`\n  - What needs to merge into `PR_i+1`, and which files are likely to conflict\n    (touched by both `PR_i` and `PR_i+1`)\n- Wait for the user to confirm this plan before touching any branch\n- Follow `.claude\u002Fskills\u002Fauto_task.rules.md` section \"Ask for Clarification Before\n  Executing an Unclear Plan\" if a PR's own description does not explain its changes\n  well enough to resolve conflicts correctly\n\n## Propagate Changes Down the Stack\n\n- Process pairs bottom-up, one at a time, so each merge already includes everything\n  propagated so far, starting with `(master, PR_1)` when that pair is in the plan\n- For each pair `(PR_i, PR_i+1)` or `(master, PR_1)`:\n  - Read `PR_i`'s description (`gh pr view \u003CPR_i> --json body,title`) so conflicts\n    get resolved in line with its intent, not blindly\n  - Immediately before merging, `git fetch` and confirm the local branch tip matches\n    `origin\u002F\u003Cbranch_i+1>`: another process or session can push to a branch mid-stack\n    while this skill is running, and merging on top of a stale local copy silently\n    drops those commits\n    ```bash\n    > git fetch origin \u003Cbranch_i> \u003Cbranch_i+1>\n    > git checkout \u003Cbranch_i+1>\n    > git reset --hard origin\u002F\u003Cbranch_i+1>\n    > git merge origin\u002F\u003Cbranch_i>\n    ```\n  - Resolve any conflicts by hand, favoring the intent of `PR_i`'s change; do not use\n    `git rebase` and do not force-push, so history stays intact\n  - Follow `.claude\u002Fskills\u002Fcoding.rules.md` and `.claude\u002Fskills\u002Ftesting.rules.md`\n    while resolving conflicts in code and tests\n  - Commit the merge and push: `git push`. If the push is rejected because\n    `origin\u002F\u003Cbranch_i+1>` moved again, re-fetch and redo the merge rather than\n    force-pushing over it\n- Repeat up through the top of the stack\n\n## Make Every PR Mergeable\n\n- For every PR in the stack, in order, run `\u002Fgithub.get_pr_ready_to_merge` to get its\n  CI green\n- After propagation, confirm mergeability:\n  ```bash\n  > gh pr view \u003CNUM> --json mergeable,mergeStateStatus\n  ```\n\n## Report Only Failures\n\n- Do not post a comment on a PR that merged cleanly and passed CI\n- If a PR hits an unresolved conflict or a CI failure that needs human input, post\n  one comment on it explaining the problem:\n  ```bash\n  > gh pr comment \u003CNUM> --body \"\u003Cwhat failed and why>\"\n  ```\n- Also stop and describe the problem to the user directly rather than leaving it only\n  in a PR comment\n\n# Conventions\n\n- Follow `.claude\u002Fskills\u002Fauto_task.rules.md` for clarification conventions\n- Follow `.claude\u002Fskills\u002Fcoding.rules.md` and `.claude\u002Fskills\u002Ftesting.rules.md` when\n  resolving conflicts\n- Follow `.claude\u002Fskills\u002Fgithub.get_pr_ready_to_merge\u002FSKILL.md` to get each PR's CI\n  green\n\n# Constraints\n\n- Never rebase or force-push a branch in the stack: propagate with merge commits\n  only, to preserve review history\n- Never merge any PR: merging remains the user's decision\n- Never skip a PR in the stack or reorder the propagation: always go strictly\n  bottom-up\n- Never guess the intent of an unclear PR when resolving a conflict: stop and ask\n  instead\n- Never merge\u002Fbuild on a local branch copy without re-fetching first: a concurrent\n  session or an auto-commit\u002Fauto-push process on the same machine can move a branch\n  in the stack while this skill is running\n\n# Verification\n\n- [ ] The full stack was discovered from `master` up through the top PR, matching\n      GitHub's actual base chain, and the bottom PR's mergeability against `master`\n      was checked\n- [ ] `plan-auto_task.restack.md` lists every consecutive pair and was confirmed by\n      the user before any branch was touched\n- [ ] Every merge between stacked branches is a merge commit, not a rebase; no branch\n      was force-pushed\n- [ ] `gh pr view \u003CNUM> --json mergeable` reports `MERGEABLE` for every PR in the\n      stack\n- [ ] `\u002Fgithub.get_pr_ready_to_merge` ran on every PR and its CI is green\n- [ ] A PR comment exists only for PRs that hit a conflict or CI failure needing\n      human input\n","# Goal\n\n- Given the current PR is one branch in an existing stack of sequential PRs, each\n  based on the previous one's branch, propagate the changes reviewed\u002Fmodified in an\n  earlier PR down into every PR stacked on top of it\n- Preserve full history: propagate by merging forward and committing, never by\n  rebasing or force-pushing\n- End with every PR in the stack mergeable, with CI green\n\n# When to Use This Skill\n\n- Use after a PR in the middle (or bottom) of an existing stack was reviewed and\n  changed (e.g. review feedback addressed), and the branches stacked on top of it now\n  need those changes\n- Do not use this to build a new stack from scratch: use\n  `\u002Fauto_task.execute_with_stacked_prs` for that\n- Follow `.claude\u002Fskills\u002Fauto_task.rules.md` section \"Ask for Clarification Before\n  Executing an Unclear Plan\" whenever a PR's description does not make clear what it\n  is meant to do: do not guess and merge blind\n\n# Workflow\n\n## Discover the Full Stack\n\n- Get the current PR:\n  ```bash\n  > gh pr view --json number,title,baseRefName,headRefName,url\n  ```\n- Walk upward from the current PR's `baseRefName`, following each branch's own PR\n  (`gh pr list --head \u003Cbase> --state all`), until reaching the repo's default branch\n  (`master`), to find the bottom of the stack\n- Walk downward from the current PR's `headRefName`, repeatedly finding the open PR\n  whose `baseRefName` equals the previous PR's `headRefName`\n  (`gh pr list --base \u003Cbranch> --state open`), to find the top of the stack\n- Order the discovered PRs bottom (based on `master`) to top\n- Check whether the bottom PR itself is behind the default branch:\n  ```bash\n  > gh pr view \u003Cbottom PR> --json mergeable,mergeStateStatus\n  ```\n  If `mergeable` is `CONFLICTING` (or the branch is simply behind), treat the default\n  branch as an implicit `PR_0` at the bottom of the stack: it needs the same\n  merge-forward treatment as every other pair before the rest of the stack can end up\n  mergeable\n\n## Print the Stack\n\n- Print one table with columns `#`, `Branch`, `PR` (`#\u003CNUM> — \u003Ctitle>`), `Base`, e.g.:\n  ```\n  +---+--------------------+-----------------------------------------------+--------+\n  | # | Branch             | PR                                             | Base   |\n  +---+--------------------+-----------------------------------------------+--------+\n  | 1 | ..._invoke_tasks   | #1423 -- auto-pick suffix in git_branch_create | master |\n  | 2 | ..._invoke_tasks_2 | #1424 -- unit tests for git_*\u002Fgh_* tasks       | #1423  |\n  +---+--------------------+-----------------------------------------------+--------+\n  ```\n\n## Create and Confirm the Propagation Plan\n\n- Create `plan-auto_task.restack.md` listing, for every consecutive pair\n  `(PR_i, PR_i+1)` in the stack, including the `(master, PR_1)` pair when the bottom\n  PR is behind the default branch (see \"Discover the Full Stack\" above):\n  - What `PR_i` changed, from its GH description and\n    `git diff \u003Cbase_i>...\u003Chead_i>`\n  - What needs to merge into `PR_i+1`, and which files are likely to conflict\n    (touched by both `PR_i` and `PR_i+1`)\n- Wait for the user to confirm this plan before touching any branch\n- Follow `.claude\u002Fskills\u002Fauto_task.rules.md` section \"Ask for Clarification Before\n  Executing an Unclear Plan\" if a PR's own description does not explain its changes\n  well enough to resolve conflicts correctly\n\n## Propagate Changes Down the Stack\n\n- Process pairs bottom-up, one at a time, so each merge already includes everything\n  propagated so far, starting with `(master, PR_1)` when that pair is in the plan\n- For each pair `(PR_i, PR_i+1)` or `(master, PR_1)`:\n  - Read `PR_i`'s description (`gh pr view \u003CPR_i> --json body,title`) so conflicts\n    get resolved in line with its intent, not blindly\n  - Immediately before merging, `git fetch` and confirm the local branch tip matches\n    `origin\u002F\u003Cbranch_i+1>`: another process or session can push to a branch mid-stack\n    while this skill is running, and merging on top of a stale local copy silently\n    drops those commits\n    ```bash\n    > git fetch origin \u003Cbranch_i> \u003Cbranch_i+1>\n    > git checkout \u003Cbranch_i+1>\n    > git reset --hard origin\u002F\u003Cbranch_i+1>\n    > git merge origin\u002F\u003Cbranch_i>\n    ```\n  - Resolve any conflicts by hand, favoring the intent of `PR_i`'s change; do not use\n    `git rebase` and do not force-push, so history stays intact\n  - Follow `.claude\u002Fskills\u002Fcoding.rules.md` and `.claude\u002Fskills\u002Ftesting.rules.md`\n    while resolving conflicts in code and tests\n  - Commit the merge and push: `git push`. If the push is rejected because\n    `origin\u002F\u003Cbranch_i+1>` moved again, re-fetch and redo the merge rather than\n    force-pushing over it\n- Repeat up through the top of the stack\n\n## Make Every PR Mergeable\n\n- For every PR in the stack, in order, run `\u002Fgithub.get_pr_ready_to_merge` to get its\n  CI green\n- After propagation, confirm mergeability:\n  ```bash\n  > gh pr view \u003CNUM> --json mergeable,mergeStateStatus\n  ```\n\n## Report Only Failures\n\n- Do not post a comment on a PR that merged cleanly and passed CI\n- If a PR hits an unresolved conflict or a CI failure that needs human input, post\n  one comment on it explaining the problem:\n  ```bash\n  > gh pr comment \u003CNUM> --body \"\u003Cwhat failed and why>\"\n  ```\n- Also stop and describe the problem to the user directly rather than leaving it only\n  in a PR comment\n\n# Conventions\n\n- Follow `.claude\u002Fskills\u002Fauto_task.rules.md` for clarification conventions\n- Follow `.claude\u002Fskills\u002Fcoding.rules.md` and `.claude\u002Fskills\u002Ftesting.rules.md` when\n  resolving conflicts\n- Follow `.claude\u002Fskills\u002Fgithub.get_pr_ready_to_merge\u002FSKILL.md` to get each PR's CI\n  green\n\n# Constraints\n\n- Never rebase or force-push a branch in the stack: propagate with merge commits\n  only, to preserve review history\n- Never merge any PR: merging remains the user's decision\n- Never skip a PR in the stack or reorder the propagation: always go strictly\n  bottom-up\n- Never guess the intent of an unclear PR when resolving a conflict: stop and ask\n  instead\n- Never merge\u002Fbuild on a local branch copy without re-fetching first: a concurrent\n  session or an auto-commit\u002Fauto-push process on the same machine can move a branch\n  in the stack while this skill is running\n\n# Verification\n\n- [ ] The full stack was discovered from `master` up through the top PR, matching\n      GitHub's actual base chain, and the bottom PR's mergeability against `master`\n      was checked\n- [ ] `plan-auto_task.restack.md` lists every consecutive pair and was confirmed by\n      the user before any branch was touched\n- [ ] Every merge between stacked branches is a merge commit, not a rebase; no branch\n      was force-pushed\n- [ ] `gh pr view \u003CNUM> --json mergeable` reports `MERGEABLE` for every PR in the\n      stack\n- [ ] `\u002Fgithub.get_pr_ready_to_merge` ran on every PR and its CI is green\n- [ ] A PR comment exists only for PRs that hit a conflict or CI failure needing\n      human input\n",{"model":30,"description":7},"sonnet","master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Fauto_task.restack",1,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify-ai.github.io\u002Fhelpers\u002F","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 21:54:29",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add causify-ai\u002Fhelpers --skill auto_task.restack",{"tool":45,"command":46},"bunx","bunx skills add causify-ai\u002Fhelpers --skill auto_task.restack",{"tool":48,"command":49},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill auto_task.restack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fauto_task.restack\u002FSKILL.md",true,[],[54,75,93,105,114,127],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":65,"publishedAt":25},"01M6F209RASRBEK7GBNG5M00K0","tutorial_in_60_mins.propagate_docker_changes","Sync tutorial and class-project Docker files to match project_template","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[60],{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[66,67,68,24,69,70,71,72,73,74],"docker","tutorial","tutorial in 60 mins propagate docker changes","template","sync","haiku","files","project","match",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":84,"publishedAt":25},"01M6F207XZ5YDAJ0KNDRE6EN0R","tutorial_in_60_mins.merge_markdown","Merge the content of a markdown file into a Jupyter notebook","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[81],{"categoryNo":82,"categoryName":83,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000002","文档处理",[85,86,67,87,88,89,71,90,91,92],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":25},"01M6F2059X95Q1A13HD67E9JRF","tutorial_in_60_mins.format","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[],[100,67,101,102,103,71,104],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":25},"01M6F202MDHMNYD5S1YHG2PKZD","tutorial_in_60_mins.create","Create a tutorial directory for the Learn X in 60 Minutes conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[],[112,67,113,103,102,104],"tutorial in 60 mins create","create",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":25},"01M6F2004BW13GQ59N3RGSAYVN","todo.reorg_in_progress","Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_in_progress\u002FSKILL.md",[],[121,122,123,124,125,21,126],"progress","todo","todo reorg in progress","tasks","queue","stage",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":25},"01M6F1ZXN0G6HBD08GT8HE5FYA","todo.reorg_headers","Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_headers\u002FSKILL.md",[],[134,122,125,21,126],"todo reorg headers"]