* 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
78 lines
2.3 KiB
TOML
78 lines
2.3 KiB
TOML
id = "weekly-report"
|
|
name = "Weekly Report Generator"
|
|
description = "Turn raw work notes into a polished weekly report with highlights, metrics, blockers, and next week's priorities."
|
|
category = "productivity"
|
|
tags = ["report", "weekly", "productivity", "management"]
|
|
|
|
[i18n.zh]
|
|
name = "周报生成器"
|
|
description = "将零散工作笔记整理为规范周报,包含亮点、指标、阻塞项和下周计划。"
|
|
|
|
[[parameters]]
|
|
name = "work_notes"
|
|
description = "Raw work notes, bullet points, or activity log for the week"
|
|
param_type = "string"
|
|
required = true
|
|
|
|
[[parameters]]
|
|
name = "team_or_role"
|
|
description = "Your team name or role (used to frame context appropriately)"
|
|
param_type = "string"
|
|
required = false
|
|
default = ""
|
|
|
|
[[parameters]]
|
|
name = "audience"
|
|
description = "Who will read this report (manager, team, executive)"
|
|
param_type = "string"
|
|
required = false
|
|
default = "manager"
|
|
|
|
[[steps]]
|
|
name = "extract"
|
|
prompt_template = """
|
|
You are an executive assistant. Parse the following raw work notes and extract every item into structured categories:
|
|
|
|
**Completed** — fully done tasks (include measurable outcomes if mentioned)
|
|
**In Progress** — work started but not finished (include % complete or next milestone if available)
|
|
**Blockers** — anything preventing progress, and who or what is blocking
|
|
**Decisions Made** — choices or agreements reached this week
|
|
**Metrics** — any numbers mentioned (velocity, usage, revenue, bugs closed, etc.)
|
|
**Upcoming** — planned work mentioned for next week
|
|
|
|
Do not summarise or rephrase — extract faithfully.
|
|
|
|
Team/Role: {{team_or_role}}
|
|
|
|
Raw notes:
|
|
{{work_notes}}
|
|
"""
|
|
|
|
[[steps]]
|
|
name = "report_writer"
|
|
prompt_template = """
|
|
Write a polished weekly report for a {{audience}} audience. Tone should be professional and concise — no padding.
|
|
|
|
## Highlights
|
|
Top 3 achievements this week, each in one sentence with measurable impact where available.
|
|
|
|
## Progress
|
|
Grouped by project or workstream. For each: what was done, current status, and any dependency.
|
|
|
|
## Metrics
|
|
Key numbers from the week. If none were provided, omit this section.
|
|
|
|
## Blockers & Risks
|
|
Each blocker: description, impact, owner, and requested action.
|
|
|
|
## Next Week
|
|
Top 3-5 priorities with owner and expected outcome.
|
|
|
|
## Notes
|
|
Decisions made, process changes, or anything the audience should be aware of.
|
|
|
|
Extracted data:
|
|
{{extract}}
|
|
"""
|
|
depends_on = ["extract"]
|