[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AT7VPP27F4X4Q9B561AFJ1":3,"skill-same:01M7AT7VPP27F4X4Q9B561AFJ1":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7AT7VPP27F4X4Q9B561AFJ1","speckit-bug-pr",null,"Open a pull request for the applied bug fix, linking the tracked issue","arrrrny\u002Fzuraffa_agent","arrrrny","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F48218623?v=4","01M7AT2E1VCEKRXW66PKN6VF10","Ahmet TOK","01M7AT2E2G5Y64BP5K6H95AS5B",0,"MIT","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Fbug\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-bug-pr\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: speckit-bug-pr\ndescription: Open a pull request for the applied bug fix, linking the tracked issue\ncompatibility: Requires spec-kit project structure with .specify\u002F directory\nmetadata:\n  author: github-spec-kit\n  source: bug:commands\u002Fspeckit.bug.pr.md\n---\n\n# Open Fix Pull Request\n\nOpen a GitHub pull request for the fix recorded by `\u002Fspeckit-bug-fix`. This command reads `.specify\u002Fbugs\u002F\u003Cslug>\u002Ffix.md` (and `issue.md` if the bug was reported) and creates a PR via the `gh` CLI from the current branch, linking the issue. If `gh` or a GitHub remote is unavailable, it writes a ready-to-paste PR draft instead.\n\n> This command is the natural follow-up when `bug.fix` was run with `--branch` \u002F `--worktree`: the current branch is the fix branch (e.g. `fix\u002F\u003Cslug>`) and the PR opens from it.\n\n## User Input\n\n```text\n$ARGUMENTS\n```\n\nAccept any of:\n\n- `slug=\u003Cbug-slug>` or `--slug \u003Cbug-slug>` or a bare slug-like token.\n- A path that contains the slug (e.g. `.specify\u002Fbugs\u002Flogin-timeout\u002F`).\n- **Nothing** — fall back to context (see Slug Resolution).\n\n## Slug Resolution\n\nResolve `BUG_SLUG` in this order, stopping at the first match:\n\n1. **Explicit user input** — a slug passed in `$ARGUMENTS` (any of the forms above).\n2. **Conversation context** — if the current session has just run `\u002Fspeckit-bug-fix` (or `bug.issue`), the slug it reported is the working slug. Reuse it without re-prompting.\n3. **Single candidate on disk** — list `.specify\u002Fbugs\u002F*\u002Ffix.md`. If exactly one bug has a `fix.md`, use it.\n4. **Disambiguate**:\n   - **Interactive mode**: ask the user which bug to open a PR for and list the candidates.\n   - **Automated mode**: stop with an error listing the candidates. Do not guess.\n\nOnce resolved, set `BUG_SLUG` and `BUG_DIR = .specify\u002Fbugs\u002F\u003CBUG_SLUG>`.\n\n## Prerequisites\n\n- `BUG_DIR\u002Ffix.md` MUST exist. If it does not, stop and instruct the user to run `\u002Fspeckit-bug-fix` first.\n- Confirm the current branch is the fix branch (created by `bug.fix --branch`, or whatever branch holds the change). If the working tree is on `main`\u002F`master` with uncommitted changes, warn the user and ask which branch to open the PR from before continuing.\n- Detect GitHub context (same as `bug.issue`):\n  - `git rev-parse --is-inside-work-tree` and `git config --get remote.origin.url` to parse `owner`\u002F`repo`; only proceed live when the remote is `github.com`.\n  - `command -v gh` and `gh auth status` to confirm the CLI and auth.\n  - If `gh`\u002FGitHub remote\u002Fauth is unavailable, write a draft (see Graceful Degradation).\n\n## Execution\n\n1. **Read the records**\n   - Read `BUG_DIR\u002Ffix.md` for the summary, changed files, and status.\n   - Read `BUG_DIR\u002Fissue.md` (if present) for the issue number\u002FURL to link.\n\n2. **Derive the PR title and body**\n   - **Title**: a concise imperative from the fix summary (e.g. `Fix login timeout on OAuth callback`). Prefix with the slug only if it aids traceability (e.g. `[login-timeout] Fix ...`).\n   - **Body**: combine the fix **Summary**, the **Changes** table, the **Local Verification** result, and a link to the assessment: `Assessment: .specify\u002Fbugs\u002F\u003CBUG_SLUG>\u002Fassessment.md`.\n   - If `BUG_DIR\u002Fissue.md` exists, append `Closes #\u003Cissue-number>.` (or the full issue URL) so GitHub links and auto-closes the issue on merge.\n   - Write the body to `BUG_DIR\u002Fpr-body.md`.\n\n3. **Open the PR (live path)**\n   - Determine the base branch: prefer the repository default (usually `main`\u002F`master`); allow the user to override with `base=\u003Cbranch>` in `$ARGUMENTS`.\n   - Run (do **not** use `--json`: older `gh` versions reject it — capture the URL from stdout instead):\n     ```bash\n     gh pr create --base \u003Cbase> --title \"\u003Ctitle>\" --body-file BUG_DIR\u002Fpr-body.md\n     ```\n   - On success `gh` prints the new PR URL (e.g. `https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fpull\u002F42`) to stdout. Capture that line and extract the **URL** and the **PR number** (the trailing digits after `\u002Fpull\u002F`).\n   - If the push of the current branch fails, run `git push -u origin \u003Ccurrent-branch>` and retry the `gh pr create`.\n   - If `gh`\u002FGitHub remote\u002Fauth\u002Fnetwork is unavailable, skip to Graceful Degradation below.\n\n4. **Record the PR**\n   - Write `BUG_DIR\u002Fpr.md`:\n     ```markdown\n     # Bug Fix PR: \u003Cshort title>\n\n     - **Slug**: \u003CBUG_SLUG>\n     - **Opened**: \u003CISO 8601 date>\n     - **PR**: \u003Cnumber>\n     - **URL**: \u003Chttps:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fpull\u002F\u003Cnumber>>\n     - **Branch**: \u003Ccurrent-branch>\n     - **Issue**: \u003Cnumber or \"n\u002Fa\">\n\n     \u003COne-line summary of what the PR contains.>\n     ```\n\n5. **Graceful Degradation (no live creation)**\n   - When `gh`\u002FGitHub remote\u002Fauth is unavailable, write `BUG_DIR\u002Fpr-draft.md` with the title + body and tell the user to open the PR manually (or re-run once authenticated). Do not error.\n\n6. **Report back** with:\n   - The slug, the PR URL (or draft path), and the branch it opened from.\n   - The next suggested step: `\u002Fspeckit-bug-test slug=\u003CBUG_SLUG>` (to validate once the PR is merged or on the branch).\n\n## Guardrails\n\n- This command creates an external GitHub PR only — it never edits repository source code beyond pushing the already-applied fix branch.\n- It only reads `fix.md`\u002F`issue.md` and writes inside `BUG_DIR` (`pr.md` \u002F `pr-body.md` \u002F `pr-draft.md`).\n- Never claim the issue is closed unless `Closes #\u003Cnumber>` was included and the PR was actually opened.\n- Do not force-push or rewrite history; only push the current fix branch with `-u`.","# Open Fix Pull Request\n\nOpen a GitHub pull request for the fix recorded by `\u002Fspeckit-bug-fix`. This command reads `.specify\u002Fbugs\u002F\u003Cslug>\u002Ffix.md` (and `issue.md` if the bug was reported) and creates a PR via the `gh` CLI from the current branch, linking the issue. If `gh` or a GitHub remote is unavailable, it writes a ready-to-paste PR draft instead.\n\n> This command is the natural follow-up when `bug.fix` was run with `--branch` \u002F `--worktree`: the current branch is the fix branch (e.g. `fix\u002F\u003Cslug>`) and the PR opens from it.\n\n## User Input\n\n```text\n$ARGUMENTS\n```\n\nAccept any of:\n\n- `slug=\u003Cbug-slug>` or `--slug \u003Cbug-slug>` or a bare slug-like token.\n- A path that contains the slug (e.g. `.specify\u002Fbugs\u002Flogin-timeout\u002F`).\n- **Nothing** — fall back to context (see Slug Resolution).\n\n## Slug Resolution\n\nResolve `BUG_SLUG` in this order, stopping at the first match:\n\n1. **Explicit user input** — a slug passed in `$ARGUMENTS` (any of the forms above).\n2. **Conversation context** — if the current session has just run `\u002Fspeckit-bug-fix` (or `bug.issue`), the slug it reported is the working slug. Reuse it without re-prompting.\n3. **Single candidate on disk** — list `.specify\u002Fbugs\u002F*\u002Ffix.md`. If exactly one bug has a `fix.md`, use it.\n4. **Disambiguate**:\n   - **Interactive mode**: ask the user which bug to open a PR for and list the candidates.\n   - **Automated mode**: stop with an error listing the candidates. Do not guess.\n\nOnce resolved, set `BUG_SLUG` and `BUG_DIR = .specify\u002Fbugs\u002F\u003CBUG_SLUG>`.\n\n## Prerequisites\n\n- `BUG_DIR\u002Ffix.md` MUST exist. If it does not, stop and instruct the user to run `\u002Fspeckit-bug-fix` first.\n- Confirm the current branch is the fix branch (created by `bug.fix --branch`, or whatever branch holds the change). If the working tree is on `main`\u002F`master` with uncommitted changes, warn the user and ask which branch to open the PR from before continuing.\n- Detect GitHub context (same as `bug.issue`):\n  - `git rev-parse --is-inside-work-tree` and `git config --get remote.origin.url` to parse `owner`\u002F`repo`; only proceed live when the remote is `github.com`.\n  - `command -v gh` and `gh auth status` to confirm the CLI and auth.\n  - If `gh`\u002FGitHub remote\u002Fauth is unavailable, write a draft (see Graceful Degradation).\n\n## Execution\n\n1. **Read the records**\n   - Read `BUG_DIR\u002Ffix.md` for the summary, changed files, and status.\n   - Read `BUG_DIR\u002Fissue.md` (if present) for the issue number\u002FURL to link.\n\n2. **Derive the PR title and body**\n   - **Title**: a concise imperative from the fix summary (e.g. `Fix login timeout on OAuth callback`). Prefix with the slug only if it aids traceability (e.g. `[login-timeout] Fix ...`).\n   - **Body**: combine the fix **Summary**, the **Changes** table, the **Local Verification** result, and a link to the assessment: `Assessment: .specify\u002Fbugs\u002F\u003CBUG_SLUG>\u002Fassessment.md`.\n   - If `BUG_DIR\u002Fissue.md` exists, append `Closes #\u003Cissue-number>.` (or the full issue URL) so GitHub links and auto-closes the issue on merge.\n   - Write the body to `BUG_DIR\u002Fpr-body.md`.\n\n3. **Open the PR (live path)**\n   - Determine the base branch: prefer the repository default (usually `main`\u002F`master`); allow the user to override with `base=\u003Cbranch>` in `$ARGUMENTS`.\n   - Run (do **not** use `--json`: older `gh` versions reject it — capture the URL from stdout instead):\n     ```bash\n     gh pr create --base \u003Cbase> --title \"\u003Ctitle>\" --body-file BUG_DIR\u002Fpr-body.md\n     ```\n   - On success `gh` prints the new PR URL (e.g. `https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fpull\u002F42`) to stdout. Capture that line and extract the **URL** and the **PR number** (the trailing digits after `\u002Fpull\u002F`).\n   - If the push of the current branch fails, run `git push -u origin \u003Ccurrent-branch>` and retry the `gh pr create`.\n   - If `gh`\u002FGitHub remote\u002Fauth\u002Fnetwork is unavailable, skip to Graceful Degradation below.\n\n4. **Record the PR**\n   - Write `BUG_DIR\u002Fpr.md`:\n     ```markdown\n     # Bug Fix PR: \u003Cshort title>\n\n     - **Slug**: \u003CBUG_SLUG>\n     - **Opened**: \u003CISO 8601 date>\n     - **PR**: \u003Cnumber>\n     - **URL**: \u003Chttps:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fpull\u002F\u003Cnumber>>\n     - **Branch**: \u003Ccurrent-branch>\n     - **Issue**: \u003Cnumber or \"n\u002Fa\">\n\n     \u003COne-line summary of what the PR contains.>\n     ```\n\n5. **Graceful Degradation (no live creation)**\n   - When `gh`\u002FGitHub remote\u002Fauth is unavailable, write `BUG_DIR\u002Fpr-draft.md` with the title + body and tell the user to open the PR manually (or re-run once authenticated). Do not error.\n\n6. **Report back** with:\n   - The slug, the PR URL (or draft path), and the branch it opened from.\n   - The next suggested step: `\u002Fspeckit-bug-test slug=\u003CBUG_SLUG>` (to validate once the PR is merged or on the branch).\n\n## Guardrails\n\n- This command creates an external GitHub PR only — it never edits repository source code beyond pushing the already-applied fix branch.\n- It only reads `fix.md`\u002F`issue.md` and writes inside `BUG_DIR` (`pr.md` \u002F `pr-body.md` \u002F `pr-draft.md`).\n- Never claim the issue is closed unless `Closes #\u003Cnumber>` was included and the PR was actually opened.\n- Do not force-push or rewrite history; only push the current fix branch with `-u`.",{"name":5,"metadata":24,"description":7,"compatibility":27},{"author":25,"source":26},"github-spec-kit","bug:commands\u002Fspeckit.bug.pr.md","Requires spec-kit project structure with .specify\u002F directory","master","52f71eebd1a07a3150e315471d57d04ca0a29137",".specify\u002Fextensions\u002Fbug\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-bug-pr","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent","https:\u002F\u002Fgithub.com\u002Farrrrny","https:\u002F\u002Farrrrny.com","AI Engineer @ ZikZak AI Moscow, Russia","2026-11-14 18:33:12",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add arrrrny\u002Fzuraffa_agent --skill speckit-bug-pr",{"tool":42,"command":43},"bunx","bunx skills add arrrrny\u002Fzuraffa_agent --skill speckit-bug-pr",{"tool":45,"command":46},"pnpm","pnpm dlx skills add arrrrny\u002Fzuraffa_agent --skill speckit-bug-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Fbug\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-bug-pr\u002FSKILL.md",true,[],[51,58,65,72,79,84],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7ATG1T9TD0WZ8BFYR3GT18H","speckit-tdd-verify","Audit TDD discipline by delegating to zfa tdd verify (mutation testing, evidence integrity); the LLM interprets the verdict and drives remediation","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Ftdd\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-tdd-verify\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7ATFYWYKKD8V8K1YJN71RTE","speckit-tdd-setup","Detect the test stack and write .specify\u002Fmemory\u002Ftdd-profile.md; zuraffa-wired projects record zfa commands as the engine","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Ftdd\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-tdd-setup\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7ATFV57E5PNAGS3KM01F7PT","speckit-tdd-run","Drive the red-green-refactor loop by delegating to zfa tdd run (deterministic engine); the LLM handles only honest stops — fixing genuine reds and remediation — never re-driving what zfa drives","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Ftdd\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-tdd-run\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7ATFPQ5GSJ70A3ZX74ZS12Y","speckit-tdd-plan","Derive the feature's test list by delegating to zfa tdd plan (deterministic engine); falls back to LLM-guided derivation only when zfa is unavailable","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Ftdd\u002F.specify-dev\u002Fagent-commands\u002Fzed\u002Fspeckit-tdd-plan\u002FSKILL.md",[],[],{"skillNo":80,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7ATFJ47RXD5059ERWQW4452","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Ftdd\u002F.specify-dev\u002Fagent-commands\u002Fagy\u002Fspeckit-tdd-verify\u002FSKILL.md",[],[],{"skillNo":85,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7ATFE3VDH5B81J5Y5G9BAR2","https:\u002F\u002Fgithub.com\u002Farrrrny\u002Fzuraffa_agent\u002Fblob\u002Fmaster\u002F.specify\u002Fextensions\u002Ftdd\u002F.specify-dev\u002Fagent-commands\u002Fagy\u002Fspeckit-tdd-setup\u002FSKILL.md",[],[]]