pr-workflow
Create branches, commits, and pull requests following project conventions. Use when the user wants to commit changes, create a PR, push code, or mentions git workflow.
Best use case
pr-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Create branches, commits, and pull requests following project conventions. Use when the user wants to commit changes, create a PR, push code, or mentions git workflow.
Teams using pr-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/pr-workflow/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pr-workflow Compares
| Feature / Agent | pr-workflow | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Create branches, commits, and pull requests following project conventions. Use when the user wants to commit changes, create a PR, push code, or mentions git workflow.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Pull Request Workflow Complete workflow for creating branches, commits, and PRs in ZChain. ## Branch Creation ```bash # Ensure on latest main git checkout main git pull origin main # Create feature branch git checkout -b <type>/<description> ``` ### Branch Types | Prefix | Use Case | |--------|----------| | `feature/` | New functionality | | `fix/` | Bug fixes | | `chore/` | Dependencies, config, maintenance | | `refactor/` | Code restructuring | ## Making Changes ### Before Committing ```bash # Build dotnet build src/ZChain.sln # Run tests dotnet test src/ZChain.sln # Check what changed git status git diff ``` ### Commit Message Format ``` Short summary in imperative mood (50 chars max) Optional body explaining the "why" (wrap at 72 chars). Co-Authored-By: Claude <noreply@anthropic.com> ``` ### Good Commit Messages ```bash # Feature git commit -m "Add multi-threaded mining support Implement parallel nonce search using Task.WhenAny. First thread to find valid hash wins and cancels others. Co-Authored-By: Claude <noreply@anthropic.com>" # Fix git commit -m "Fix block state validation in verification Co-Authored-By: Claude <noreply@anthropic.com>" # Chore git commit -m "Update NuGet packages to latest versions Co-Authored-By: Claude <noreply@anthropic.com>" ``` ## Creating Pull Request ### Push Branch ```bash git push -u origin <branch-name> ``` ### Create PR with GitHub CLI ```bash gh pr create --title "Short description" --body "$(cat <<'EOF' ## Summary - Change 1 - Change 2 ## Test plan - [x] Unit tests pass - [x] Integration tests pass - [ ] Manual testing (if applicable) Generated with [Claude Code](https://claude.com/claude-code) EOF )" ``` ### PR Title Guidelines - Use imperative mood: "Add feature" not "Added feature" - Be specific: "Add multi-threaded mining" not "Update miner" - Match primary commit message ## After PR Created ### Address Review Comments CodeRabbit will automatically review. Address any: - Security concerns (Critical/High) - Regression risks - Code quality suggestions ### Merge Strategy Use squash merge to keep main history clean: ```bash gh pr merge <number> --squash ``` ## Cleanup After merge: ```bash git checkout main git pull git branch -d <branch-name> # Delete local branch ``` ## Quick Reference ```bash # Full workflow git checkout main && git pull git checkout -b feature/my-feature # ... make changes ... dotnet build src/ZChain.sln dotnet test src/ZChain.sln git add . git commit -m "Add my feature Co-Authored-By: Claude <noreply@anthropic.com>" git push -u origin feature/my-feature gh pr create --title "Add my feature" --body "## Summary - Added feature ## Test plan - [x] Tests pass" ``` ## Repository Config User configuration for this repo: ```bash git config user.name "z3d" git config user.email "925699+z3d@users.noreply.github.com" ```
Related Skills
workflow-status
Display project workflow progress by reading handoff documents in .docs/ directory. This skill should be used when users want to check their workflow status, see what phase they're in, or when other workflow skills need to verify prerequisites. Provides reusable prerequisite-checking templates for integration with other workflow skills.
workflow-new-plugin
Guided workflow for creating a new Volon plugin — ideation, requirements, spec, plan, tasks.
workflow-integration-git
Git commit workflow with conventional commits, artifact cleanup, and optional push/PR creation
workflow-guide
Provides guidance on Cursor ↔ Claude Code 2-agent workflow. Use when user mentions ワークフローについて, Cursorとの連携, 作業の流れ, 2-agent workflow, collaboration. Do NOT load for: 実装作業, ワークフロー設定, ハンドオフ実行.
workflow-creator
Create complete Claude Code workflow directories with curated skills. Use when user wants to (1) create a new workflow for specific use case (media creator, developer, marketer, etc.), (2) set up a Claude Code project with pre-configured skills, (3) download and organize skills from GitHub repositories, or (4) generate README.md and AGENTS.md documentation for workflows. Triggers on phrases like "create workflow", "new workflow", "set up workflow", "build a xxx-workflow".
testing-workflow
Integrated testing workflow combining all testing tools and MCPs. Use when deciding which testing tools to use, planning testing strategy, or executing tests in different environments and phases. Tags official skills: wallaby-testing, web-browser, agent-browser. Triggers on "testing workflow", "which test tool", "testing strategy", "run tests", "test combination".
spec-workflow-orchestrator
Orchestrate comprehensive planning phase from ideation to development-ready specifications using 4 specialized agents
setup-workflow
Initial setup workflow for claude-pilot plugin - directory creation, statusline configuration, documentation sync, GitHub star request
rollback-workflow-builder
Creates safe rollback procedures for deployments with automated workflows, rollback runbooks, version management, and incident response. Use for "rollback automation", "deployment recovery", "incident response", or "production rollback".
raw-workflow-creator
Create and run RAW workflows. Use this skill when the user asks to create a workflow, automate a task, build a data pipeline, generate reports, or asks "How do I build X with RAW?".
presentation-workflow
A skill for creating, updating, and managing slide presentations. Use for tasks involving slide decks, speaker notes, and integrating presentation materials with Git.
ppt-to-video-workflow
PPT/슬라이드를 나레이션과 자막이 포함된 영상으로 변환합니다. PPTX 파일 또는 slides.json에서 슬라이드 이미지를 추출/렌더링하고, TTS로 나레이션을 생성하며, 자막을 추가하여 최종 MP4 영상을 만듭니다. "PPT를 영상으로 만들어줘", "발표 영상 생성", "자막 포함 영상 만들기" 요청 시 사용합니다.