[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CW61RBD263C8FFS0CCQ67J":3,"skill-same:01M7CW61RBD263C8FFS0CCQ67J":47},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M7CW61RBD263C8FFS0CCQ67J","pr-all-repos",null,"Create PRs in all sub-repos with uncommitted branches, then link them as siblings","navikt\u002Fcrm-hot-ai","navikt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11848947?v=4","01M73951HJ1NES3SDFYH4AKNRK","Nav IT","01M7CW5F7FJ1H9TN6RZC4GMBY1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-all-repos\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pr-all-repos\ndescription: Create PRs in all sub-repos with uncommitted branches, then link them as siblings\nuser-invocable: true\norigin: template\n---\n\n# PR All Repos\n\nCreate pull requests across all sub-repos that have branches ready for review, then cross-link them as sibling PRs.\n\n## Prerequisites\n\n- `gh` CLI must be authenticated (`gh auth status`)\n- Each sub-repo must have a remote configured\n\n## Order of Operations\n\n1. **Scan** — identify repos with PR-ready branches\n2. **Create PRs** — open a PR in each qualifying repo\n3. **Cross-link** — update each PR description with sibling PR URLs\n\n## Step 1: Scan\n\nFor each directory in `repos\u002F*\u002F` that is a git repository:\n\n1. Check the current branch: `git -C repos\u002F\u003Cname> branch --show-current`\n2. **Skip** if on the default branch (main\u002Fmaster) — nothing to PR\n3. Check if a PR already exists for this branch: `gh pr view --repo \u003Cremote> --json url 2>\u002Fdev\u002Fnull`\n4. **Skip** if a PR already exists — but record its URL for cross-linking\n5. Check if the branch has been pushed: `git -C repos\u002F\u003Cname> log @{u}..HEAD 2>\u002Fdev\u002Fnull`\n6. If unpushed commits exist, push first: `git -C repos\u002F\u003Cname> push -u origin \u003Cbranch>`\n\nCollect the list of repos that need new PRs and repos that already have PRs.\n\n## Step 2: Create PRs\n\nFor each repo that needs a new PR:\n\n1. `cd` into the repo directory\n2. Read `git log --oneline main..\u003Cbranch>` (or master) to understand the changes\n3. Draft a PR title (short, under 70 characters) and body\n4. Create the PR:\n\n```bash\ngh pr create --title \"\u003Ctitle>\" --body \"$(cat \u003C\u003C'EOF'\n## Summary\n\u003Cbullet points describing changes>\n\n## Sibling PRs\n\u003C!-- Will be updated with cross-links -->\n\n## Test Plan\n- [ ] \u003Ctesting steps>\n\n🤖 Generated with [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code)\nEOF\n)\"\n```\n\n5. Record the PR URL\n\n## Step 3: Cross-Link\n\nAfter all PRs are created (or found existing), do a second pass:\n\nFor each PR (new and existing), update its description to include a \"Sibling PRs\" section listing all other PRs in this batch:\n\n```markdown\n## Sibling PRs\n- [frontend#42](https:\u002F\u002Fgithub.com\u002Forg\u002Ffrontend\u002Fpull\u002F42) — Update auth UI components\n- [infra#18](https:\u002F\u002Fgithub.com\u002Forg\u002Finfra\u002Fpull\u002F18) — Add new IAM role for auth service\n```\n\nUse `gh pr edit \u003Cnumber> --repo \u003Cremote> --body \"\u003Cupdated body>\"` to update descriptions.\n\n## Branch Name Convention\n\nIf all repos share the same branch name (e.g., `feature\u002FENG-123-auth-redesign`), note the ticket ID in the summary. If branch names differ across repos, still link them — the sibling PR section is the coordination mechanism.\n\n## Arguments\n\nThe user may optionally specify:\n- A base branch: `\u002Fpr-all-repos --base develop` (default: `main`)\n- A subset of repos: `\u002Fpr-all-repos frontend backend-api` (default: all repos with non-default branches)\n\n## Summary\n\nReport a table at the end:\n\n| Repo | PR | Status |\n|------|-----|--------|\n| `frontend` | [#42](url) | Created |\n| `backend-api` | [#15](url) | Already existed — updated with sibling links |\n| `infra` | — | Skipped (on main) |\n\n## Notes\n\n- Never force-push\n- If `gh` is not authenticated, inform the user and stop\n- If a repo has no remote, skip it with a warning\n- Preserve any existing PR description content when adding sibling links — only add\u002Fupdate the \"Sibling PRs\" section\n","# PR All Repos\n\nCreate pull requests across all sub-repos that have branches ready for review, then cross-link them as sibling PRs.\n\n## Prerequisites\n\n- `gh` CLI must be authenticated (`gh auth status`)\n- Each sub-repo must have a remote configured\n\n## Order of Operations\n\n1. **Scan** — identify repos with PR-ready branches\n2. **Create PRs** — open a PR in each qualifying repo\n3. **Cross-link** — update each PR description with sibling PR URLs\n\n## Step 1: Scan\n\nFor each directory in `repos\u002F*\u002F` that is a git repository:\n\n1. Check the current branch: `git -C repos\u002F\u003Cname> branch --show-current`\n2. **Skip** if on the default branch (main\u002Fmaster) — nothing to PR\n3. Check if a PR already exists for this branch: `gh pr view --repo \u003Cremote> --json url 2>\u002Fdev\u002Fnull`\n4. **Skip** if a PR already exists — but record its URL for cross-linking\n5. Check if the branch has been pushed: `git -C repos\u002F\u003Cname> log @{u}..HEAD 2>\u002Fdev\u002Fnull`\n6. If unpushed commits exist, push first: `git -C repos\u002F\u003Cname> push -u origin \u003Cbranch>`\n\nCollect the list of repos that need new PRs and repos that already have PRs.\n\n## Step 2: Create PRs\n\nFor each repo that needs a new PR:\n\n1. `cd` into the repo directory\n2. Read `git log --oneline main..\u003Cbranch>` (or master) to understand the changes\n3. Draft a PR title (short, under 70 characters) and body\n4. Create the PR:\n\n```bash\ngh pr create --title \"\u003Ctitle>\" --body \"$(cat \u003C\u003C'EOF'\n## Summary\n\u003Cbullet points describing changes>\n\n## Sibling PRs\n\u003C!-- Will be updated with cross-links -->\n\n## Test Plan\n- [ ] \u003Ctesting steps>\n\n🤖 Generated with [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code)\nEOF\n)\"\n```\n\n5. Record the PR URL\n\n## Step 3: Cross-Link\n\nAfter all PRs are created (or found existing), do a second pass:\n\nFor each PR (new and existing), update its description to include a \"Sibling PRs\" section listing all other PRs in this batch:\n\n```markdown\n## Sibling PRs\n- [frontend#42](https:\u002F\u002Fgithub.com\u002Forg\u002Ffrontend\u002Fpull\u002F42) — Update auth UI components\n- [infra#18](https:\u002F\u002Fgithub.com\u002Forg\u002Finfra\u002Fpull\u002F18) — Add new IAM role for auth service\n```\n\nUse `gh pr edit \u003Cnumber> --repo \u003Cremote> --body \"\u003Cupdated body>\"` to update descriptions.\n\n## Branch Name Convention\n\nIf all repos share the same branch name (e.g., `feature\u002FENG-123-auth-redesign`), note the ticket ID in the summary. If branch names differ across repos, still link them — the sibling PR section is the coordination mechanism.\n\n## Arguments\n\nThe user may optionally specify:\n- A base branch: `\u002Fpr-all-repos --base develop` (default: `main`)\n- A subset of repos: `\u002Fpr-all-repos frontend backend-api` (default: all repos with non-default branches)\n\n## Summary\n\nReport a table at the end:\n\n| Repo | PR | Status |\n|------|-----|--------|\n| `frontend` | [#42](url) | Created |\n| `backend-api` | [#15](url) | Already existed — updated with sibling links |\n| `infra` | — | Skipped (on main) |\n\n## Notes\n\n- Never force-push\n- If `gh` is not authenticated, inform the user and stop\n- If a repo has no remote, skip it with a warning\n- Preserve any existing PR description content when adding sibling links — only add\u002Fupdate the \"Sibling PRs\" section\n",{"name":5,"origin":24,"description":7,"user-invocable":25},"template",true,"main","09710a1169d1ba00c363e01a21aa1c821efbc822",".agents\u002Fskills\u002Fpr-all-repos","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai","https:\u002F\u002Fgithub.com\u002Fnavikt","https:\u002F\u002Fnav.no","Arbeids- og velferdsdirektoratet - The Norwegian Labour and Welfare Directorate","2026-09-16 16:16:40",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":25},[36,39,42],{"tool":37,"command":38},"npx","npx skills add navikt\u002Fcrm-hot-ai --skill pr-all-repos",{"tool":40,"command":41},"bunx","bunx skills add navikt\u002Fcrm-hot-ai --skill pr-all-repos",{"tool":43,"command":44},"pnpm","pnpm dlx skills add navikt\u002Fcrm-hot-ai --skill pr-all-repos","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-all-repos\u002FSKILL.md",[],[48,55,62,69,76,81],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CW6ZHQ45TXZB05E7P4A1JK","update-all-md-docs","Review and update all markdown docs in the repo-of-repos (excluding cloned repos)","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-all-md-docs\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CW6Y44MDWWX5A21DKFEFJY","sync-template","Pull latest repo-of-repos template updates into this workspace","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsync-template\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CW6VFR1K7HHQPWMJ6BFJ8B","remove-repository","Remove a repo or local folder from repos\u002F, updating repos.yaml, repos.md, and .gitignore","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremove-repository\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CW6RXS9BKN2H6E2VQ0D4GM","pull-all-repos","Clone\u002Fpull git repos, verify local folders, auto-register orphans, and regenerate repos.md","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpull-all-repos\u002FSKILL.md",[],[],{"skillNo":77,"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":78,"categories":79,"keywords":80,"publishedAt":19},"01M7CW6QFYBYFJ8MW963J9TDX1","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr-all-repos\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},"01M7CW6NY3BCKE081J1JNP71ZR","implement-plan","Execute a plan from _plans\u002F, implementing steps, checking off tasks, running tests, and documenting fixes","https:\u002F\u002Fgithub.com\u002Fnavikt\u002Fcrm-hot-ai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplement-plan\u002FSKILL.md",[],[]]