stream-chain
ما الذي تفعله
تربط هذه المهارة عدة خطوات من الذكاء الاصطناعي ببعضها، بحيث تبني كل خطوة على مخرجات التي قبلها. وهي موجهة لمن يريدون تشغيل سير عمل متعدد المراحل تلقائيا.
متى تستخدمها
- ✓عندما تحتاج مهمة إلى عدة خطوات، تعتمد كل واحدة منها على التي قبلها.
- ✓عندما تريد تشغيل خط تحليل جاهز بأمر واحد.
- ✓عندما تحتاج إلى تحويل البيانات عبر سلسلة من مراحل المعالجة بالذكاء الاصطناعي.
رابط المهارة
https://github.com/ruvnet/RuView/blob/main/.claude/skills/stream-chain/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حلل بنية قاعدة الشيفرة لدينا، ثم اعثر على مجالات للتحسين، ثم اكتب خطة عمل، كل ذلك في سلسلة واحدة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تعطي المهارة قائمة بالأوامر، فتشغّلها بالترتيب. تتلقى كل خطوة المخرجات الكاملة للخطوة السابقة، فتعكس النتيجة النهائية التسلسل كله.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Stream-Chain Skill
Execute sophisticated multi-step workflows where each agent's output flows into the next, enabling complex data transformations and sequential processing pipelines.
Overview
Stream-Chain provides two powerful modes for orchestrating multi-agent workflows:
- Custom Chains (
run): Execute custom prompt sequences with full control - Predefined Pipelines (
pipeline): Use battle-tested workflows for common tasks
Each step in a chain receives the complete output from the previous step, enabling sophisticated multi-agent coordination through streaming data flow.
Quick Start
Run a Custom Chain
claude-flow stream-chain run \
"Analyze codebase structure" \
"Identify improvement areas" \
"Generate action plan"
Execute a Pipeline
claude-flow stream-chain pipeline analysis
Custom Chains (run)
Execute custom stream chains with your own prompts for maximum flexibility.
Syntax
claude-flow stream-chain run <prompt1> <prompt2> [...] [options]
Requirements:
- Minimum 2 prompts required
- Each prompt becomes a step in the chain
- Output flows sequentially through all steps
Options
| Option | Description | Default |
|---|---|---|
--verbose |
Show detailed execution information | false |
--timeout <seconds> |
Timeout per step | 30 |
--debug |
Enable debug mode with full logging | false |
How Context Flows
Each step receives the previous output as context:
Step 1: "Write a sorting function"
Output: [function implementation]
Step 2 receives:
"Previous step output:
[function implementation]
Next task: Add comprehensive tests"
Step 3 receives:
"Previous steps output:
[function + tests]
Next task: Optimize performance"
Examples
Basic Development Chain
claude-flow stream-chain run \
"Write a user authentication function" \
"Add input validation and error handling" \
"Create unit tests with edge cases"
Security Audit Workflow
claude-flow stream-chain run \
"Analyze authentication system for vulnerabilities" \
"Identify and categorize security issues by severity" \
"Propose fixes with implementation priority" \
"Generate security test cases" \
--timeout 45 \
--verbose
Code Refactoring Chain
claude-flow stream-chain run \
"Identify code smells in src/ directory" \
"Create refactoring plan with specific changes" \
"Apply refactoring to top 3 priority items" \
"Verify refactored code maintains behavior" \
--debug
Data Processing Pipeline
claude-flow stream-chain run \
"Extract data from API responses" \
"Transform data into normalized format" \
"Validate data against schema" \
"Generate data quality report"
Predefined Pipelines (pipeline)
Execute battle-tested workflows optimized for common development tasks.
Syntax
claude-flow stream-chain pipeline <type> [options]
Available Pipelines
1. Analysis Pipeline
Comprehensive codebase analysis and improvement identification.
claude-flow stream-chain pipeline analysis
Workflow Steps:
- Structure Analysis: Map directory structure and identify components
- Issue Detection: Find potential improvements and problems
- Recommendations: Generate actionable improvement report
Use Cases:
- New codebase onboarding
- Technical debt assessment
- Architecture review
- Code quality audits
2. Refactor Pipeline
Systematic code refactoring with prioritization.
claude-flow stream-chain pipeline refactor
Workflow Steps:
- Candidate Identification: Find code needing refactoring
- Prioritization: Create ranked refactoring plan
- Implementation: Provide refactored code for top priorities
Use Cases:
- Technical debt reduction
- Code quality improvement
- Legacy code modernization
- Design pattern implementation
3. Test Pipeline
Comprehensive test generation with coverage analysis.
claude-flow stream-chain pipeline test
Workflow Steps:
- Coverage Analysis: Identify areas lacking tests
- Test Design: Create test cases for critical functions
- Implementation: Generate unit tests with assertions
Use Cases:
- Increasing test coverage
- TDD workflow support
- Regression test creation
- Quality assurance
4. Optimize Pipeline
Performance optimizatio
الأسئلة الشائعة
كم خطوة أحتاج؟
السلسلة المخصصة تحتاج إلى أمرين على الأقل.
هل أستطيع ضبط مهلة زمنية؟
نعم. لكل خطوة خيار مهلة، والافتراضي 30 ثانية.
هل توجد خطوط جاهزة؟
نعم. تتضمن المهارة خطوطا جاهزة لمهام شائعة، مثل التحليل.
التفاصيل
الوصف الأصلي من المؤلف
Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows
repo: ruvnet/RuView
الشعبية
- نجوم GitHub
- 102k
- الترتيب
- #840
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
AgentDB Advanced Features
102kتعرض لوكيلك ميزات AgentDB المتقدمة، مثل مزامنة قواعد البيانات بين الأجهزة والجمع بين البحث المتجهي وفلاتر البيانات الوصفية.
AgentDB Learning Plugins
102kتتيح لوكيلك بناء إضافات تعلم لـ AgentDB وتدريبها، باستخدام طرق التعلم المعزز التي تتحسن من التجارب السابقة.
AgentDB Memory Patterns
102kتتيح لوكيلك تذكّر المحادثات والسياق بين الجلسات، مستخدما AgentDB كمخزن ذاكرة دائم له.
AgentDB Performance Optimization
102kتعرض لوكيلك كيف يسرّع بحث AgentDB ويقلل استهلاك الذاكرة، بالضغط وفهرس بحث سريع والتخزين المؤقت.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.