{"data":{"slug":"discovered-8962a409342d7eb67cf2bef017dc8a0375052e2c28cee68d","title":"Devxkit PR Reporting","summary":"Verify the readiness of a pull request (PR) for merging, including CI status, PR body completeness, and merge eligibility.","url":"https:\/\/skillshunter.net\/skills\/discovered-8962a409342d7eb67cf2bef017dc8a0375052e2c28cee68d","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-8962a409342d7eb67cf2bef017dc8a0375052e2c28cee68d","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-8962a409342d7eb67cf2bef017dc8a0375052e2c28cee68d.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-8962a409342d7eb67cf2bef017dc8a0375052e2c28cee68d\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the slice is prepared under `.agent-runs\/<issue>\/` with `metadata.toml` and a filled `pr-body.md`. Push the feature branch when querying remote state (without `--local-only`).","instructions":"---\nname: devxkit-pr-reporting\ndescription: Use devxkit agent ops pr-report and scorecard correctly before and after merge.\nscope: global\ndevxkit_commands:\n  - devxkit agent ops pr-report\n  - devxkit agent ops pr-create\n  - devxkit agent ops delivery-publish\n---\n\n# devxkit pr reporting\n\nFor ordinary PRs use native `gh pr view` \/ `gh pr checks` and exact-head CI.\nThe prepared-slice commands below are frozen DIL compatibility, not mandatory\nsteps or a requirement for Delivery Packs.\n\n## When to use\n\n- Before merge: confirm PR body readiness, CI state, and merge eligibility\n- After push: verify GitHub sees the correct PR for the slice\n- Post-merge from the configured base (default `main`): confirm `already_merged` with explicit PR number\n\n## Preconditions\n\n- Slice prepared under `.agent-runs\/<issue>\/` with `metadata.toml` and filled `pr-body.md`\n- Feature branch pushed when querying remote state (without `--local-only`)\n\n## Commands\n\n```bash\ndevxkit agent ops pr-report <issue>\ndevxkit agent ops pr-report <issue> --json | jq '.scorecard'\ndevxkit agent ops pr-report <issue> --local-only --json | jq '.scorecard'\n\ngit push -u origin \"$(git branch --show-current)\"\ndevxkit agent ops pr-create <issue>\ndevxkit agent ops delivery-publish <issue> --body-file .agent-runs\/<issue>\/delivery-pack.md\ndevxkit agent ops pr-report <issue> --json | jq '.scorecard, .pr_resolution'\n\n# Post-merge from the configured base when branch\/PR ambiguity exists:\ndevxkit agent ops pr-report <issue> --pr <number>\ndevxkit agent ops pr-report <issue> --pr <number> --json | jq '.scorecard, .pr_resolution'\n```\n\n## Validation\n\nScorecard semantics:\n\n| `overall` | Meaning |\n|-----------|---------|\n| `ready` | Checks passed, body ready \u2014 **merge allowed** when `merge_ready=true` |\n| `waiting_for_checks` | CI pending \u2014 wait, do not merge |\n| `not_ready` | Body\/checks\/blockers fail \u2014 fix first |\n| `already_merged` | Post-merge informational state |\n| `missing_pr` | No PR found for slice \u2014 create with `pr-create` |\n| `closed` | PR closed without merge \u2014 investigate |\n\n- `--local-only` never reports merge-ready against remote CI\n- PR resolution prefers `target_branch` from slice metadata over current branch\n- `pr-create` creates Draft by construction; it reuses only an existing open Draft PR\n- `delivery-publish` requires one marker and exact local\/remote\/pack branch and HEAD identity;\n  it updates one canonical comment by ID and refuses duplicate canonical comments\n\n## Common failures\n\n- **Ambiguous PR after merge** \u2192 pass `--pr <number>` while on the configured base\n- **Merge with pending CI** \u2192 `waiting_for_checks`; poll until `ready` or CI green\n- **PR body NOT READY** \u2192 edit `.agent-runs\/<issue>\/pr-body.md`; remove template placeholders\n- **Wrong branch** \u2192 ensure you are on `feature\/<issue>-*` for pre-merge reports\n\n## Stop conditions\n\n- Do **not** merge when `overall` is `waiting_for_checks`, `not_ready`, or `missing_pr`\n- Do **not** merge with red CI or empty\/unfilled PR body\n- Require `merge_ready=true` and `overall=ready` before squash merge\n\n## Related skills\n\n- `devxkit-agent-flow`, `devxkit-usage-observability`\n","use_cases":["Confirm PR body readiness and CI status before merging","Verify that GitHub sees the correct PR for a slice after pushing changes","Post-merge verification to confirm `already_merged` status with an explicit PR number"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/jesuserro\/devxkit\/blob\/0380bd30488627f7232a08c38ebc0c7dd9a66dc3\/src\/devxkit\/assets\/skills\/devxkit\/devxkit-pr-reporting\/SKILL.md","source_commit":"0380bd30488627f7232a08c38ebc0c7dd9a66dc3","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:48:47.000000Z","updated_at":"2026-11-29T10:53:27.000000Z","seo_title":"Devxkit PR Reporting Tool","seo_description":"Use the Devxkit PR reporting tool to check the status of a pull request, including CI checks, body readiness, and merge eligibility.","seo_keywords":["devxkit pr reporting","github pr status","ci checks for pr","pr readiness check","merge eligibility"]}}