chore: simplify PR template (OpenClaw-style)

This commit is contained in:
tinkle-community
2026-03-11 15:57:03 +08:00
parent b73617fed3
commit a4a81993bb

View File

@@ -1,100 +1,50 @@
# Pull Request ## Summary
> **📋 Choose Specialized Template** - Problem:
> - What changed:
> We now offer specialized templates for different types of PRs to help you fill out the information faster: - What did NOT change (scope boundary):
>
> - 🔧 **[Backend PR Template](./PULL_REQUEST_TEMPLATE/backend.md)** - For Go/API/Trading changes
> - 🎨 **[Frontend PR Template](./PULL_REQUEST_TEMPLATE/frontend.md)** - For UI/UX changes
> - 📝 **[Documentation PR Template](./PULL_REQUEST_TEMPLATE/docs.md)** - For documentation updates
> - 📦 **[General PR Template](./PULL_REQUEST_TEMPLATE/general.md)** - For mixed or other changes
>
> **How to use?**
> - When creating a PR, add `?template=backend.md` or other template name to the URL
> - Or simply copy and paste the content from the corresponding template
--- ## Change Type
> **💡 Tip:** Recommended PR title format `type(scope): description` - [ ] Bug fix
> Example: `feat(trader): add new strategy` | `fix(api): resolve auth issue` - [ ] Feature
- [ ] Refactoring
- [ ] Docs
- [ ] Security fix
- [ ] Chore / infra
--- ## Scope
## 📝 Description - [ ] Trading engine / strategies
- [ ] MCP / AI clients
- [ ] API / server
- [ ] Telegram bot / agent
- [ ] Web UI / frontend
- [ ] Config / deployment
- [ ] CI/CD / infra
<!-- Describe your changes in detail --> ## Linked Issues
---
## 🎯 Type of Change
- [ ] 🐛 Bug fix
- [ ] ✨ New feature
- [ ] 💥 Breaking change
- [ ] 📝 Documentation update
- [ ] 🎨 Code style update
- [ ] ♻️ Refactoring
- [ ] ⚡ Performance improvement
- [ ] ✅ Test update
- [ ] 🔧 Build/config change
- [ ] 🔒 Security fix
---
## 🔗 Related Issues
- Closes # - Closes #
- Related to # - Related #
--- ## Testing
## 📋 Changes Made What you verified and how:
<!-- List the specific changes made --> - [ ] `go build ./...` passes
- - [ ] `go test ./...` passes
- - [ ] Manual testing done (describe below)
--- ## Security Impact
## 🧪 Testing - Secrets/keys handling changed? (`Yes/No`)
- New/changed API endpoints? (`Yes/No`)
- User input validation affected? (`Yes/No`)
- [ ] Tested locally ## Compatibility
- [ ] Tests pass
- [ ] Verified no existing functionality broke
--- - Backward compatible? (`Yes/No`)
- Config/env changes? (`Yes/No`)
## ✅ Checklist - Migration needed? (`Yes/No`)
- If yes, upgrade steps:
### Code Quality
- [ ] Code follows project style
- [ ] Self-review completed
- [ ] Comments added for complex logic
### Documentation
- [ ] Updated relevant documentation
### Git
- [ ] Commits follow conventional format
- [ ] Rebased on latest `dev` branch
- [ ] No merge conflicts
---
## 📚 Additional Notes
<!-- Any additional information or context -->
---
**By submitting this PR, I confirm:**
- [ ] I have read the [Contributing Guidelines](../CONTRIBUTING.md)
- [ ] I agree to the [Code of Conduct](../CODE_OF_CONDUCT.md)
- [ ] My contribution is licensed under AGPL-3.0
---
🌟 **Thank you for your contribution!**