ワンクリックで
pull-request
Create well-structured GitHub PRs enforcing issue-first discipline. Single source of truth — no /commands wrapper.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create well-structured GitHub PRs enforcing issue-first discipline. Single source of truth — no /commands wrapper.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Review existing Architecture Decision Records. Flag ADRs whose aging signals may have triggered given current state. Categorizes each as valid / aged / superseded and suggests follow-up actions.
Author an Architecture Decision Record (ADR). Captures decisions with implications beyond the current change — lasts months, affects multiple files, hard to reverse. Records context, alternatives considered, consequences, and aging signals so the decision can be revisited when conditions change.
4-phase loop-detection and recovery protocol. Fires when an agent detects it is stuck or repeating the same tool call with no progress — before tool-loop-detection circuit-breaks at 30 calls.
Socratic exploration of requirements before implementation. Refines spec through targeted questions. Use when user asks to 'explore options', 'refine requirements', or mentions 'unclear requirements'.
Generate structured changelog from git history. Groups commits by type, filters noise, produces Keep a Changelog format. Single source of truth — no /commands wrapper.
Generate pipe-delimited commits: Tipo|IdTarea|YYYYMMDD|Descripción. Single source of truth — no /commands wrapper.
| name | pull-request |
| description | Create well-structured GitHub PRs enforcing issue-first discipline. Single source of truth — no /commands wrapper. |
| version | 3.0.0 |
| preconditions | ["linked_issue_exists","issue_has_status_approved","tests_passing","branch_pushed_to_remote"] |
| outputs | [{"name":"pr_url","type":"url","format":"https://github.com/{owner}/{repo}/pull/{N}"},{"name":"pr_checklist","type":"checklist","format":"issue_linked | tests_pass | no_secrets | title_under_70_chars"}] |
| steps_count | 5 |
| when | {"keywords":["pull request","pr","open pr","create pr","github pr","submit for review"]} |
Create well-structured GitHub PRs. Issue-first enforcement: no PR without an approved issue.
finishing-a-development-branch selects "Push + PR"Every PR MUST link an approved issue.
gh issue view <N> --json title,labels -q '{title: .title, labels: [.labels[].name]}'
STOP if any fail:
status:approved label (maintainer-only — wait if missing)Closes #<N> in PR bodyIf no issue exists, run Skill('issue-creation') first.
git status
git log main..HEAD --oneline
git diff main...HEAD --stat
npm test # or pytest / go test / cargo test
# Must see 0 failures before creating PR
git push -u origin $(git branch --show-current)
Title format:
tipo — Descripción imperativa en inglés (max 70 chars)
Examples:
feat — Add user authentication with JWT refresh rotation
fix — Resolve null pointer in UserService.findById
refactor — Extract payment service to shared module
gh pr create --title "tipo — Descripción imperativa" --body "$(cat <<'EOF'
## Linked Issue
Closes #<N>
## Summary
- [Bullet 1: qué se implementó y por qué]
- [Bullet 2: decisión clave tomada]
- [Bullet 3: qué se cambió / eliminó]
## Motivation
[Por qué se necesitaba este cambio — link a issue/ticket si aplica]
## Test Plan
- [ ] [Escenario de prueba 1]
- [ ] [Escenario de prueba 2]
- [ ] [Edge case probado]
- [ ] Tests existentes pasan (`npm test`)
## Breaking Changes
[Ninguno / Describir si los hay]
## Rollback Plan
[Cómo revertir si esto rompe producción — e.g. `git revert <sha>`, feature flag off]
EOF
)"
gh pr view # Show PR URL and status
Output the PR URL to the user.
status:approvedCloses #<N>Co-Authored-By footerGenerated with…, 🤖 …)