[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72S6E7FJJWZ0ZZBPSAQSYP8":3,"skill-same:01M72S6E7FJJWZ0ZZBPSAQSYP8":46},{"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":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M72S6E7FJJWZ0ZZBPSAQSYP8","finish",null,"Finish current quantum-vault work: run the full CI gate, commit if needed, push, create or reuse a draft PR, and hand off cleanly. Stops when explicit user judgment is required.","p-11\u002Fquantum-vault","p-11","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F187643446?v=4","01M72S62G38VYPMH9WSPQHE8MA","Project Eleven","01M72S62H61Y0MHGKSG7JTBZ1D",3,"MIT","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffinish\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: finish\ndescription: >-\n  Finish current quantum-vault work: run the full CI gate, commit if needed, push, create or\n  reuse a draft PR, and hand off cleanly. Stops when explicit user judgment is required.\ndisable-model-invocation: true\n---\n\n# Finish\n\n## Goal\n\nRun as much of the pre-PR workflow as possible programmatically so the user is not stuck in the loop. The happy path ends with:\n\n- All quality gates green\n- A commit landed on the ticket branch\n- The branch pushed\n- A draft PR created or the existing one updated\n- A summary printed with the PR URL\n\nOnly stop for human judgment when automation reports a real blocker.\n\n## Workflow\n\n### 1. Check Branch State\n\n```bash\ngit branch --show-current\ngit status --short\n```\n\nRules:\n\n- If already on `main` with nothing to finish, stop and tell the user there is nothing to finish.\n- If on `main` with uncommitted work that still needs a ticket branch, run `\u002Flinear` first to create a ticket and branch.\n- Otherwise, continue on the current ticket branch.\n\n### 2. Run the Full CI Gate\n\n```bash\npnpm ci:pr\n```\n\nIf anything fails, enter the fix loop:\n\n```\nwhile !pass:\n  1. Read the first failing gate's output\n  2. Fix the root cause in code (never disable the gate)\n  3. If auto-fixable, run `pnpm l:f` or `pnpm p:f`\n  4. Re-run `pnpm ci:pr`\n```\n\nStop after 2 iterations with the same error and surface it to the user.\n\n### 3. Commit If Needed\n\nIf the working tree has changes, follow the `commit` skill:\n\n- Stage only the relevant files (`git add \u003Cpaths>` - never `git add .`)\n- Conventional commit format\n- No `Co-Authored-By` trailer\n\n### 4. Verify Identity + Remote\n\n```bash\ngit remote -v\ngh auth status\n```\n\nThe active account must be the one authorized for the `p-11` GitHub org. If it is not, stop and ask the user to switch with `gh auth switch` rather than guessing.\n\n### 5. Push\n\n```bash\ngit push -u origin \"$(git branch --show-current)\"\n```\n\nIf the branch already exists remotely and has drifted, use `git push --force-with-lease` only after confirming with the user.\n\n### 6. Create or Reuse PR\n\n```bash\ngh pr view --json number,url,isDraft --jq '.'\n```\n\n- If no PR exists, create a draft PR via the `create-pr` skill\n- If a PR exists and is draft, update its body via `gh pr edit` to reflect the current commit set\n- Do NOT mark the PR ready-for-review unless the user asks\n\nPrint the PR URL.\n\n### 7. Interpret Outcomes\n\n- **All gates pass + PR ready** -> print the summary and stop\n- **Gate fails after 2 iterations** -> stop with a concise failure summary\n- **Unresolved review threads** -> run the `resolve-pr-comments` skill\n- **Branch behind main** -> `git pull --rebase origin main`, re-run `pnpm ci:pr`, then push with `--force-with-lease` (confirmed)\n\n## Rules\n\n- Prefer automation over manual GitHub browsing\n- Never mark a draft PR as ready without user confirmation\n- Never force-push to `main`\n- Only bypass husky hooks or CI gates with explicit user permission\n- Do not update the Linear ticket status - the GitHub-Linear integration handles it when the PR is moved to ready-for-review\n","# Finish\n\n## Goal\n\nRun as much of the pre-PR workflow as possible programmatically so the user is not stuck in the loop. The happy path ends with:\n\n- All quality gates green\n- A commit landed on the ticket branch\n- The branch pushed\n- A draft PR created or the existing one updated\n- A summary printed with the PR URL\n\nOnly stop for human judgment when automation reports a real blocker.\n\n## Workflow\n\n### 1. Check Branch State\n\n```bash\ngit branch --show-current\ngit status --short\n```\n\nRules:\n\n- If already on `main` with nothing to finish, stop and tell the user there is nothing to finish.\n- If on `main` with uncommitted work that still needs a ticket branch, run `\u002Flinear` first to create a ticket and branch.\n- Otherwise, continue on the current ticket branch.\n\n### 2. Run the Full CI Gate\n\n```bash\npnpm ci:pr\n```\n\nIf anything fails, enter the fix loop:\n\n```\nwhile !pass:\n  1. Read the first failing gate's output\n  2. Fix the root cause in code (never disable the gate)\n  3. If auto-fixable, run `pnpm l:f` or `pnpm p:f`\n  4. Re-run `pnpm ci:pr`\n```\n\nStop after 2 iterations with the same error and surface it to the user.\n\n### 3. Commit If Needed\n\nIf the working tree has changes, follow the `commit` skill:\n\n- Stage only the relevant files (`git add \u003Cpaths>` - never `git add .`)\n- Conventional commit format\n- No `Co-Authored-By` trailer\n\n### 4. Verify Identity + Remote\n\n```bash\ngit remote -v\ngh auth status\n```\n\nThe active account must be the one authorized for the `p-11` GitHub org. If it is not, stop and ask the user to switch with `gh auth switch` rather than guessing.\n\n### 5. Push\n\n```bash\ngit push -u origin \"$(git branch --show-current)\"\n```\n\nIf the branch already exists remotely and has drifted, use `git push --force-with-lease` only after confirming with the user.\n\n### 6. Create or Reuse PR\n\n```bash\ngh pr view --json number,url,isDraft --jq '.'\n```\n\n- If no PR exists, create a draft PR via the `create-pr` skill\n- If a PR exists and is draft, update its body via `gh pr edit` to reflect the current commit set\n- Do NOT mark the PR ready-for-review unless the user asks\n\nPrint the PR URL.\n\n### 7. Interpret Outcomes\n\n- **All gates pass + PR ready** -> print the summary and stop\n- **Gate fails after 2 iterations** -> stop with a concise failure summary\n- **Unresolved review threads** -> run the `resolve-pr-comments` skill\n- **Branch behind main** -> `git pull --rebase origin main`, re-run `pnpm ci:pr`, then push with `--force-with-lease` (confirmed)\n\n## Rules\n\n- Prefer automation over manual GitHub browsing\n- Never mark a draft PR as ready without user confirmation\n- Never force-push to `main`\n- Only bypass husky hooks or CI gates with explicit user permission\n- Do not update the Linear ticket status - the GitHub-Linear integration handles it when the PR is moved to ready-for-review\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","94843b628446f86d412a5c5661cf42a26c828b51",".claude\u002Fskills\u002Ffinish","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault","https:\u002F\u002Fgithub.com\u002Fp-11","https:\u002F\u002Fwww.projecteleven.com","Securing digital assets for the post-quantum era","2026-10-22 17:23:20",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add p-11\u002Fquantum-vault --skill finish",{"tool":39,"command":40},"bunx","bunx skills add p-11\u002Fquantum-vault --skill finish",{"tool":42,"command":43},"pnpm","pnpm dlx skills add p-11\u002Fquantum-vault --skill finish","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffinish\u002FSKILL.md",[],[47,53,59,64,70,76],{"skillNo":48,"name":49,"nameZh":6,"description":6,"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},"01M72S75MAGAJ9BT5N5CM75TJ1","resolve-pr-comments","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fresolve-pr-comments\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M72S74P33WDYNZZVQB9PPSYQ","orchestrate","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Forchestrate\u002FSKILL.md",[],[],{"skillNo":60,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M72S73TEY2KR8F7ZKKWE1BTA","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Ffinish\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M72S72X56SDNX8TGRV3MHB5J","figma","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Ffigma\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":6,"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},"01M72S7218NT062SK66MMZJYJD","delegate","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fdelegate\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"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":81,"publishedAt":19},"01M72S7144W92BM272E9CDAJM6","commit","https:\u002F\u002Fgithub.com\u002Fp-11\u002Fquantum-vault\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fcommit\u002FSKILL.md",[],[]]