Problem
frontapp_mcp_server/src/frontapp_mcp/prompts/ exists but is empty (just __init__.py). MCP Prompts are a first-class primitive (alongside tools and resources) for guided multi-step LLM workflows. They lower agent cognitive load by replacing freeform tool-call sequences with structured templates.
Sibling repo stocktrim built this out in PR #107 — prompts/ module + register_all_prompts() + domain-grouped prompt files + test scaffold.
Depends on
Solution
Wire up the prompts infrastructure:
prompts/__init__.py — register_all_prompts(mcp) entry point that calls each domain's registration function
- Domain-grouped prompt files:
prompts/drafts.py, prompts/conversations.py, prompts/triage.py
- Initial high-value prompts (start small, expand as patterns emerge):
compose_draft_reply — guided template for drafting a contextual reply (fetches the thread, suggests a tone, leaves slots for the human)
triage_inbox — walk through unassigned conversations and recommend tags/assignees
summarize_thread — structured thread summary for handoff
- Test scaffold under
frontapp_mcp_server/tests/prompts/
Files to add
frontapp_mcp_server/src/frontapp_mcp/prompts/__init__.py (modify)
frontapp_mcp_server/src/frontapp_mcp/prompts/drafts.py (new)
frontapp_mcp_server/src/frontapp_mcp/prompts/conversations.py (new)
frontapp_mcp_server/src/frontapp_mcp/prompts/triage.py (new)
frontapp_mcp_server/src/frontapp_mcp/server.py — call register_all_prompts(mcp) during startup
frontapp_mcp_server/tests/prompts/ (new directory)
Acceptance criteria
Reference
Problem
frontapp_mcp_server/src/frontapp_mcp/prompts/exists but is empty (just__init__.py). MCP Prompts are a first-class primitive (alongside tools and resources) for guided multi-step LLM workflows. They lower agent cognitive load by replacing freeform tool-call sequences with structured templates.Sibling repo stocktrim built this out in PR #107 —
prompts/module +register_all_prompts()+ domain-grouped prompt files + test scaffold.Depends on
Solution
Wire up the prompts infrastructure:
prompts/__init__.py—register_all_prompts(mcp)entry point that calls each domain's registration functionprompts/drafts.py,prompts/conversations.py,prompts/triage.pycompose_draft_reply— guided template for drafting a contextual reply (fetches the thread, suggests a tone, leaves slots for the human)triage_inbox— walk through unassigned conversations and recommend tags/assigneessummarize_thread— structured thread summary for handofffrontapp_mcp_server/tests/prompts/Files to add
frontapp_mcp_server/src/frontapp_mcp/prompts/__init__.py(modify)frontapp_mcp_server/src/frontapp_mcp/prompts/drafts.py(new)frontapp_mcp_server/src/frontapp_mcp/prompts/conversations.py(new)frontapp_mcp_server/src/frontapp_mcp/prompts/triage.py(new)frontapp_mcp_server/src/frontapp_mcp/server.py— callregister_all_prompts(mcp)during startupfrontapp_mcp_server/tests/prompts/(new directory)Acceptance criteria
uv run poe mcp-devlists prompts in the inspectorcompose_draft_replyfrom inspector, get a usable scaffoldReference