docs: prepare repository for open-source collaboration

This commit is contained in:
xuhongbin
2026-03-09 15:07:30 +08:00
parent f8bd942b6f
commit 984766e85e
9 changed files with 451 additions and 1 deletions

36
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,36 @@
---
name: Bug report
about: Report a reproducible issue
title: "[Bug]: "
labels: bug
assignees: ''
---
## Description
Describe the problem clearly.
## Reproduction Steps
1.
2.
3.
## Expected Behavior
What did you expect to happen?
## Actual Behavior
What happened instead?
## Environment
- Platform: <!-- ios / android / web -->
- OS / Device:
- App version / commit:
- Node version:
## Additional Context
Logs, screenshots, or videos.

View File

@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an improvement
title: "[Feature]: "
labels: enhancement
assignees: ''
---
## Problem Statement
What problem are you trying to solve?
## Proposed Solution
Describe the desired behavior and UX.
## Alternatives Considered
What alternatives did you evaluate?
## Additional Context
Any references, mockups, or constraints.

29
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,29 @@
## Summary
- What changed?
- Why was this needed?
## Verification
- [ ] `npm ci`
- [ ] `npm run start` (or relevant platform run)
- [ ] Relevant manual verification completed
Commands and outputs:
```txt
<paste commands/results>
```
## Risk / Impact
- Affected areas:
- Backward compatibility concerns:
- Rollback plan (if needed):
## Checklist
- [ ] Scope is focused and minimal
- [ ] Documentation updated (if behavior/setup changed)
- [ ] No secrets or credentials added
- [ ] Screenshots attached for UI changes (if applicable)