본문으로 건너뛰기
Skillpedia
에이전트81k · #1703

workflow-create

하는 일

이 스킬은 AI 에이전트의 워크플로를 설계하는 방법을 보여 줍니다. 점검, 일시 정지, 병렬 작업이 필요한 반복 가능한 다단계 절차를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓다단계 절차를 저장해 나중에 점검하고, 멈추고, 다시 실행하고 싶을 때.
  • ✓여러 에이전트가 많은 항목을 동시에 조사하거나 검토하고 결과를 합치고 싶을 때.
  • ✓다음 단계로 넘어가기 전에 사람이 단계를 승인해야 할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-workflows/skills/workflow-create/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-workflows/skills/workflow-create/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 단계들을 순서대로 실행하고, 게시하기 전에 제 승인을 기다리는 반복 가능한 워크플로를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 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

  1. List templates — call mcp__plugin_ruflo-core_ruflo__workflow_template to see available templates
  2. Create workflow — call mcp__plugin_ruflo-core_ruflo__workflow_create with steps, conditions, and execution order
  3. List workflows — call mcp__plugin_ruflo-core_ruflo__workflow_list to see all defined workflows
  4. Check status — call mcp__plugin_ruflo-core_ruflo__workflow_status to monitor a workflow
  5. Clean up — call mcp__plugin_ruflo-core_ruflo__workflow_delete to 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬