pr-from-issue
Create a PR from a GitHub issue, checking completion status and running all tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a PR from a GitHub issue, checking completion status and running all tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implement a GitHub issue in aurora_uix, an Elixir/Phoenix low-code UI generation library with Ash and Ecto backends, following an enriched spec produced by improve-issue. Use this skill when the user says "implement the issue", "code this up", "start coding", or provides an enriched spec from improve-issue. Also triggers on "fix the gaps", "address the review findings", or "retry with these requirements" — in those cases the gaps live in the review-gaps marker block of the issue body. Always write tests alongside implementation.
Create a pull request with proper formatting and pre-merge checks
Evaluate an already-enriched GitHub issue and recommend whether to keep it as-is (with a model-tier recommendation), declare it already completed, or split it into smaller children. Use when the user says "evaluate this issue", "is this issue too big", "should we split this", "size this issue", "which model should code this", or before kicking off orchestrate-issue on a heavy spec. Requires improve-issue to have been run first — this skill does NOT enrich specs and does NOT modify code. Read-mostly: the only write is an idempotent issue-evaluation marker block on the issue body.
Run `mix consistency` and fix issues. Mechanical issues are fixed in place; refactor-class issues produce a plan for user approval instead of being attempted.
Enrich and clarify a GitHub issue before any coding begins. Use this skill whenever a user says "work on issue", "implement issue", "fix issue", "start from a GitHub issue", or pastes issue text/URL. Always run this FIRST before code-issue — it produces the structured spec that code-issue consumes. Also trigger when the user says "improve issue description" or "clarify requirements".
Review and score the implementation produced by code-issue against the enriched spec from improve-issue. Use this skill when the user says "review the implementation", "check completeness", "validate coverage", or after code-issue finishes. Runs the project quality gate (mix consistency + mix test), produces a scored report, and writes outstanding gaps into the issue body marker block so code-issue Mode B can pick them up. Always run after code-issue, before deciding the issue is done.
| name | pr-from-issue |
| description | Create a PR from a GitHub issue, checking completion status and running all tests |
Create a pull request from a GitHub issue with proper validation:
Check if the issue is marked for closing:
gh issue view <number> --json body --jq '.body'⚠️ Issue #N is not marked as completed.
Add 'Issue is completed and ready to be closed.' to the issue description before creating a PR.
Stop execution.Branch check: Ensure current branch is NOT main
git branch --show-currentmain, stop with error: "Cannot create PR from main branch. Checkout a feature branch."Chromedriver headless check: Ensure headless is set to true in config/test.exs
config/test.exsconfig :wallaby, chromedriver: [headless: true]Uncommitted changes check: Verify all changes are committed
git status --porcelainRun ALL tests: Execute mix test and ensure ALL tests pass
mix testVerify commits: Confirm all changes are committed
git log main..HEAD --onelinePush to origin:
git push -u origin <current-branch>Generate PR title (from do-pr skill):
feat, fix, build, refactor, etc.) or default to feat<type>: <description>federicoalcantara-implement_user_profile → feat: implement user profileGenerate PR description (from do-pr skill):
Closes #NCreate PR:
Closes # EOF )"`
On success, display:
✅ Pull Request created successfully!
**PR URL:** <pr-url>
**Title:** <title>
**Issue:** #N (Closes)
**Commits:** <count>
**Validation completed:**
- [x] Issue marked as completed
- [x] Not on main branch
- [x] Chromedriver headless: true
- [x] All changes committed
- [x] All tests pass (mix test)
- [x] Pushed to origin
Run this skill after:
The skill handles: issue validation, test verification, final quality checks, push, and PR creation.