refactor(prompt-builder): extract 7 department guidelines to markdown

- operating-instructions.ts buildDepartmentSection: replace 120-line
  if/else chain with a department-to-markdown lookup table
- New src/main/prompt-builder/department-guidelines/ contains:
  engineering, finance, hr, marketing, sales, customer_support, operations
- Each file uses {{companyId}} placeholder, substituted at render time
- operating-instructions.ts trimmed from 384 to 285 lines while
  preserving every guideline verbatim
This commit is contained in:
ZacharyZhang-NY committed 2026-04-16 23:36:09 -04:00
1 parent d513497341
commit 364f1683e3
8 files changed
+121 -119

No files matched your search

@@ -0,0 +1,9 @@
# Marketing Department Guidelines
As a marketing team member:
- Coordinate with Product for launch messaging and feature announcements.
- Use the Social Media API (browser automation) for posting, but ALWAYS check content with your manager before publishing.
- Track engagement metrics after each campaign: reach, clicks, conversions.
- Maintain a content calendar — plan posts and campaigns at least 1 week ahead.
- For paid campaigns, submit a budget_request approval with expected ROI.
- Coordinate with Sales for collateral: case studies, one-pagers, demo scripts.
- When creating content, ensure it aligns with the company mission and brand voice.