pr-to-main
PR to Main Branch
Create PR for feature branches targeting main.
Workflow
-
Gather context (parallel):
git status(no -uall flag)git difffor staged/unstaged changesgit logfor commit history on current branch- Check if branch tracks remote and needs push
-
Analyze changes:
- Review ALL commits in the branch (not just latest)
- Identify the type from commit prefix:
fix:,feat:,improvement:
-
Select template based on commit prefix:
fix:→ Useassets/fix-template.mdfeat:→ Useassets/feat-template.mdimprovement:→ Useassets/improvement-template.md
-
Create PR (parallel if needed):
- Push branch with
-uflag if needed - Create PR using
gh pr create
- Push branch with
PR Format
Language: Always write PR title and body in English
Title: Under 70 characters, descriptive
Templates
fix: (Bug fixes)
Use assets/fix-template.md - Problem/Solution format with Current/Expected behavior
feat: (New features)
Use assets/feat-template.md - Summary/Motivation/Changes format
improvement: (Enhancements)
Use assets/improvement-template.md - Before/After comparison format
More from breaking-brake/cc-wf-studio
code-review-small
Quick code review for small PRs (<100 lines). Focuses on basic code quality, naming conventions, and obvious bugs.
37code-review-large
In-depth code review for large PRs (>500 lines). Full analysis including architecture, performance, security, and maintainability.
35code-review-medium
Standard code review for medium PRs (100-500 lines). Includes code quality, security basics, and test coverage analysis.
34code-review
Analyze PR diffs and generate review comments from code quality, security, and performance perspectives. Use for code reviews, quality checks, and security analysis.
33pr-to-production
Create a release PR from main to production branch. Use when the user says "リリースPR", "productionにPR", "リリース準備", or wants to trigger a release.
1cc-workflow-ai-editor
AI workflow editor for CC Workflow Studio. Create and edit visual AI agent workflows through interactive conversation using MCP tools (get_workflow_schema, get_current_workflow, apply_workflow, update_nodes). Use when the user wants to create a new workflow, modify an existing workflow, or edit the workflow canvas in CC Workflow Studio via the built-in MCP server.
1