[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AHDJRHRFWNP1BREW50PBKJ":3,"skill-same:01M7AHDJRHRFWNP1BREW50PBKJ":45},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7AHDJRHRFWNP1BREW50PBKJ","worktree-status",null,"Report which git worktrees, branches, and PRs are done or ready to merge. Use when asking what's ready to merge, which worktrees or branches are done, or the status of worktrees, branches, and PRs across the repo. Fetches remote refs, then reports deterministically. NOT a session bootstrap (use \u002Fcatchup) or a pipeline gate (use \u002Fvalidate); never edits worktrees.","SamyakJhaveri\u002Floam","SamyakJhaveri","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39847642?v=4","01M7AH87180VZDSRHE20JD1S32","Samyak Jhaveri","01M7AH871WNGEHDVNXJM2B520R",0,"MIT","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fcultivation\u002Fparked\u002Fsam-cc-setup\u002Fskills\u002Fworktree-status\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: worktree-status\ndescription: \"Report which git worktrees, branches, and PRs are done or ready to merge. Use when asking what's ready to merge, which worktrees or branches are done, or the status of worktrees, branches, and PRs across the repo. Fetches remote refs, then reports deterministically. NOT a session bootstrap (use \u002Fcatchup) or a pipeline gate (use \u002Fvalidate); never edits worktrees.\"\nargument-hint: \"[optional: a single branch name to filter to]\"\n---\n\n# Worktree \u002F Branch \u002F PR Status\n\nA deterministic merge-readiness snapshot across every worktree and open PR.\nNo agents, no LLM judgment beyond rendering the table - every cell comes from `git`\u002F`gh`.\n\n**Trigger:** user types `\u002Fworktree-status`, or asks \"what's ready to merge?\", \"which\nworktrees\u002Fbranches are done?\", \"status of the branches\u002FPRs?\".\n\n## Iron Law\n\n```\nNO WORKTREE WRITES - this skill may run `git fetch --no-write-fetch-head --prune origin`\nto refresh remote-tracking refs, but it never edits files, commits, pushes, or deletes\nbranches.\n```\n\n## Why absolute paths\n\nThe shell's working directory is not stable across the calls in this survey - it can reset to\nthe main repo root between commands. Resolve the root once and route every command through\n`git -C \"$ROOT\"` so the survey is correct no matter which worktree the shell sits in.\n`git worktree list` from *any* worktree lists them all, so anchoring on the main root is\ncorrect.\n\n## Workflow\n\n### Step 1 - Collect (run these; capture output, do not guess)\n\n```bash\nROOT=$(git rev-parse --show-toplevel)\n\n# All worktrees + their checked-out branch (skip detached-HEAD lines)\ngit -C \"$ROOT\" worktree list --porcelain\n\n# Refresh the merge baseline before computing readiness. Avoid FETCH_HEAD because\n# the report only needs remote-tracking refs. If the fetch (or origin\u002Fmain) is\n# unavailable - offline, or a sandbox that blocks .git writes - DEGRADE to local\n# `main` instead of aborting, and flag the baseline as stale so the verdict is honest.\nBASE=origin\u002Fmain\nSTALE_BASELINE=0\nif git -C \"$ROOT\" fetch --no-write-fetch-head --prune origin 2>\u002Fdev\u002Fnull \\\n   && git -C \"$ROOT\" rev-parse --verify --quiet origin\u002Fmain >\u002Fdev\u002Fnull; then\n  BASE=origin\u002Fmain\nelse\n  BASE=main\n  STALE_BASELINE=1\nfi\n\n# Open PRs as JSON (branch, number, draft\u002Freview\u002Fcheck\u002Fmerge status)\ngh pr list --state open --limit 200 \\\n  --json number,headRefName,title,state,isDraft,reviewDecision,mergeable,mergeStateStatus,statusCheckRollup\n\n```\n\nAll ahead\u002Fbehind counts below are relative to `$BASE` - the freshly fetched `origin\u002Fmain` when the\nfetch succeeds, otherwise local `main` (which can lag origin). When `STALE_BASELINE == 1`, print a\nbold warning banner **above** the table before anything else:\n\n> **⚠ Baseline may be stale - `git fetch` failed (offline or a sandbox blocking `.git` writes).\n> ahead\u002Fbehind and the STALE verdict are computed vs local `main`, not fresh `origin\u002Fmain`. Run\n> `git fetch` for an accurate merge-readiness verdict.** (READY-TO-MERGE stays reliable - it is driven\n> by the PR's own `mergeable`\u002F`mergeStateStatus` from `gh`, which does not depend on the local baseline.)\n\nIf there may be more than 200 open PRs, paginate `gh pr list` instead of trusting the\nbounded list; otherwise open PRs past the limit can be hidden from the report.\n\nFor **each** branch reported by `worktree list` (filter to `$ARGUMENTS` if a branch name\nwas passed), strip the `refs\u002Fheads\u002F` prefix from the porcelain branch ref before matching\nPRs, then compute the three per-branch signals:\n\n```bash\nbranch_ref=\"refs\u002Fheads\u002F\u003Cbranch-from-porcelain>\"\nbranch=\"${branch_ref#refs\u002Fheads\u002F}\"\nworktree_path=\"\u003Cworktree-path-from-porcelain>\"\n\n# ahead of the baseline (commits on the branch not yet in $BASE)\ngit -C \"$ROOT\" rev-list --count \"$BASE..$branch\"\n# behind the baseline (commits in $BASE not yet on the branch)\ngit -C \"$ROOT\" rev-list --count \"$branch..$BASE\"\n# dirty (uncommitted changes in that worktree)\ngit -C \"$worktree_path\" status --porcelain | wc -l\n```\n\n### Step 2 - Render ONE table\n\nJoin the per-branch signals with the PR JSON (match `headRefName` == normalized bare\n`branch`) and render a single Markdown table:\n\n| worktree | branch | ahead\u002Fbehind base | dirty | PR | verdict |\n|----------|--------|-------------------|-------|----|---------|\n\n- **ahead\u002Fbehind base** - `\u003Cahead>↑ \u002F \u003Cbehind>↓` vs `$BASE` (fresh `origin\u002Fmain`, or local `main` if\n  the fetch degraded - see the stale-baseline banner).\n- **dirty** - the porcelain line count (0 = clean).\n- **PR** - `#\u003Cnumber> \u003Cstate\u002Fdraft\u002FreviewDecision\u002Fmergeable\u002FmergeStateStatus\u002Fchecks>`,\n  or `—` if no open PR.\n\n### Step 3 - Verdict per row (deterministic; first match wins)\n\n1. **READY-TO-MERGE** - has an open PR **and** `state == \"OPEN\"` **and**\n   `isDraft == false` **and** `mergeable == \"MERGEABLE\"` **and**\n   `mergeStateStatus == \"CLEAN\"` **and** `reviewDecision` is `APPROVED` or empty\n   (no review required) **and** `statusCheckRollup` has no failing, pending, expected,\n   action-required, or cancelled entries **and** `dirty == 0`.\n2. **IN-PROGRESS** - `dirty > 0` (uncommitted work) **or** `ahead > 0` with no merge-ready\n   PR (in-flight\u002Funpushed commits). Checked before STALE so an actively-dirty checkout that\n   happens to be level with main still reads IN-PROGRESS, not STALE.\n3. **STALE** - `ahead == 0` **and** clean (nothing to merge: already merged, or empty branch).\n\nDetached-HEAD worktrees have no branch - skip them in the table (note the count separately).\n\n### Step 4 - Summary + PRs with no worktree\n\nAfter the table:\n- One-liner: `N ready · M in-progress · K stale` (+ `D detached` if any).\n- **Open PRs with no local worktree** - any `gh pr list` branch that did not appear as a\n  worktree row. List them (`#\u003Cn> \u003Cbranch> \u003Cmergeable>`) so a merge-ready PR is never hidden\n  just because its branch isn't checked out locally.\n\n## What NOT to do\n\n- Not a replacement for `\u002Fcatchup` (session bootstrap) or `\u002Fvalidate` (pipeline gate).\n- Never edit files, commit, push, or delete a branch\u002Fworktree - reporting only after\n  refreshing remote-tracking refs.\n- Don't infer merge readiness from memory or a prior summary - recompute from `git`\u002F`gh`.\n","# Worktree \u002F Branch \u002F PR Status\n\nA deterministic merge-readiness snapshot across every worktree and open PR.\nNo agents, no LLM judgment beyond rendering the table - every cell comes from `git`\u002F`gh`.\n\n**Trigger:** user types `\u002Fworktree-status`, or asks \"what's ready to merge?\", \"which\nworktrees\u002Fbranches are done?\", \"status of the branches\u002FPRs?\".\n\n## Iron Law\n\n```\nNO WORKTREE WRITES - this skill may run `git fetch --no-write-fetch-head --prune origin`\nto refresh remote-tracking refs, but it never edits files, commits, pushes, or deletes\nbranches.\n```\n\n## Why absolute paths\n\nThe shell's working directory is not stable across the calls in this survey - it can reset to\nthe main repo root between commands. Resolve the root once and route every command through\n`git -C \"$ROOT\"` so the survey is correct no matter which worktree the shell sits in.\n`git worktree list` from *any* worktree lists them all, so anchoring on the main root is\ncorrect.\n\n## Workflow\n\n### Step 1 - Collect (run these; capture output, do not guess)\n\n```bash\nROOT=$(git rev-parse --show-toplevel)\n\n# All worktrees + their checked-out branch (skip detached-HEAD lines)\ngit -C \"$ROOT\" worktree list --porcelain\n\n# Refresh the merge baseline before computing readiness. Avoid FETCH_HEAD because\n# the report only needs remote-tracking refs. If the fetch (or origin\u002Fmain) is\n# unavailable - offline, or a sandbox that blocks .git writes - DEGRADE to local\n# `main` instead of aborting, and flag the baseline as stale so the verdict is honest.\nBASE=origin\u002Fmain\nSTALE_BASELINE=0\nif git -C \"$ROOT\" fetch --no-write-fetch-head --prune origin 2>\u002Fdev\u002Fnull \\\n   && git -C \"$ROOT\" rev-parse --verify --quiet origin\u002Fmain >\u002Fdev\u002Fnull; then\n  BASE=origin\u002Fmain\nelse\n  BASE=main\n  STALE_BASELINE=1\nfi\n\n# Open PRs as JSON (branch, number, draft\u002Freview\u002Fcheck\u002Fmerge status)\ngh pr list --state open --limit 200 \\\n  --json number,headRefName,title,state,isDraft,reviewDecision,mergeable,mergeStateStatus,statusCheckRollup\n\n```\n\nAll ahead\u002Fbehind counts below are relative to `$BASE` - the freshly fetched `origin\u002Fmain` when the\nfetch succeeds, otherwise local `main` (which can lag origin). When `STALE_BASELINE == 1`, print a\nbold warning banner **above** the table before anything else:\n\n> **⚠ Baseline may be stale - `git fetch` failed (offline or a sandbox blocking `.git` writes).\n> ahead\u002Fbehind and the STALE verdict are computed vs local `main`, not fresh `origin\u002Fmain`. Run\n> `git fetch` for an accurate merge-readiness verdict.** (READY-TO-MERGE stays reliable - it is driven\n> by the PR's own `mergeable`\u002F`mergeStateStatus` from `gh`, which does not depend on the local baseline.)\n\nIf there may be more than 200 open PRs, paginate `gh pr list` instead of trusting the\nbounded list; otherwise open PRs past the limit can be hidden from the report.\n\nFor **each** branch reported by `worktree list` (filter to `$ARGUMENTS` if a branch name\nwas passed), strip the `refs\u002Fheads\u002F` prefix from the porcelain branch ref before matching\nPRs, then compute the three per-branch signals:\n\n```bash\nbranch_ref=\"refs\u002Fheads\u002F\u003Cbranch-from-porcelain>\"\nbranch=\"${branch_ref#refs\u002Fheads\u002F}\"\nworktree_path=\"\u003Cworktree-path-from-porcelain>\"\n\n# ahead of the baseline (commits on the branch not yet in $BASE)\ngit -C \"$ROOT\" rev-list --count \"$BASE..$branch\"\n# behind the baseline (commits in $BASE not yet on the branch)\ngit -C \"$ROOT\" rev-list --count \"$branch..$BASE\"\n# dirty (uncommitted changes in that worktree)\ngit -C \"$worktree_path\" status --porcelain | wc -l\n```\n\n### Step 2 - Render ONE table\n\nJoin the per-branch signals with the PR JSON (match `headRefName` == normalized bare\n`branch`) and render a single Markdown table:\n\n| worktree | branch | ahead\u002Fbehind base | dirty | PR | verdict |\n|----------|--------|-------------------|-------|----|---------|\n\n- **ahead\u002Fbehind base** - `\u003Cahead>↑ \u002F \u003Cbehind>↓` vs `$BASE` (fresh `origin\u002Fmain`, or local `main` if\n  the fetch degraded - see the stale-baseline banner).\n- **dirty** - the porcelain line count (0 = clean).\n- **PR** - `#\u003Cnumber> \u003Cstate\u002Fdraft\u002FreviewDecision\u002Fmergeable\u002FmergeStateStatus\u002Fchecks>`,\n  or `—` if no open PR.\n\n### Step 3 - Verdict per row (deterministic; first match wins)\n\n1. **READY-TO-MERGE** - has an open PR **and** `state == \"OPEN\"` **and**\n   `isDraft == false` **and** `mergeable == \"MERGEABLE\"` **and**\n   `mergeStateStatus == \"CLEAN\"` **and** `reviewDecision` is `APPROVED` or empty\n   (no review required) **and** `statusCheckRollup` has no failing, pending, expected,\n   action-required, or cancelled entries **and** `dirty == 0`.\n2. **IN-PROGRESS** - `dirty > 0` (uncommitted work) **or** `ahead > 0` with no merge-ready\n   PR (in-flight\u002Funpushed commits). Checked before STALE so an actively-dirty checkout that\n   happens to be level with main still reads IN-PROGRESS, not STALE.\n3. **STALE** - `ahead == 0` **and** clean (nothing to merge: already merged, or empty branch).\n\nDetached-HEAD worktrees have no branch - skip them in the table (note the count separately).\n\n### Step 4 - Summary + PRs with no worktree\n\nAfter the table:\n- One-liner: `N ready · M in-progress · K stale` (+ `D detached` if any).\n- **Open PRs with no local worktree** - any `gh pr list` branch that did not appear as a\n  worktree row. List them (`#\u003Cn> \u003Cbranch> \u003Cmergeable>`) so a merge-ready PR is never hidden\n  just because its branch isn't checked out locally.\n\n## What NOT to do\n\n- Not a replacement for `\u002Fcatchup` (session bootstrap) or `\u002Fvalidate` (pipeline gate).\n- Never edit files, commit, push, or delete a branch\u002Fworktree - reporting only after\n  refreshing remote-tracking refs.\n- Don't infer merge readiness from memory or a prior summary - recompute from `git`\u002F`gh`.\n",{"name":5,"description":7,"argument-hint":24},"[optional: a single branch name to filter to]","main","85a41de587b98bb440cccf78f081a6bee67fe90e","cultivation\u002Fparked\u002Fsam-cc-setup\u002Fskills\u002Fworktree-status","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri","2026-11-15 04:06:30",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SamyakJhaveri\u002Floam --skill worktree-status",{"tool":37,"command":38},"bunx","bunx skills add SamyakJhaveri\u002Floam --skill worktree-status",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SamyakJhaveri\u002Floam --skill worktree-status","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fcultivation\u002Fparked\u002Fsam-cc-setup\u002Fskills\u002Fworktree-status\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7AHGVPTGK3JGQ9XYG5XJ6PR","verify-loam","Prove a Loam change in a real rendered project: copier-render this checkout, then drive headless and interactive Claude Code sessions, stubbed Codex runs and copier updates in the render and capture hook, memory, deny-rule, update and check evidence. Use before shipping any seed, hook, settings or copier.yml change.","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fseed\u002F.claude\u002Fskills\u002Fverify-loam\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7AHGEDXX7GWJ32S9BZAEWAJ","hypothesis-tree","Persistent hypothesis tree for multi-step, multi-session investigations. Use when a \"why does X fail\" question branches into sub-hypotheses that must survive across sessions, or when falsifiable claims need tracking with dated, linked evidence. Maintains one markdown file with add, update, review, and prune subcommands, each gated on verifying the cited evidence file exists and supports the claim. NOT for a single-session bug hunt, a one-command question, or general note-taking.","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fseed\u002F.agents\u002Fskills\u002Fhypothesis-tree\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7AHGADA1CX9M0B0QSFJYGW5","fable-prompting","Which Claude Fable 5.2 guide sections you can act on from a session, and which Claude Code already injects. Use before writing a Fable session prompt or brief.","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fseed\u002F.agents\u002Fskills\u002Ffable-prompting\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7AHG7AGBSQ6HH04C70TSM8H","catchup","Read-only session bootstrap briefing of git state, commits, handoff, tasks and red flags. Use when resuming work, starting a fresh session, or unsure of project state.","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fseed\u002F.agents\u002Fskills\u002Fcatchup\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AHG52XX2N7AT7JNHS6MN1S","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fdocs\u002Farchive\u002Farchitecture-working\u002Ftooling\u002Fmattpocock-skills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AHG00SXGAGJA7C6XA193J6","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002FSamyakJhaveri\u002Floam\u002Fblob\u002Fmain\u002Fdocs\u002Farchive\u002Farchitecture-working\u002Ftooling\u002Fmattpocock-skills\u002Fwizard\u002FSKILL.md",[],[]]