بنقرة واحدة
create-pr
Create a PR for the current branch based on the PR template
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a PR for the current branch based on the PR template
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a well-structured GitHub issue for Jetmon work
Debug memory issues in Jetmon workers and identify leaks
Run, debug, and test Jetmon using the Docker development environment
Rebuild the C++ native addon after making changes to http_checker.cpp
| name | create-pr |
| description | Create a PR for the current branch based on the PR template |
| allowed-tools | Bash(git diff:*), Bash(git log:*), Bash(git status:*), Bash(git branch:*), Bash(git show:*), Bash(gh pr create:*), Bash(git fetch:*) |
Create a PR for the current branch, targeting master.
/create-pr - Analyze the current branch and create a PRGather branch context:
git fetch origin to ensure we have the latest refsgit log origin/master..HEAD --oneline to see all commits on the branchgit diff origin/master...HEAD --stat to see what files changedgit diff origin/master...HEAD to see the actual changesTake the entire branch into account, not just the most recent commit. All commits since branching from origin/master should inform the PR description.
Analyze the changes to understand:
Follow these style guidelines:
Identify affected components based on the changes:
| Component | Key Files |
|---|---|
| Master Process | lib/jetmon.js |
| Worker Process | lib/httpcheck.js |
| C++ Native Addon | src/http_checker.cpp, src/http_checker.h, binding.gyp |
| Veriflier | veriflier/*.cpp, veriflier/*.h |
| Database | lib/database.js, lib/dbpools.js |
| Configuration | config/config.json, config/config.readme |
| Docker | docker/docker-compose.yml, docker/Dockerfile* |
| StatsD/Metrics | Look for statsdClient calls |
| WPCOM Integration | lib/wpcom.js, lib/comms.js |
Determine testing requirements:
npm run rebuild-runCreate the PR using gh pr create --draft --assignee @me with this format:
## Summary
Brief description of what this PR accomplishes and why.
## Changes
- Bullet points describing specific changes
- Include technical details relevant to reviewers
- Note any configuration changes required
## Affected Components
- List components from the table above that are modified
## Testing
- [ ] Tested locally with Docker environment
- [ ] Ran `npm run rebuild-run` (if C++ changes)
- [ ] Verified memory usage is within limits (if worker changes)
- [ ] Tested configuration reload via SIGHUP (if config changes)
## Deployment Notes
Any special deployment considerations (e.g., config changes, database migrations, Systems team coordination)