monty-code-review
مراجعة كود Django مع فحوصات صارمة للصحة
غالبًا ما تفوت مراجعات الكود مشاكل دقيقة في الصحة، خاصة حول سلامة multi-tenant وسلامة البيانات. توفر هذه المهارة إطار مراجعة منظم ومتشدد للغاية يكتشف أخطاء الصحة وانتهاكات SOLID ومخاطر الأمان قبل وصولها للإنتاج.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "monty-code-review". Review this PR with monty-code-review
Résultat attendu:
- What is great: Good use of transaction.atomic around export generation
- BLOCKING: dashboardapp/views/v2/report.py - queryset missing organization scoping, risks cross-tenant leakage
- SHOULD_FIX: pulse_iq/tasks.py - potential N+1 when iterating over responses
- NIT: utils/date_helpers.py - docstring could clarify quarter definition, missing newline at EOF
- Tests: Missing coverage for multi-tenant edge cases
- Verdict: Request changes due to blocking multi-tenant issue
Utilisation de "monty-code-review". Check this migration for safety
Résultat attendu:
- What is great: Migration uses non-atomic operation for large table changes
- BLOCKING: Adding non-nullable column with default will lock the entire production table
- SHOULD_FIX: Consider adding column nullable first, then backfilling in batches
- Verdict: Request changes before merge
Utilisation de "monty-code-review". Review for SOLID violations
Résultat attendu:
- What is great: Clear separation between boundary and service layer
- BLOCKING: send_reminders directly instantiates ReminderService - violates DIP
- SHOULD_FIX: Accept injectable factory to enable clean testing without @patch
- Verdict: Request changes for testability
Audit de sécurité
SûrPure prompt-based documentation skill containing only markdown files that instruct AI assistants how to perform code reviews. No executable code, no network calls, no credential access. All static findings are FALSE POSITIVES triggered by documentation patterns (backticks for code formatting, legitimate code review terminology, and standard metadata). The skill operates entirely within the AI assistant's context and does not interact with external systems.
Facteurs de risque
🌐 Accès réseau (1)
⚙️ Commandes externes (168)
Score de qualité
Ce que vous pouvez construire
مراجعة PR لتطبيقات Django
مراجعة PRs لتطبيقات dashboard أو survey أو optimo مع التركيز على سلامة البيانات وسلامة multi-tenant
معايير جودة الكود
فرض معايير جودة كود متسقة عبر الفريق مع ملاحظات منظمة مصنفة بالشدة
فحوصات سلامة الترحيلات
التحقق من صحة ترحيلات Django لسلامة وقت التوقف ومخاطر تغييرات مخطط الجداول الكبيرة
Essayez ces prompts
Use your monty-code-review skill to review this Django PR like Monty would, and be fully pedantic with your usual severity tags
Use your monty-code-review skill to skim this PR and only flag blocking or should-fix issues; skip most nits
Use monty-code-review to check this Django migration for downtime risks and large-table column additions
Review this code for SOLID principle violations, specifically Dependency Inversion and Single Responsibility
Bonnes pratiques
- توفير أوصاف PR وسياق التذكرة لمراجعات أكثر تركيزًا
- استخدام علامات الشدة لترتيب الإصلاحات بشكل فعال
- تطبيق فحوصات SOLID مبكرًا عند تصميم خدمات جديدة
- تشغيل المهارة على الترحيلات قبل النشر للإنتاج
Éviter
- تجاهل المراجعات لـ PRs الصغيرة لتجنب أخطاء الصحة
- دمج الكود مع مشاكل BLOCKING multi-tenant
- إضافة دعم منصة جديدة عبر سلاسل if/elif بدلاً من أنماط السجل
- استخدام اقتران وثيق يتطلب استدعاءات @patch مكثفة في الاختبارات