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

+20
View File
@@ -0,0 +1,20 @@
id = "translate-polish"
name = "Translation & Polish"
description = "Auto-detect language, translate, and review for naturalness"
category = "language"
tags = ["translation", "language", "localization"]
[[parameters]]
name = "source_text"
description = "The text to translate"
param_type = "string"
required = true
[[steps]]
name = "translator"
prompt_template = "You are an expert translator. Translate the following text. Auto-detect the source language: if it's Chinese, translate to English; if it's English, translate to Chinese; for other languages, translate to both Chinese and English. Preserve the original tone, style, and formatting.\n\nText:\n{{source_text}}"
[[steps]]
name = "reviewer"
prompt_template = "You are a bilingual language expert. Review the following translation for accuracy and naturalness. Check for: 1) Mistranslations or meaning shifts 2) Awkward phrasing that sounds translated 3) Cultural context issues. Output the improved final translation only.\n\nTranslation to review:\n{{translator}}"
depends_on = ["translator"]