pr_prepare
Skill79 starsChanged 8 months agoMITView on GitHub
Prepare a pull request with structured description, test evidence, risk assessment, and review checklist.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- esp32_arch_reviewSkill
- esp32_crash_reviewSkill
- esp32_log_triageSkill
- esp32_pin_auditSkill
- esp32_test_planSkill
- feature_contractSkill
- esp32_hardware_checkSkill
- repo_scoutSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
After completing implementation and testing.
- Distinctive: line 13
Before submitting code for review.
- Distinctive: line 14
When updating a mission to "complete" status.
- Distinctive: line 28
Document all test results:
- Distinctive: line 29
Test commands run and their output.
- Distinctive: line 95
Test plan with detailed cases.
- Distinctive: line 112
Keep the PR focused: If scope grew beyond the contract, split into multiple PRs.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Prepare
Generate a complete, reviewable pull request with all required evidence and documentation.
When to Use
- After completing implementation and testing.
- Before submitting code for review.
- When updating a mission to "complete" status.
Steps
1. Collect Implementation Artifacts
Gather from the mission file and implementation contract:
- Change summary and motivation.
- List of affected files.
- Non-goals (what was intentionally excluded).
- Risk assessment from the contract.
2. Compile Test Evidence
Document all test results:
- Test commands run and their output.
- Pass/fail counts.
- Coverage report (if available).
- Any skipped tests with reason (e.g., requires hardware).
- Serial log excerpts for target tests.
3. Generate PR Description
## 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 status4. Link to Mission File
Reference the mission file in the PR so reviewers can see the full context:
- Original mission with goals and constraints.
- Implementation contract with scope and risks.
- Test plan with detailed cases.
5. Review Readiness Check
Before submitting, verify:
- All CI checks would pass.
- No uncommitted changes.
- Commit messages are descriptive.
- PR description is complete.
- No debugging code left in.
- No
TODOorFIXMEwithout issue references.
Rules
- Never submit a PR without test evidence. Even if tests are manual, document the results.
- Include risk assessment. Reviewers need to know what could go wrong.
- Link to the mission. Provide full traceability.
- Keep the PR focused. If scope grew beyond the contract, split into multiple PRs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

