بنقرة واحدة
pr-prepare
Prepare a pull request with structured description, test evidence, risk assessment, and review checklist.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Prepare a pull request with structured description, test evidence, risk assessment, and review checklist.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Verifies user's board configuration against known hardware limitations like strapping pins, ADC/Wi-Fi conflicts, and input-only pins.
Review ESP32 firmware architecture for RTOS safety, memory management, error handling, and embedded best practices.
Analyze ESP32 Guru Meditation errors and crash dumps to identify root cause and recommend fixes.
Parse and classify ESP32 serial log output to identify errors, warnings, boot issues, and failure patterns.
Audit ESP32 GPIO usage for conflicts, reserved pin violations, and documentation drift.
Generate a structured test plan for ESP32 firmware changes across all testing layers.
| name | pr_prepare |
| description | Prepare a pull request with structured description, test evidence, risk assessment, and review checklist. |
Generate a complete, reviewable pull request with all required evidence and documentation.
Gather from the mission file and implementation contract:
Document all test results:
## Summary
[One-paragraph description of the change and why it was needed]
## Changes
### Files Modified
| File | Change Type | Description |
|------|------------|-------------|
| `path/to/file` | Modified | [Brief description] |
### Architecture Impact
- [How this affects the overall system]
- [New dependencies introduced]
## Testing
### Tests Run
[paste test command and output]
### Test Summary
- ✅ [N] passed
- ❌ [N] failed
- ⏭️ [N] skipped (hardware-required)
### Coverage
- [X]% statement coverage on changed files
## Risk Assessment
| Risk | Level | Mitigation |
|------|-------|-----------|
| [Risk description] | LOW/MED/HIGH | [How it's handled] |
## Rollback Plan
[Steps to safely revert this change if needed]
## Checklist
- [ ] Implementation contract reviewed and accepted
- [ ] All acceptance criteria met
- [ ] Tests added for new functionality
- [ ] No regressions in existing tests
- [ ] Pin audit passed (if GPIO changes)
- [ ] Architecture review passed (if structural changes)
- [ ] Documentation updated
- [ ] Mission file updated with completion status
Reference the mission file in the PR so reviewers can see the full context:
Before submitting, verify:
TODO or FIXME without issue references.