一键导入
github-workflow
GrottoCenter GitHub conventions — conventional commits with scope, branch from upstream develop, open a PR using the project template.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
GrottoCenter GitHub conventions — conventional commits with scope, branch from upstream develop, open a PR using the project template.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Create a new SVG icon for the GrottoCenter icon system from an MUI icon, following the brown-card style used by all other icons in src/assets/icons/.
Performs thorough code reviews on GitHub PRs and submits the review directly to GitHub via the gh CLI. Use this agent when you want an automated, structured code review submitted as a PR comment. Invoke with a PR number (e.g., "Review PR #123").
Sync and translate missing i18n keys across all GrottoCenter frontend language files. Detects new keys from git diff or a key filter, translates via AI, injects with proper JSON handling, and sorts.
基于 SOC 职业分类
| name | github-workflow |
| description | GrottoCenter GitHub conventions — conventional commits with scope, branch from upstream develop, open a PR using the project template. |
| argument-hint | [issue-id] |
Before anything else, verify that gh is installed and authenticated:
gh --version
gh auth status
If gh is not installed, stop and tell the user:
ghCLI is required. Install it from https://cli.github.com or via:
- macOS:
brew install gh- Windows:
winget install --id GitHub.cli- Linux: https://github.com/cli/cli/blob/trunk/docs/install_linux.md
If gh is not authenticated, stop and tell the user to run gh auth login.
All generated content (PR titles, PR bodies, issue comments) must be written in English.
Format: type(scope): description
Types: feat fix refactor test docs chore style ci
Scope: domain area — cave, entrance, massif, auth, search, deps, …
Example: feat(massif): add area validation
Branch from an updated develop:
git checkout develop && git pull
git checkout -b <type>/<scope>
Examples: fix/entrance-decimal-validation, feat/cave-export, chore/upgrade-deps
1. Write the body — read .github/pull_request_template.md, fill it out, save to pr_body.md.
2. Show and confirm — display the title and the actual content of pr_body.md to the user and wait for explicit approval before proceeding. Do not push or create the PR until the user confirms. The file must already exist on disk before asking for confirmation.
3. Push and create:
git push origin <branch-name>
gh pr create --title "<type(scope): description>" --body-file pr_body.md --base develop --repo <repo>
Where <repo> is detected via gh repo view --json nameWithOwner -q .nameWithOwner.
3. Clean up:
# bash/zsh
rm pr_body.md
# PowerShell
Remove-Item pr_body.md
Ask for the issue ID if not already known, then post any relevant spec or design files as comments on the issue:
gh issue comment <issue-id> --body-file <spec-or-design-file>
If no issue exists, post comments on the PR instead.