一键导入
open-pr
Use when opening a new pull request. Triggers on phrases like "open PR", "create PR", "submit PR".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when opening a new pull request. Triggers on phrases like "open PR", "create PR", "submit PR".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automated release workflow — reads version, categorizes unreleased commits, bumps semver, and updates CHANGELOG.md.
Use when configuring a multi-module Kotlin Multiplatform or Android project to use the PopcornGpParentPlugin for architectural rule enforcement. Triggers on phrases like "setup popcorn", "configure popcorn plugin", "add popcorn to project", "architectural rules setup", "enforce module dependencies".
Use when compiling the plugin or validating the build configuration. Triggers on phrases like "build plugin", "compile", "build check", "pre-push".
Validate docs/ content — check links, config examples, rule references, and cross-reference with README.
Analyze project dependencies and update README with minimum system requirements for using the library.
Use as a general reference for the Popcorn Gradle Plugin project — architecture rules, project structure, build configuration, CI/CD, and development workflows. Automatically loaded on session start.
| name | open-pr |
| description | Use when opening a new pull request. Triggers on phrases like "open PR", "create PR", "submit PR". |
Opens a pull request from the current feature branch to main with a
description auto-generated from the git diff and commit history.
git status
git branch --show-current
mainorigin should point to CodandoTV/popcorn-guineapiggit log main..HEAD --oneline
git diff --stat main..HEAD
Assign each commit to a category based on its prefix:
| Prefix | Category |
|---|---|
feat, feature, Add | Added |
fix, patch | Fixed |
chore, Bump, Update, Merge | Changed |
refactor, Refactor | Changed |
docs, Docs | Documentation |
breaking, BREAKING CHANGE, ! | Breaking |
Derive from the branch name: strip common prefixes (feature/, fix/,
gmoro/, improvement/, update/), replace hyphens with spaces,
capitalize words.
Fallback: use the first commit message.
Format the description using the categorized commits and changed files:
## What changed
### <Category>
- <commit message without prefix>
## Files changed
- `<path>` (+N/-M)
## Checklist
- [ ] Architecture: files in correct layer? No Gradle imports in domain?
- [ ] Tests: new tests added? Coverage maintained?
- [ ] Build: `./gradlew popcornguineapigplugin:build` passes?
gh pr create --base main --title "<title>" --body "<body>"
Return the PR URL.
Ask the user if they want to add labels or reviewers:
gh pr edit <url> --add-label "<label>" --add-reviewer "<reviewer>"
Do not add labels or reviewers automatically — ask first.