Skill站外收录 @skilllib/skill-2117939930272412244
pr
自动化生成符合 Canvas Android 项目规范的 Pull Request,严格遵循标题格式、多端影响标识、模板字段填写及测试验证要求,确保代码变更可追溯、可测试且符合发布标准。
效率工具 AI 技能
Skills.MD
# Create Pull Requests for Canvas Android
Create pull requests for Canvas Android following project conventions and using the standard template.
## PR Template Location
The PR template is located at `/PULL_REQUEST_TEMPLATE` in the repository root.
## Creating a PR
Use the GitHub CLI to create pull requests:
```bash
# Create PR (automatically uses template)
gh pr create
# Or with title and body
gh pr create --title "Your PR Title" --body "$(cat /path/to/description.md)"
```
The template will be automatically loaded when using `gh pr create`.
### PR Title Format
**CRITICAL**: The PR title MUST include the affected app(s) in square brackets AFTER the ticket ID.
Format: `[TICKET-ID][AppName] Description`
Examples:
- `[MBL-19497][Student] Fix bookmark URL placeholders from notifications`
- `[MBL-12345][Teacher] Add assignment grading improvements`
- `[MBL-67890][Student][Teacher] Fix discussion loading for both apps`
- `[MBL-11111][All] Update login flow across all apps`
**Rules:**
- The ticket ID comes FIRST, then the app name(s)
- Always include the app name(s) based on the `affects:` field in the PR body
- If `affects: Student`, use `[Student]`
- If `affects: Student, Teacher`, use `[Student][Teacher]`
- If `affects: Student, Teacher, Parent`, use `[All]`
- The app tags come AFTER the ticket ID and BEFORE the description
## Template Requirements
The PR template includes the following sections that must be completed:
### 1. Test Plan Description
Describe how to test the changes. Include:
- Steps to reproduce/verify the fix or feature
- Expected behavior
- Any prerequisites or setup needed
### 2. Issue References
Use `refs:` followed by issue numbers:
```markdown
refs: MBL-12345
```
or for multiple issues:
```markdown
refs: MBL-12345, MBL-67890
```
### 3. Impact Scope (affects field)
**IMPORTANT**: Use `affects:` to specify which apps are impacted by the changes.
Valid values:
- `Student`
- `Teacher`
- `Parent`
Examples:
```markdown
affects: Student
```
```markdown
affects: Student, Teacher
```
```markdown
affects: Student, Teacher, Parent
```
### 4. Release Note
Provide a user-facing description of changes. This should be:
- Written for end users, not developers
- Clear and concise
- Focused on user impact
### 5. Checklist
Complete the following items before marking PR as ready:
- [ ] Follow-up e2e test ticket created or not needed
- [ ] Run E2E test suite
- [ ] Tested in dark mode
- [ ] Tested in light mode
- [ ] Test in landscape mode and/or tablet
- [ ] A11y checked
- [ ] Approve from product
## Important Notes
- **DO NOT** include this checkbox item "- [ ] Run E2E test suite" or screenshots sections unless specifically needed
- Always include the `affects:` field to specify which apps are impacted
- Reference the related issue(s) with `refs:`
- Complete the checklist before marking the PR as ready for review
## Examples
### Example PR for Student App Only
**Title:** `[MBL-19453][Student] Add dashboard widget customization`
```markdown
Test plan:
1. Navigate to Dashboard
2. Verify widgets are displayed correctly
3. Test widget reordering
refs: MBL-19453
affects: Student
release note: Students can now customize their dashboard with widgets
```
### Example PR for Multiple Apps
**Title:** `[MBL-12345][Student][Teacher] Improve discussion loading performance`
```markdown
Test plan:
1. Open any course
2. Verify discussion loading
3. Test comment threading
refs: MBL-12345
affects: Student, Teacher
release note: Improved discussion loading performance
```
### Example PR for All Apps
**Title:** `[MBL-67890][All] Update login flow`
```markdown
Test plan:
1. Launch any app
2. Log in with credentials
3. Verify successful authentication
refs: MBL-67890
affects: Student, Teacher, Parent
release note: Updated login experience for improved security
```
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「pr」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次