workflow-create
यह क्या करती है
यह स्किल दिखाती है कि AI एजेंट के लिए वर्कफ़्लो कैसे डिज़ाइन करें। जो लोग साफ़ चरणों, मंज़ूरियों या समानांतर कामों वाली दोहराई जा सकने वाली प्रक्रिया चाहते हैं, उनके लिए यह है।
कब इस्तेमाल करें
- ✓जब आप कई चरणों की प्रक्रिया सहेजना चाहें ताकि उसे बाद में जाँचा, रोका और दोबारा चलाया जा सके।
- ✓जब आप चाहें कि कई एजेंट एक साथ कई आइटम खोजें या समीक्षा करें और नतीजे जोड़ें।
- ✓जब प्रक्रिया आगे बढ़ने से पहले किसी व्यक्ति की मंज़ूरी चाहिए।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-workflows/skills/workflow-create/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ऐसा दोहराने योग्य वर्कफ़्लो सेट कीजिए जो ये चरण क्रम से चलाए और प्रकाशित करने से पहले मेरी मंज़ूरी का इंतज़ार करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट चरण, शर्तें और उन्हें चलाने का क्रम रखकर एक सहेजा वर्कफ़्लो बनाता है। यह उन वर्कफ़्लो को सूचीबद्ध, जाँच और मिटा भी सकता है जिनकी अब ज़रूरत नहीं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Workflow Create
Author a workflow on whichever surface fits the job.
Pick a surface
- MCP workflow template — a persisted definition with a pause/resume lifecycle. Use for long-lived, human-gated, resumable pipelines.
- Native
.claude/workflows/*.js— an imperative orchestration script that fans subagents out. Use for comprehensive fan-out (review, audit, migration, research) where you aggregate structured results in code.
A — MCP workflow template
- List templates — call
mcp__plugin_ruflo-core_ruflo__workflow_templateto see available templates - Create workflow — call
mcp__plugin_ruflo-core_ruflo__workflow_createwith steps, conditions, and execution order - List workflows — call
mcp__plugin_ruflo-core_ruflo__workflow_listto see all defined workflows - Check status — call
mcp__plugin_ruflo-core_ruflo__workflow_statusto monitor a workflow - Clean up — call
mcp__plugin_ruflo-core_ruflo__workflow_deleteto remove unused workflows
Features: sequential/parallel steps, conditional branching, template inheritance, pause/resume approval gates.
ADR steps (with ruflo-console 0.39.0 or later)
Neither surface above has a step type for decisions, and ruflo-console owns no workflow engine (its Workflows page only reads runs), so these are two ordinary steps, not an engine feature. They use the ADRs of the project you run in, not ruflo's own.
- requires ADR (first step): attach the ADRs that govern the area to the console mission (ADRs page, or
/ruflo run adr-attach <n>); the console puts the accepted decisions in the prompt of every step and spawned agent. Name the ones the step touches before it edits anything. - records ADR (last step): when the workflow made a decision a person should keep,
/ruflo run adr-propose <title>(or the page's draft an ADR from this mission). It writes a proposed record only after the person's Yes on the exact file; a person writes the decision and accepts it.
The console's scope check compares changed file paths with the paths the attached accepted ADRs name and records a warning; it does not prove a step follows a decision.
B — Native .claude/workflows/*.js
Write a .js file under .claude/workflows/. It MUST begin with a pure-literal export const meta block; the body runs inside an async wrapper (top-level await/return are legal) with these hooks injected:
| Hook | Purpose |
|---|---|
agent(prompt, opts) |
Spawn one subagent; pass opts.schema (JSON Schema) to get validated structured output back |
parallel(thunks) |
Run thunks concurrently with a barrier — .filter(Boolean) the results |
pipeline(items, ...stages) |
Stream each item through stages independently — prefer this over a barrier |
phase(title) / log(msg) |
Progress grouping / narration |
export const meta = {
name: 'my-workflow', // becomes the invocable name — must be a pure literal
description: 'one line',
phases: [{ title: 'Find' }, { title: 'Verify' }],
}
const SCHEMA = { type: 'object', required: ['ok'], properties: { ok: { type: 'boolean' } }, additionalProperties: false }
phase('Find')
const found = await agent('find the things', { schema: SCHEMA, agentType: 'tester' })
phase('Verify')
const checked = await parallel((found.items || []).map((it) => () =>
agent(`verify ${it}`, { schema: SCHEMA })))
return { found, checked: checked.filter(Boolean) }
Rules: meta is a pure literal (no variables/calls/interpolation); default to pipeline over parallel; never use Date.now()/Math.random() (they throw — vary by index instead). Validate syntax (the body is ESM-in-async-wrapper, not a bare module):
node -e 'const fs=require("fs");let s=fs.readFileSync(".claude/workflows/my-workflow.js","utf8").replace(/^export\s+const\s+meta/m,"const meta");fs.writeFileSync("/tmp/wf.mjs","let agent,parallel,pipeline,phase,log,args,budget,workflow;async function __wf(){\n"+s+"\n}")' \
&& node --check /tmp/wf.mjs && echo OK
Run it with the workflow-run skill or Workflow({ name: 'my-workflow' }). Reference: .claude/workflows/plugin-contract-audit.js. See ADR-0002.
अक्सर पूछे जाने वाले सवाल
दो वर्कफ़्लो प्रकारों में क्या अंतर है?
सहेजा टेम्पलेट समय के साथ रोका और दोबारा शुरू किया जा सकता है। स्क्रिप्ट कोड में कई हेल्पर एजेंटों को काम बाँटकर नतीजे जोड़ती है।
क्या वर्कफ़्लो में मंज़ूरी का चरण हो सकता है?
हाँ। वर्कफ़्लो एक गेट पर रुक सकता है और आगे बढ़ने से पहले किसी व्यक्ति की मंज़ूरी का इंतज़ार कर सकता है।
क्या मुझे कोड आना चाहिए?
सहेजा टेम्पलेट कमांड से सेट होता है। स्क्रिप्ट विकल्प के लिए एक छोटी JavaScript फ़ाइल चाहिए।
जानकारी
लेखक का मूल विवरण
Author a workflow — either an MCP workflow template (persisted, lifecycle) or a native .claude/workflows/*.js orchestration script (agent/parallel/pipeline fan-out)
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1703
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।