when-creating-slash-commands-use-slash-command-encoder
Claude Flow用のスラッシュコマンドを作成
スラッシュコマンドは、コマンドラインからマイクロスキルへの素早いアクセスを提供します。このスキルは、カスタムスラッシュコマンドの設計、生成、テスト、デプロイを検証とドキュメントと共にガイドします。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "when-creating-slash-commands-use-slash-command-encoder". Create a /analyze command for my codebase
النتيجة المتوقعة:
- 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
التدقيق الأمني
آمنThis 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.
عوامل الخطر
⚡ يحتوي على سكربتات (3)
درجة الجودة
ماذا يمكنك بناءه
クイックタスクアクセス
テスト、ビルド、コードのデプロイなど、頻繁に使用する開発タスクのショートカットを作成
自動化ワークフロー
インフラストラクチャ管理、デプロイメントパイプライン、システムメンテナンス用のコマンドを構築
ドキュメントコマンド
ドキュメント、APIリファレンス、使用ガイドを生成するコマンドを作成
جرّب هذه الموجهات
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
أفضل الممارسات
- ユーザーの期待に合う明確で分かりやすいコマンド名を使用する
- すべてのパラメータを早期に検証し、役立つエラーメッセージを提供する
- コマンドドキュメントに使用例を含める
تجنب
- 曖昧または重複する名前のコマンドを作成する
- パラメータ検証を省略し、ランタイムエラーを引き起こす
- エッジケースやエラーシナリオをテストせずにデプロイする