[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4QPWPR2T87GQ1HXFN0XXP":3,"skill-same:01M6C4QPWPR2T87GQ1HXFN0XXP":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":16,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":16,"updatedAt":56,"install":57,"resources":70},"01M6C4QPWPR2T87GQ1HXFN0XXP","main-branch-to-pr","主分支变更PR提交","Verify on main, build\u002Ftest, create a branch, commit changes, open a GitHub PR, merge it, and clean up. Use this when asked to ship changes via PR from main.","在 main 分支上验证，执行构建\u002F测试，创建分支，提交变更，发起 GitHub PR，合并并清理。当被要求通过 PR 从 main 分支交付变更时使用。","ncoderz\u002Fawa","ncoderz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F124541034?v=4","01M6C4PHT3RMHEY3TK3TJKYX5F","01M6C4PHXT7RAP268HGXCRF8QA",1,"BSD-3-Clause",null,"https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmain-branch-to-pr\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43],"pr","branch","main branch to pr","github","test","commit","merge","create","verify","ship","open","use","up","commit changes","2026-11-10 10:12:30",false,"---\nname: main-branch-to-pr\ndescription: Verify on main, build\u002Ftest, create a branch, commit changes, open a GitHub PR, merge it, and clean up. Use this when asked to ship changes via PR from main.\n---\n\n# Ship Changes via PR from Main\n\n## User Input\n\n```text\n${input}\n```\n\nYou **MUST** consider the user input before proceeding (if not empty).\n\n## Action\n\nTake the current uncommitted changes on main, verify them, and ship them through a GitHub PR workflow: branch → commit → PR → merge → cleanup.\n\n## Process\n\n### 1. VERIFY ON MAIN\n\nConfirm the current branch is `main` (or the repo's default branch):\n\n```sh\ngit branch --show-current\n```\n\nIf the current branch is NOT `main`, **stop immediately** and inform the user:\n\n> \"Cannot proceed — current branch is `\u003Cbranch>`, not `main`. Please switch to `main` first.\"\n\nDo NOT attempt to checkout or switch branches.\n\nDo NOT attempt to pull — uncommitted changes will cause `git pull` to fail. The PR will target `origin\u002Fmain` so local main does not need to be up-to-date.\n\n### 2. VERIFY BUILD AND TESTS\n\nDiscover and run the project's build and test commands. Check for common patterns in order:\n\n| Check            | How to detect                                    |\n|------------------|--------------------------------------------------|\n| Node.js project  | `package.json` exists → `npm run build && npm test` (or `yarn`\u002F`pnpm`\u002F`bun` per lockfile) |\n| Rust project     | `Cargo.toml` exists → `cargo build && cargo test` |\n| Python project   | `pyproject.toml`\u002F`setup.py` → `python -m pytest`  |\n| Go project       | `go.mod` exists → `go build .\u002F... && go test .\u002F...` |\n| Other            | Look for `Makefile`, `justfile`, or CI config for build\u002Ftest commands |\n\nYou MUST NOT proceed if the build or tests fail. Prompt user to fix any issues first.\n\n### 3. CREATE BRANCH\n\nDerive a short, descriptive branch name from the changes:\n\n- Inspect changed files: `git diff --name-only` (unstaged), `git diff --cached --name-only` (staged), and `git ls-files --others --exclude-standard` (untracked)\n- Choose a prefix: `feat\u002F`, `fix\u002F`, `docs\u002F`, `refactor\u002F`, `chore\u002F`, `test\u002F`\n- Use kebab-case: e.g. `fix\u002Freq-schema-as-an-regex`, `feat\u002Fadd-overlay-support`\n\n```sh\ngit checkout -b \u003Cbranch-name>\n```\n\n### 4. STAGE AND COMMIT\n\nStage all changes and create a conventional commit:\n\n```sh\ngit add -A\ngit commit -m \"\u003Ctype>: \u003Cshort summary>\"\n```\n\nCommit message rules:\n- **type** — one of: `feat`, `fix`, `docs`, `refactor`, `chore`, `test`, `style`, `perf`, `ci`, `build`\n- **summary** — imperative mood, lowercase start, no period, max 128 chars\n- If changes span multiple concerns, prefer a single encompassing type or split into multiple commits\n\nExamples:\n- `feat: add overlay merging support`\n- `fix: allow AS AN in user story regex`\n- `docs: update CLI reference for check command`\n\n### 5. PUSH AND CREATE PR\n\nPush the branch and open a pull request with an explicit title and body:\n\n```sh\ngit push -u origin \u003Cbranch-name>\ngh pr create --title \"\u003Ctype>: \u003Csummary>\" --body \"\u003Cdescription of changes>\" --base main\n```\n\nThe title should match the commit message. The body should summarize what changed and why.\n\nThe PR URL will be printed in the output — no need to open a browser.\n\n### 6. MERGE THE PR\n\nMerge the pull request using squash merge (keeps history clean):\n\n```sh\ngh pr merge --squash --delete-branch\n```\n\nIf squash is not available, fall back to:\n\n```sh\ngh pr merge --merge --delete-branch\n```\n\n### 7. VERIFY CLEANUP\n\n`gh pr merge --delete-branch` automatically switches back to `main`, pulls the merged changes, and deletes both local and remote branches.\n\nVerify you are back on main:\n\n```sh\ngit branch --show-current\n```\n\nIf not on main (e.g. merge was done differently), clean up manually:\n\n```sh\ngit checkout main && git pull --ff-only\ngit branch -d \u003Cbranch-name> 2>\u002Fdev\u002Fnull\n```\n\n## Rules\n\nYou SHALL verify you are on `main` before proceeding and abort if not.\nYou SHALL verify the build and tests pass before creating a branch.\nYou SHALL use conventional commit message format (`type: summary`).\nYou SHALL NOT include `Claude` or any AI signature in commit messages.\nYou SHALL create the PR against `main` (or the repo's default branch).\nYou SHALL use `--delete-branch` when merging to auto-clean the remote branch.\nYou SHALL verify you are back on `main` after merging.\nYou SHALL stop and report if any step fails (build, test, push, PR creation, merge).\nYou SHOULD prefer squash merge to keep commit history clean.\nYou MAY split unrelated changes into separate commits if appropriate.\n","# Ship Changes via PR from Main\n\n## User Input\n\n```text\n${input}\n```\n\nYou **MUST** consider the user input before proceeding (if not empty).\n\n## Action\n\nTake the current uncommitted changes on main, verify them, and ship them through a GitHub PR workflow: branch → commit → PR → merge → cleanup.\n\n## Process\n\n### 1. VERIFY ON MAIN\n\nConfirm the current branch is `main` (or the repo's default branch):\n\n```sh\ngit branch --show-current\n```\n\nIf the current branch is NOT `main`, **stop immediately** and inform the user:\n\n> \"Cannot proceed — current branch is `\u003Cbranch>`, not `main`. Please switch to `main` first.\"\n\nDo NOT attempt to checkout or switch branches.\n\nDo NOT attempt to pull — uncommitted changes will cause `git pull` to fail. The PR will target `origin\u002Fmain` so local main does not need to be up-to-date.\n\n### 2. VERIFY BUILD AND TESTS\n\nDiscover and run the project's build and test commands. Check for common patterns in order:\n\n| Check            | How to detect                                    |\n|------------------|--------------------------------------------------|\n| Node.js project  | `package.json` exists → `npm run build && npm test` (or `yarn`\u002F`pnpm`\u002F`bun` per lockfile) |\n| Rust project     | `Cargo.toml` exists → `cargo build && cargo test` |\n| Python project   | `pyproject.toml`\u002F`setup.py` → `python -m pytest`  |\n| Go project       | `go.mod` exists → `go build .\u002F... && go test .\u002F...` |\n| Other            | Look for `Makefile`, `justfile`, or CI config for build\u002Ftest commands |\n\nYou MUST NOT proceed if the build or tests fail. Prompt user to fix any issues first.\n\n### 3. CREATE BRANCH\n\nDerive a short, descriptive branch name from the changes:\n\n- Inspect changed files: `git diff --name-only` (unstaged), `git diff --cached --name-only` (staged), and `git ls-files --others --exclude-standard` (untracked)\n- Choose a prefix: `feat\u002F`, `fix\u002F`, `docs\u002F`, `refactor\u002F`, `chore\u002F`, `test\u002F`\n- Use kebab-case: e.g. `fix\u002Freq-schema-as-an-regex`, `feat\u002Fadd-overlay-support`\n\n```sh\ngit checkout -b \u003Cbranch-name>\n```\n\n### 4. STAGE AND COMMIT\n\nStage all changes and create a conventional commit:\n\n```sh\ngit add -A\ngit commit -m \"\u003Ctype>: \u003Cshort summary>\"\n```\n\nCommit message rules:\n- **type** — one of: `feat`, `fix`, `docs`, `refactor`, `chore`, `test`, `style`, `perf`, `ci`, `build`\n- **summary** — imperative mood, lowercase start, no period, max 128 chars\n- If changes span multiple concerns, prefer a single encompassing type or split into multiple commits\n\nExamples:\n- `feat: add overlay merging support`\n- `fix: allow AS AN in user story regex`\n- `docs: update CLI reference for check command`\n\n### 5. PUSH AND CREATE PR\n\nPush the branch and open a pull request with an explicit title and body:\n\n```sh\ngit push -u origin \u003Cbranch-name>\ngh pr create --title \"\u003Ctype>: \u003Csummary>\" --body \"\u003Cdescription of changes>\" --base main\n```\n\nThe title should match the commit message. The body should summarize what changed and why.\n\nThe PR URL will be printed in the output — no need to open a browser.\n\n### 6. MERGE THE PR\n\nMerge the pull request using squash merge (keeps history clean):\n\n```sh\ngh pr merge --squash --delete-branch\n```\n\nIf squash is not available, fall back to:\n\n```sh\ngh pr merge --merge --delete-branch\n```\n\n### 7. VERIFY CLEANUP\n\n`gh pr merge --delete-branch` automatically switches back to `main`, pulls the merged changes, and deletes both local and remote branches.\n\nVerify you are back on main:\n\n```sh\ngit branch --show-current\n```\n\nIf not on main (e.g. merge was done differently), clean up manually:\n\n```sh\ngit checkout main && git pull --ff-only\ngit branch -d \u003Cbranch-name> 2>\u002Fdev\u002Fnull\n```\n\n## Rules\n\nYou SHALL verify you are on `main` before proceeding and abort if not.\nYou SHALL verify the build and tests pass before creating a branch.\nYou SHALL use conventional commit message format (`type: summary`).\nYou SHALL NOT include `Claude` or any AI signature in commit messages.\nYou SHALL create the PR against `main` (or the repo's default branch).\nYou SHALL use `--delete-branch` when merging to auto-clean the remote branch.\nYou SHALL verify you are back on `main` after merging.\nYou SHALL stop and report if any step fails (build, test, push, PR creation, merge).\nYou SHOULD prefer squash merge to keep commit history clean.\nYou MAY split unrelated changes into separate commits if appropriate.\n",{"name":5,"description":7},"main","bea98700680b1eafbad3f739117ef66e30c4b9ae",".github\u002Fskills\u002Fmain-branch-to-pr",0,"https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa","https:\u002F\u002Fgithub.com\u002Fncoderz","https:\u002F\u002Fncoderz.com","2026-08-13 06:47:47",{"source":9,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add ncoderz\u002Fawa --skill main-branch-to-pr",{"tool":63,"command":64},"bunx","bunx skills add ncoderz\u002Fawa --skill main-branch-to-pr",{"tool":66,"command":67},"pnpm","pnpm dlx skills add ncoderz\u002Fawa --skill main-branch-to-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmain-branch-to-pr\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"manifest.json","REFERENCE","参考文档",208,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTesting\u002FOfficial-DotNet-Test-Migration\u002Fskills\u002Fmigrate-mstest-v1v2-to-v3\u002Fmanifest.json",[78,99,116,135,154,168],{"skillNo":79,"name":80,"nameZh":81,"description":82,"descriptionZh":83,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":84,"categories":85,"keywords":90,"publishedAt":44},"01M6C4ZTJ9714M6WEBACQTV8ED","awa-vibe","awa 全流程开发实现","Implement an idea from start to finish using the full awa workflow. Use this when asked to take an idea through the complete development cycle.","使用完整的 awa 工作流从头到尾实现一个想法。当被要求将一个想法走完完整开发周期时使用。","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-vibe\u002FSKILL.md",[86,87],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":88,"categoryName":89,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BT7QVANT4709358VEJK53E","代码实现",[91,92,41,93,94,95,96,97,98],"awa vibe","vibe","start","development","workflow","implement","finish","take",{"skillNo":100,"name":101,"nameZh":102,"description":103,"descriptionZh":104,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":105,"categories":106,"keywords":111,"publishedAt":44},"01M6C4ZQZR114ABJE8HP0S0BDJ","awa-usage","awa 工具使用与配置","Understand awa, its CLI, and configuration. Use this when asked about awa itself, how to use it, or how to configure it.","了解 awa 本身、其命令行界面（CLI）及配置。当被问及 awa 本身、如何使用它或如何配置它时使用。","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-usage\u002FSKILL.md",[107,108],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":109,"categoryName":110,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[112,41,113,114,115],"awa usage","configure","how","cli",{"skillNo":117,"name":118,"nameZh":119,"description":120,"descriptionZh":121,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":122,"categories":123,"keywords":128,"publishedAt":44},"01M6C4ZPBC19QXDJ09KW3Z18QR","awa-upgrade","规格文档升级迁移","Upgrade specs to match current schemas. Use this when asked to upgrade, migrate, or update specification documents to conform to schema changes.","升级规格文档以匹配当前模式（schema）。当被要求升级、迁移或更新规格文档以符合模式变更时使用。","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-upgrade\u002FSKILL.md",[124,127],{"categoryNo":125,"categoryName":126,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},[129,130,41,131,132,133,134],"awa upgrade","schema","migrate","update specification","update","documents",{"skillNo":136,"name":137,"nameZh":138,"description":139,"descriptionZh":140,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":141,"categories":142,"keywords":147,"publishedAt":44},"01M6C4ZM0E11A21P1ZQPDNSS9J","awa-tasks","任务清单生成与分解","Create or update task list documents. Use this when asked to create tasks, generate implementation steps, or break down requirements and designs into work items.","创建或更新任务清单文档。当被要求创建任务、生成实施步骤，或将需求与设计分解为工作项时使用。","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-tasks\u002FSKILL.md",[143,144],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":145,"categoryName":146,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BTBRTQXJ9T5TABNS7XP1A0","任务规划与分解",[148,149,41,150,151,152,133,153,37,134],"awa tasks","tasks","list","work","create tasks","generate",{"skillNo":155,"name":156,"nameZh":157,"description":158,"descriptionZh":159,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":160,"categories":161,"keywords":164,"publishedAt":44},"01M6C4ZJKZ7VHHX22G1WX6Z6HD","awa-spec-tidy","规格文档整理重组","Tidy and reorganise the specifications logically. Use this when asked to tidy or reorganise the specifications.","按逻辑整理和重组规格文档。当被要求整理或重组规格文档时使用。","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-spec-tidy\u002FSKILL.md",[162,163],{"categoryNo":125,"categoryName":126,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},[165,166,167,41],"spec","awa spec tidy","tidy",{"skillNo":169,"name":170,"nameZh":171,"description":172,"descriptionZh":173,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":174,"categories":175,"keywords":180,"publishedAt":44},"01M6C4ZH1RWPRW21G4RBWTX73M","awa-spec-merge","功能代码合并","Merge two feature codes into one. Use this when asked to combine, merge, or consolidate feature codes.","将两个功能代码合并为一个。当被要求组合、合并或整合功能代码时使用。","https:\u002F\u002Fgithub.com\u002Fncoderz\u002Fawa\u002Fblob\u002Fmain\u002Ftemplates\u002Fawa\u002F_tests\u002Fcopilot\u002F.github\u002Fskills\u002Fawa-spec-merge\u002FSKILL.md",[176,177],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":178,"categoryName":179,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8CCTD8AMJD7RBC6W260XV38","软件生命周期流程管理",[36,165,181,41],"awa spec merge"]