一键导入
create-pr
Create a pull request from the current branch with quality checks. Use when changes are ready for review, after committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a pull request from the current branch with quality checks. Use when changes are ready for review, after committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create git commits from current changes using Conventional Commits format. Use when ready to commit staged or unstaged changes.
Generate a branch name from current changes and create it if on main. Use when starting new work and need a properly named feature branch.
Interactive guide for creating new Claude skills with proper structure, frontmatter, and trigger conditions. Use when building a new skill, scaffolding a SKILL.md, or need guidance on skill best practices.
Run Prisma generate, lint (auto-fix), typecheck, and tests; iterate until clean, summarize results. Use when CI is failing or before pushing to verify the repo is clean.
Create a new GitHub issue for a feature, bug, or chore. Use when you have an idea, bug report, or task that needs a GitHub issue with analysis and solution options.
Merge current feature branch into fresh staging branch with conflict resolution. Use when ready to deploy a feature branch to the staging environment.
| name | create-pr |
| description | Create a pull request from the current branch with quality checks. Use when changes are ready for review, after committing. |
| allowed-tools | Bash(gh pr:*), Bash(git:*), Bash(npm test:*), Bash(npm run lint:*), Bash(npm run typecheck:*), Read, Glob, Grep |
You are tasked with creating a pull request from the current branch.
git status to check for uncommitted changes/commit to commit your changes first (recommended)"git stash"git branch --show-current to get the current branch nameRun the following checks in parallel:
npm run lint - Check for linting issuesnpm run typecheck - Check for TypeScript errorsnpm test - Run the test suiteIf any checks fail:
git log origin/main..HEAD --oneline to see commits that will be in the PRgit diff origin/main...HEAD --stat to see changed files summarygit diff origin/main...HEAD to understand the full changesCreate a comprehensive PR description with:
## Summary
[2-3 bullet points describing what this PR does]
## Related Issue
Closes #[issue-number] (if applicable)
## Changes Made
- [Detailed list of changes]
- [Include technical decisions if relevant]
- [Mention any breaking changes]
## Testing
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual testing completed
- [ ] Linting and type checking pass
## Screenshots
[If UI changes, include before/after screenshots]
## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-review completed
- [ ] Tests added/updated for changes
- [ ] Documentation updated if needed
- [ ] No console.log or debug code left
- [ ] Translations added for new text (if applicable)
git push -u origin HEAD to push the branch to remoteAfter approval, create the PR using:
gh pr create \
--title "[Type] Clear, descriptive title" \
--body "Full PR description from step 5" \
--base main \
--draft
Note: PRs are created as drafts by default to allow for final review before requesting feedback.
gh pr view --web to open the PR in browser (optional)feat: Add user authentication systemfix: Resolve date parsing issue in calendarrefactor: Improve appointment service performancechore: Update dependencies to latest versionsdocs: Add API documentation for new endpointsRemember: A good PR description saves review time and provides context for future reference.