원클릭으로
create-pr
Create a pull request for current branch. Trigger khi user noi "create pr", "tao PR", "open pull request", "pr cho issue
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a pull request for current branch. Trigger khi user noi "create pr", "tao PR", "open pull request", "pr cho issue
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add tests for a feature based on specs/issues. Trigger khi user noi "add test
Implement a issue. When user ask: "implement issue #1, implement feature #1,..."
Send message to slack channel. Use when user asks "send slack message, "send message to slack",...
Sync spec file to github issue. When user type: "Sync issue #1", "sync spec #1",...
Translate GitHub issue content to Vietnamese. When user type: "translate issue #1", "dịch issue #2", "comtor #3",...
Create a git branch feature, find issue number in github. When user type: feature #issue-number,...
| name | create-pr |
| description | Create a pull request for current branch. Trigger khi user noi "create pr", "tao PR", "open pull request", "pr cho issue |
| allowed-tools | Bash(git *), Bash(gh *), Read, Glob, Grep |
| priority | medium |
Tao pull request tu branch hien tai len base branch (main/develop). Skill nay se:
gh CLI de tao PR tren GitHubThu thap thong tin branch hien tai
git branch --show-currentfeature/hung-#{number}-{slug})main (hoac develop neu co)git log origin/{branch}..HEAD (neu loi -> chua push)Doc spec issue lien quan
specs/issues/{issue_number}-*.mdPhan tich changes
git log {base_branch}..HEAD --onelinegit diff --name-only {base_branch}...HEADgit diff {base_branch}...HEAD (de hieu noi dung thay doi)Tao PR title va description
feat: add basic login (#1) hoac fix: validate email format (#1)feat:, fix:, refactor:, docs:, test:, chore: (theo conventional commits)## Summary
- Mo ta ngan gon changes (2-3 bullet points)
- Lien ket issue: Closes #{issue_number}
## Changes
- Liet ke cac thay doi chinh theo file/feature
## Acceptance Criteria
- Copy tu spec, check nhung criteria da hoan thanh
## Test plan
- Huong dan test thu cong hoac chay automated tests
Push va tao PR
git push -u origin {branch_name}gh pr create --title "{title}" --body "{description}" --base {base_branch}
Closes #{number} trong body de auto-close issueOutput ket qua
Hien thi PR URL
Summary:
git status truoc -> neu co uncommitted changes, nhac user commit truoc--force) truoc khi hoi user