* feat(workflows): add 13 workflow templates across engineering, business, and productivity Engineering: - bug-triage: reproduce path → root cause → fix plan - api-design: resource model → endpoints → OpenAPI spec - incident-postmortem: timeline → RCA → full postmortem report - test-generation: code analysis → edge cases → full test suite - refactor-plan: smell analysis → prioritised opportunities → migration plan Business: - competitor-analysis: profiles → SWOT → strategy report - product-spec: problem definition → user stories → full PRD - market-research: landscape → segments → research report Productivity/Thinking: - meeting-summary: raw notes → structured summary → follow-up email - decision-matrix: criteria → weighted scoring → recommendation memo - learning-plan: gap analysis → roadmap → week-1 day-by-day plan - job-application: job analysis → tailored resume → cover letter → interview prep - blog-post: research → outline → draft → SEO optimisation Closes #1912 on librefang/librefang * fix(workflows): overhaul existing 9 templates - data-pipeline: redesigned — original 'extract from URL' step was broken (LLMs cannot fetch URLs); replaced with paste-data approach (profile → clean_transform → analyse) with analysis_goal parameter - translate-polish: added target_language and register parameters; added back-translation step for accuracy verification - weekly-report: added team/audience parameters, richer extraction step, added Metrics and Notes sections - content-pipeline: added audience/tone parameters, added outline step between research and writing - content-review: fix category 'content' → 'creation' - customer-support: fix category 'support' → 'business' * style(workflows): convert all prompt_template strings to TOML multiline syntax Replace \n escape sequences with real newlines using triple-quote multiline strings ("""...""") across all 22 workflow templates. No content changes — formatting only. * style(hands): replace \n escape in reddit writer format example with multiline code block
44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
id = "brainstorm"
|
|
name = "Brainstorm & Action Plan"
|
|
description = "Generate ideas, evaluate them, and create an action plan for the best one"
|
|
category = "thinking"
|
|
tags = ["brainstorm", "ideation", "planning"]
|
|
|
|
[i18n.zh]
|
|
name = "头脑风暴与行动计划"
|
|
description = "生成创意、评估方案,并为最佳方案制定行动计划"
|
|
|
|
[[parameters]]
|
|
name = "challenge"
|
|
description = "The challenge or problem to brainstorm solutions for"
|
|
param_type = "string"
|
|
required = true
|
|
|
|
[[steps]]
|
|
name = "idea_generator"
|
|
prompt_template = """
|
|
You are a creative strategist. For the following challenge, generate 10 diverse solution ideas. Include: 3 conventional approaches, 4 creative approaches, and 3 bold/unconventional approaches. For each idea, give a one-line title and a 2-sentence explanation.
|
|
|
|
Challenge: {{challenge}}
|
|
"""
|
|
|
|
[[steps]]
|
|
name = "evaluator"
|
|
prompt_template = """
|
|
You are a critical analyst. Evaluate each idea below on three criteria: Feasibility (1-5), Impact (1-5), Originality (1-5). Pick the top 3 ideas and for each provide: why it's promising, key risks, and concrete first steps to implement it.
|
|
|
|
Ideas:
|
|
{{idea_generator}}
|
|
"""
|
|
depends_on = ["idea_generator"]
|
|
|
|
[[steps]]
|
|
name = "action_planner"
|
|
prompt_template = """
|
|
You are a project planner. Take the top-rated idea below and create a concrete action plan: 1) Clear goal statement 2) 5-step implementation roadmap with timelines 3) Required resources 4) Success metrics 5) Potential obstacles and mitigation strategies.
|
|
|
|
Evaluation:
|
|
{{evaluator}}
|
|
"""
|
|
depends_on = ["evaluator"]
|