pr-prepare
إعداد أوصاف طلبات السحب تلقائيًا
كتابة أوصاف واضحة لطلبات السحب تستغرق وقتًا وتتطلب الاتساق. تقوم هذه المهارة تلقائيًا بجمع سياق git، وتحليل التغييرات، وإنشاء أوصاف موحدة لطلبات السحب باتباع تنسيقات الالتزامات التقليدية.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“pr-prepare”。 Prepare the PR for this feature branch
预期结果:
- Suggested Title: feat: add user authentication with OAuth2
- ## Summary
- Add OAuth2 authentication supporting Google and GitHub providers.
- ## Changes
- - auth/oauth.py: OAuth2 client with token refresh
- - api/routes/auth.py: Login, logout, callback endpoints
- - models/user.py: User model with OAuth fields
- ## Impact
- - Users can sign in with Google or GitHub
- - Secure session management with httponly cookies
- - No breaking changes
正在使用“pr-prepare”。 Prepare a PR for this bug fix
预期结果:
- Suggested Title: fix: resolve null pointer in user lookup
- ## Summary
- Fixed null pointer exception when looking up users that do not exist in the database.
- ## Changes
- - services/user.py: Added null check before accessing user properties
- - tests/user_test.py: Added test cases for missing user scenarios
- ## Impact
- - Prevents crashes on invalid user lookups
- - Graceful error handling for missing users
- - No breaking changes to existing functionality
正在使用“pr-prepare”。 Create a PR description for the documentation updates
预期结果:
- Suggested Title: docs: update API documentation with new endpoints
- ## Summary
- Updated API documentation to include new authentication endpoints and rate limiting information.
- ## Changes
- - docs/api.md: Added new endpoint documentation
- - docs/auth.md: Updated authentication flow diagrams
- ## Impact
- - Improved developer experience
- - No code changes, only documentation
安全审计
低风险This skill is a documentation generator that provides workflow instructions for preparing PR descriptions. The static scanner flagged 56 issues, but ALL findings are FALSE POSITIVES. The scanner misinterpreted SHA256 cryptographic hashes as 'weak cryptographic algorithms,' standard git commands as 'shell execution threats,' and metadata URLs as 'network indicators.' The skill contains only documentation markdown with no actual code, no network calls, no data exfiltration, and no malicious functionality.
风险因素
⚙️ 外部命令 (1)
质量评分
你能构建什么
تبسيط سير عمل طلبات السحب
إنشاء أوصاف طلبات سحب متسقة واحترافية دون حفظ القوالب أو تشغيل أوامر git يدويًا
فرض معايير التوثيق
التأكد من أن جميع طلبات السحب الخاصة بالفريق تتضمن ملخصات موحدة وقوائم تغييرات وتقييمات للتأثير
تحسين جودة المساهمات
مساعدة المساهمين في كتابة أوصاف واضحة لطلبات السحب تجعل مراجعات الكود أسرع وأكثر فعالية
试试这些提示
Prepare the PR for this branch. Include a summary, changes, impact, and testing notes.
Create a PR description for this feature branch. What components changed and what benefits does this provide?
Prepare a PR describing this bug fix. Include what was broken, what changed, and how it was tested.
Generate a comprehensive PR description. Analyze all changes, identify breaking impacts, and suggest testing requirements.
最佳实践
- قم بتشغيل المهارة بعد إكمال التغييرات ولكن قبل الدفع لضمان حالة git نظيفة
- راجع الوصف الذي تم إنشاؤه وأضف أي تفاصيل خاصة بالسياق
- استخدم تنسيق الالتزامات التقليدية لعناوين طلبات السحب للحفاظ على الاتساق
避免
- استخدام المهارة مع تغييرات غير مسجلة ليست جزءًا من طلب السحب
- نسخ المخرجات دون مراجعة دقتها
- تخطي عناصر قائمة الاختبار قبل إنشاء طلب السحب