feat: add workflow templates (#9)

9 bundled workflow templates:
- data-pipeline: ETL extract/transform/validate
- content-review: multi-agent draft/quality/accuracy/edit
- customer-support: tiered triage/response/escalation
- code-review: parallel correctness+security+style analysis
- research: research/fact-check/summarize
- content-pipeline: research → write → edit article creation
- translate-polish: auto-detect language, translate, review
- brainstorm: ideation → evaluation → action plan
- weekly-report: raw notes → organized → polished report
This commit is contained in:
Evan authored and GitHub committed 2026-03-22 12:37:04 +09:00
1 parent 31f17ba369
commit 6e48be1e31
9 files changed
+297

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
id = "content-pipeline"
name = "Content Creation Pipeline"
description = "Research → Write → Edit pipeline for article creation"
category = "creation"
tags = ["content", "writing", "article"]
[[parameters]]
name = "topic"
description = "The topic to research and write about"
param_type = "string"
required = true
[[parameters]]
name = "word_count"
description = "Target word count for the article"
param_type = "string"
required = false
default = "800-1200"
[[steps]]
name = "researcher"
prompt_template = "You are a research assistant. Research the following topic thoroughly and provide: 1) Background and context 2) Key facts and data points 3) Different perspectives on the topic 4) Recent developments. Be specific and detailed.\n\nTopic: {{topic}}"
[[steps]]
name = "writer"
prompt_template = "You are a professional writer. Based on the research below, write a well-structured article ({{word_count}} words). Include: a compelling headline, an engaging introduction, clear sections with subheadings, and a strong conclusion. Write in a clear, accessible style.\n\nResearch:\n{{researcher}}"
depends_on = ["researcher"]
[[steps]]
name = "editor"
prompt_template = "You are a senior editor. Review and polish the following article. Fix any grammar issues, improve flow, tighten wordy sentences, and ensure factual consistency. Output the final polished version only, no commentary.\n\nDraft:\n{{writer}}"
depends_on = ["writer"]