ワンクリックで
create-pr-himarket
为 HiMarket 项目创建符合规范的 Pull Request。当用户需要提交代码、推送分支或创建 PR 时使用此 skill,确保 PR 标题和内容符合项目 CI 检查要求。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
为 HiMarket 项目创建符合规范的 Pull Request。当用户需要提交代码、推送分支或创建 PR 时使用此 skill,确保 PR 标题和内容符合项目 CI 检查要求。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
HiMarket backend coding standards for Java and Spring Boot. Use whenever modifying or reviewing himarket-server, himarket-dal, himarket-bootstrap, backend Maven POMs, Flyway SQL, controllers, services, DTOs, repositories, validation, logging, exceptions, or backend tests. Read docs/standards/backend before editing.
HiMarket frontend coding standards for React, TypeScript, Vite, Ant Design, Tailwind, i18n, API calls, component structure, and frontend verification. Use whenever modifying or reviewing himarket-web/himarket-frontend or himarket-web/himarket-admin. Read docs/standards/frontend before editing.
HiMarket 前端(React + TypeScript + Vite)代码规范:Prettier/ESLint、严格 TypeScript、注释与 Fast Refresh、Design Token、Tailwind、验证命令。
Design and create AI-agent infrastructure for codebases: AGENTS.md, documentation architecture (docs/), linters with actionable errors (scripts/lint-*), harness/ configs, and CI integration. Creates files directly — never writes business/application code.
Execute development tasks autonomously with self-validation. Auto-bootstraps harness via harness-creator if missing. Use when the user asks to implement features, fix bugs, refactor code, execute plans, or make any code change in an existing or new codebase.
从 GitHub Issues 收集用户反馈并生成简报。抓取 higress-group/himarket 的 issues,按类型分类、去重(排除已处理的重复内容),生成包含趋势分析和优先级建议的简报。当用户想了解社区反馈、issue 概况、用户需求趋势时使用此 skill。
| name | create-pr-himarket |
| description | 为 HiMarket 项目创建符合规范的 Pull Request。当用户需要提交代码、推送分支或创建 PR 时使用此 skill,确保 PR 标题和内容符合项目 CI 检查要求。 |
帮助用户在 higress-group/himarket 仓库创建符合规范的 Pull Request,确保通过 PR Title Check、PR Content Check 和 PR Size Check。
type: 简短描述
或带范围:
type(scope): 简短描述
| Type | 说明 | 示例 |
|---|---|---|
feat | 新功能 | feat: add user authentication |
fix | Bug 修复 | fix: resolve memory leak |
docs | 文档更新 | docs: update API documentation |
style | 代码格式 | style: format with prettier |
refactor | 重构 | refactor: simplify service logic |
perf | 性能优化 | perf: optimize queries |
test | 测试 | test: add unit tests |
build | 构建系统 | build: update dependencies |
ci | CI/CD | ci: add workflow |
chore | 其他变更 | chore: update gitignore |
revert | 回滚 | revert: revert commit abc123 |
feat: 而不是 feat:必须包含 ## 📝 Description 部分,且内容至少 10 个字符。
## 📝 Description
- 变更点 1
- 变更点 2
- 变更点 3
必须至少勾选一项变更类型。
## ✅ Type of Change
- [x] Bug fix (non-breaking change)
- [ ] New feature (non-breaking change)
- [ ] Breaking change
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
## 🔗 Related Issues
Fix #123
Close #456
## 🧪 Testing
- [x] Unit tests added/updated
- [x] Manual testing completed
- 测试场景描述
## 📋 Checklist
- [x] Code has been formatted (`mvn spotless:apply` for backend, `npm run lint:fix` for frontend)
- [x] Code is self-reviewed
- [x] No breaking changes
- [x] All CI checks pass
# 并行执行以下命令
git status
git diff --stat
git log --oneline -5
git branch -a
git remote -v
lexburner/himarket)higress-group/himarket)git push -u origin <branch-name>
使用 HEREDOC 格式确保内容正确:
gh pr create --repo higress-group/himarket \
--base main \
--head <username>:<branch-name> \
--title "feat: 简短描述" \
--body "$(cat <<'EOF'
## 📝 Description
- 变更点 1
- 变更点 2
## 🔗 Related Issues
Fix #123
## ✅ Type of Change
- [ ] Bug fix (non-breaking change)
- [x] New feature (non-breaking change)
- [ ] Breaking change
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
## 🧪 Testing
- [x] Unit tests pass locally
- [x] Manual testing completed
## 📋 Checklist
- [x] Code has been formatted (`mvn spotless:apply` for backend, `npm run lint:fix` for frontend)
- [x] Code is self-reviewed
- [x] No breaking changes
- [x] All CI checks pass
EOF
)"
gh pr checks <pr-number> --repo higress-group/himarket
确保以下检查通过:
## 📝 Description 和 ## ✅ Type of Change[x]Fix #123 格式关联 Issuemvn spotless:apply 或 npm run lint:fix❌ feat: Add new feature
✅ feat: add new feature
❌ 直接写内容
✅ ## 📝 Description
内容
❌ - [ ] New feature
✅ - [x] New feature
❌ ## 📝 Description
Fix bug
✅ ## 📝 Description
Fix pagination bug in product list
标题:
feat(chat): add tool call support and stop generation feature
内容:
## 📝 Description
- 添加聊天工具调用(Tool Call)支持,工具执行状态按消息顺序内联展示
- 添加停止生成过程功能,支持中断正在进行的 AI 回复
- 优化模型推理时滚动条自由滑动体验
## 🔗 Related Issues
Fix #163
Fix #164
Fix #165
## ✅ Type of Change
- [x] Bug fix (non-breaking change)
- [x] New feature (non-breaking change)
- [ ] Breaking change
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
## 🧪 Testing
- [x] Unit tests pass locally
- [x] Manual testing completed
- 测试停止按钮能否正常中断 SSE 流式请求
- 测试模型推理时滚动条是否可自由滑动
## 📋 Checklist
- [x] Code has been formatted (`mvn spotless:apply` for backend, `npm run lint:fix` for frontend)
- [x] Code is self-reviewed
- [x] No breaking changes
- [x] All CI checks pass