* 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
87 lines
2.3 KiB
TOML
87 lines
2.3 KiB
TOML
id = "market-research"
|
|
name = "Market Research Report"
|
|
description = "Analyse a market opportunity: size, trends, customer segments, key players, and go-to-market entry points."
|
|
category = "business"
|
|
tags = ["market", "research", "strategy", "business"]
|
|
|
|
[i18n.zh]
|
|
name = "市场调研报告"
|
|
description = "分析市场机会:市场规模、趋势、客户细分、主要参与者和进入市场的切入点。"
|
|
|
|
[[parameters]]
|
|
name = "market"
|
|
description = "The market or industry to research"
|
|
param_type = "string"
|
|
required = true
|
|
|
|
[[parameters]]
|
|
name = "business_context"
|
|
description = "Your company, product, or investment thesis context"
|
|
param_type = "string"
|
|
required = false
|
|
default = ""
|
|
|
|
[[steps]]
|
|
name = "market_landscape"
|
|
prompt_template = """
|
|
You are a market research analyst. Map the current landscape for: {{market}}
|
|
|
|
1. **Market definition** — precise scope and adjacent markets
|
|
2. **Market size** — TAM, SAM, SOM estimates with methodology
|
|
3. **Growth rate** — historical and projected CAGR
|
|
4. **Maturity stage** — emerging / growth / mature / declining
|
|
5. **Key trends** — top 5 forces shaping the market (technology, regulation, behaviour)
|
|
6. **Geographic distribution** — where activity is concentrated
|
|
|
|
Context: {{business_context}}
|
|
"""
|
|
|
|
[[steps]]
|
|
name = "customer_segments"
|
|
prompt_template = """
|
|
Identify and profile the customer segments in this market:
|
|
|
|
For each segment (aim for 3-5):
|
|
- Name and size
|
|
- Demographics/firmographics
|
|
- Key pain points and jobs-to-be-done
|
|
- Current solutions they use
|
|
- Willingness to pay signals
|
|
- Acquisition channels
|
|
- Which segment is most underserved
|
|
|
|
Market landscape:
|
|
{{market_landscape}}
|
|
"""
|
|
depends_on = ["market_landscape"]
|
|
|
|
[[steps]]
|
|
name = "research_report"
|
|
prompt_template = """
|
|
Write a structured market research report:
|
|
|
|
## Executive Summary
|
|
3 bullet points: opportunity, risk, recommended entry point.
|
|
|
|
## Market Overview
|
|
## Customer Segments
|
|
## Competitive Landscape
|
|
Top players by segment, their moats and vulnerabilities.
|
|
|
|
## Market Entry Analysis
|
|
- Best beachhead segment
|
|
- Entry barriers and how to overcome them
|
|
- Differentiation opportunities
|
|
- Estimated time to meaningful traction
|
|
|
|
## Key Risks
|
|
## Recommended Next Steps
|
|
|
|
Market landscape:
|
|
{{market_landscape}}
|
|
|
|
Customer segments:
|
|
{{customer_segments}}
|
|
"""
|
|
depends_on = ["market_landscape", "customer_segments"]
|