Agent skill

pr-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.

Stars 4,708
Forks 528

Install this agent skill to your Project

npx add-skill https://github.com/breaking-brake/cc-wf-studio/tree/main/.claude/skills/pr-to-production

SKILL.md

PR to Production Branch (Release)

Create release PR from main to production for semantic-release.

Workflow

  1. Fetch latest from remote (required first):

    • git fetch origin production main --quiet
    • IMPORTANT: Always use remote refs (origin/production, origin/main) for comparison. Local branches may be stale.
  2. Gather context (parallel):

    • git log origin/production..origin/main --oneline for commits to release
    • git ls-remote --tags origin | grep -E 'refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$' | sed 's/.*refs\/tags\///' | sort -V | tail -1 for latest release version from remote
    • git rev-list --count origin/production..origin/main to check if main is ahead of production
  3. Analyze commits:

    • Categorize by type: feat, fix, chore, etc.
    • Calculate expected version bump
  4. Create PR:

    • Use gh pr create with base production
    • Use template from assets/pr-template.md

Version Bump Rules

  • feat:minor (1.0.0 → 1.1.0)
  • fix:, perf:, revert:patch (1.0.0 → 1.0.1)
  • BREAKING CHANGEmajor (1.0.0 → 2.0.0)
  • docs:, chore:, ci: → no bump

PR Format

Language: Always write PR title and body in English

Title: Release: vX.Y.Z

Body: Use template at assets/pr-template.md

Example

bash
gh pr create --base production --title "Release: v0.2.0" --body "$(cat <<'EOF'
## Summary

Merge latest changes from `main` to `production` for automated release v0.2.0.

## Included Changes

### Features
- feat: add chunk-based translation for large documents (#5)

### Enhancements
- chore: setup semantic-release (#4)

## Release Version Calculation

**v0.2.0** (minor bump)

Semantic Release will analyze commits since v0.1.1:
- ✅ `feat: add chunk-based translation` (#5) → **minor bump**
- ❌ `chore: setup semantic-release` (#4) → no version bump

Result: **0.1.1 + minor = 0.2.0**

## CHANGELOG.md Contents

The following features will be included:
- Add chunk-based translation for large documents (#5)

Setup semantic-release (#4) will not appear in CHANGELOG.

## Release Automation

This merge will trigger:
1. Analyze commit messages (0.1.1 → 0.2.0)
2. Update version in package.json files
3. Generate CHANGELOG.md with features
4. Create GitHub release
5. Build and upload VSIX package
6. Sync version changes back to main

## Merge Strategy

**Use merge commit** (not squash) to preserve commit history for Semantic Release.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"

Expand your agent's capabilities with these related and highly-rated skills.

breaking-brake/cc-wf-studio

cc-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.

4,708 528
Explore
breaking-brake/cc-wf-studio

jira-driven-planning

Jiraチケットの要件とConfluenceの関連ドキュメントを基に、Frontend/Backend/Infrastructureに分割した実装計画を策定するプランニングスキル。Jiraチケット情報とConfluence検索結果が前段で取得済みであることを前提とし、構造化された実装計画を出力する。「プランニング」「実装計画策定」「タスク分割」などの文脈で使用。

4,708 528
Explore
breaking-brake/cc-wf-studio

pr-review-analysis

Analyze PR review comments from a GitHub PR URL. Fetch review comments, verify each finding against the actual codebase, assess validity (correct/incorrect/partial), present a structured summary with recommended actions, and optionally reply to each comment on GitHub. Use when given a PR review URL or when asked to check/analyze PR feedback.

4,708 528
Explore
breaking-brake/cc-wf-studio

pr-to-main-cleanup

Clean up merged feature branches after PR to main is merged. Use when the user says "ブランチ削除", "cleanup", "マージ後の片付け", or wants to delete a merged branch.

4,708 528
Explore
breaking-brake/cc-wf-studio

pr-to-main

Create a PR to main branch for feature/fix changes. Use when the user says "PRを作成", "mainにPR", or wants to submit changes for review.

4,708 528
Explore
breaking-brake/cc-wf-studio

cc-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.

4,708 528
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results