when-creating-slash-commands-use-slash-command-encoder
إنشاء أوامر Slash لـ Claude Flow
توفر أوامر Slash وصولاً سريعاً إلى المهارات الصغيرة من سطر الأوامر. تُرشدك هذه المهارة خلال تصميم وإنشاء واختبار ونشر أوامر slash مخصصة مع التحقق والتوثيق.
Descargar el ZIP de la skill
Subir en Claude
Ve a Configuración → Capacidades → Skills → Subir skill
Activa y empieza a usar
Pruébalo
Usando "when-creating-slash-commands-use-slash-command-encoder". Create a /analyze command for my codebase
Resultado esperado:
- Created command schema at command-schema.json
- Generated handler at commands/analyze-handler.js
- Added parameter validation for required 'path' field
- Created test suite at tests/analyze-command.test.js
- Documentation available at docs/commands/analyze.md
- Run 'npx claude-flow@alpha command install' to deploy
Auditoría de seguridad
SeguroThis is a documentation-only skill containing markdown guides, example bash scripts in code blocks, and process diagrams. No executable code, no network calls, no file writes. The static analyzer incorrectly flagged documentation examples as security issues. All 80 'findings' are false positives from pattern-matching without semantic understanding of documentation context.
Factores de riesgo
⚡ Contiene scripts (3)
Puntuación de calidad
Lo que puedes crear
الوصول السريع للمهام
إنشاء اختصارات لمهام التطوير المستخدمة بشكل متكرر مثل الاختبار والبناء أو نشر الكود
سير عمل الأتمتة
بناء أوامر لإدارة البنية التحتية وخطوط النشر وصيانة النظام
أوامر التوثيق
إنشاء أوامر تُنتج التوثيق ومراجع API وأدلة الاستخدام
Prueba estos prompts
Create a /deploy command that deploys the current project to production with a --environment flag
Create a /analyze command that accepts a path parameter and validates it exists before processing
Create a /git command with subcommands for commit, push, and pull with appropriate parameters for each
Generate a complete /test command with handler, tests, documentation, and shell completions for bash
Mejores prácticas
- استخدم أسماء أوامر واضحة ووصفية تتطابق مع توقعات المستخدم
- تحقق من جميع المعاملات مبكراً وقدم رسائل خطأ مفيدة
- قم بتضمين أمثلة الاستخدام في توثيق الأوامر
Evitar
- إنشاء أوامر بأسماء غامضة أو متداخلة
- تخطي التحقق من المعاملات مما يؤدي إلى أخطاء وقت التشغيل
- النشر دون اختبار الحالات الحدية وسيناريوهات الأخطاء