@riotprompt/riotdoc 1.0.1-dev.0 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,353 @@
1
+ # Email Document Template
2
+
3
+ ## Template Structure
4
+
5
+ This defines the structure and questions for creating email documents in RiotDoc.
6
+
7
+ **Template Type**: email
8
+ **Version**: 2.0
9
+ **Last Updated**: 2026-01-30
10
+
11
+ ---
12
+
13
+ ## Questions to Answer
14
+
15
+ ### Idea/Draft Phase
16
+
17
+ These are the questions you can answer **NOW** when composing your email. Focus on the core message and intent.
18
+
19
+ #### Recipients & Context
20
+ - **To**: Who is this email for? (individual, team, list, email addresses)
21
+ - **CC**: Who should be copied? (optional)
22
+ - **BCC**: Who should be blind copied? (optional)
23
+ - **Sender context**: What's your relationship to the recipient(s)?
24
+
25
+ #### Message Core
26
+ - **Subject line**: What's the email subject? (or idea for subject)
27
+ - **Purpose**: What do you want this email to accomplish?
28
+ - **Key message**: What's the main point in one sentence?
29
+ - **Call to action**: What do you want the recipient to do?
30
+
31
+ #### Tone & Approach
32
+ - **Tone**: Formal, casual, friendly, direct, apologetic, persuasive?
33
+ - **Length**: Brief (1-2 paragraphs), moderate (3-5 paragraphs), detailed?
34
+ - **Urgency**: Normal, time-sensitive, urgent?
35
+
36
+ #### Context
37
+ - **Background**: What context does the recipient need?
38
+ - **Previous communication**: Is this following up on something?
39
+ - **Sensitive topics**: Any delicate issues to navigate?
40
+
41
+ ---
42
+
43
+ ### Publishing Phase
44
+
45
+ These are questions you figure out **LATER** - before sending the email.
46
+
47
+ #### Attachments & Links
48
+ - **Attachments**: Will there be attachments? What are they?
49
+ - **File sizes**: Are attachments too large? Need to compress or use file sharing?
50
+ - **Links**: Any links to include? (documents, websites, calendar invites)
51
+
52
+ #### Timing & Follow-up
53
+ - **Send time**: When should this be sent? (now, scheduled time)
54
+ - **Time zone considerations**: Is recipient in different time zone?
55
+ - **Follow-up needed**: Will you need to follow up? When?
56
+ - **Deadline**: Is there a deadline for response?
57
+
58
+ #### Review & Compliance
59
+ - **Proofread**: Checked for typos and clarity?
60
+ - **Recipients verified**: Confirmed correct email addresses?
61
+ - **Compliance**: Any legal/compliance requirements? (disclaimers, confidentiality notices)
62
+ - **Reply-to**: Should replies go to different address?
63
+
64
+ ---
65
+
66
+ ## Available Approaches
67
+
68
+ Choose the approach that best fits your email purpose and audience.
69
+
70
+ ### Approach 1: Quick Email
71
+
72
+ **When to use**:
73
+ - Brief message (1-3 paragraphs)
74
+ - Informal or internal communication
75
+ - Simple request or update
76
+ - No attachments or minimal attachments
77
+ - Quick turnaround needed
78
+
79
+ **Strategy**:
80
+ - Write directly without outline
81
+ - Keep it short and to the point
82
+ - Minimal formatting
83
+ - Quick proofread and send
84
+
85
+ **Output**: Brief email, 50-150 words
86
+
87
+ **Workflow**:
88
+ 1. Answer core questions (to, subject, purpose, tone)
89
+ 2. Write email in one pass
90
+ 3. Quick proofread
91
+ 4. Send
92
+
93
+ **Timeline**: 5-15 minutes
94
+
95
+ ---
96
+
97
+ ### Approach 2: Formal Communication
98
+
99
+ **When to use**:
100
+ - Professional or external communication
101
+ - Client emails or business correspondence
102
+ - Important announcements
103
+ - Requires careful wording
104
+ - May have attachments or links
105
+
106
+ **Strategy**:
107
+ - Plan structure before writing
108
+ - Use formal tone and proper formatting
109
+ - Include all necessary context
110
+ - Thorough proofread and review
111
+ - May need approval before sending
112
+
113
+ **Output**: Structured email, 200-500 words
114
+
115
+ **Workflow**:
116
+ 1. Answer all Idea/Draft phase questions
117
+ 2. Outline email structure:
118
+ - Opening greeting
119
+ - Context/background
120
+ - Main message
121
+ - Call to action
122
+ - Professional closing
123
+ 3. Draft each section
124
+ 4. Review for tone and clarity
125
+ 5. Answer Publishing phase questions
126
+ 6. Add attachments and links
127
+ 7. Proofread carefully
128
+ 8. Get approval if needed
129
+ 9. Send
130
+
131
+ **Timeline**: 30-60 minutes
132
+
133
+ ---
134
+
135
+ ### Approach 3: Campaign/Newsletter Email
136
+
137
+ **When to use**:
138
+ - Email to large list or audience
139
+ - Marketing or promotional email
140
+ - Newsletter or announcement
141
+ - Requires design and formatting
142
+ - Links to website or resources
143
+
144
+ **Strategy**:
145
+ - Plan content and structure
146
+ - Use email template or design
147
+ - Include images and formatting
148
+ - Test links and rendering
149
+ - Schedule send time
150
+ - Track opens and clicks
151
+
152
+ **Output**: Formatted email with design, 300-800 words
153
+
154
+ **Workflow**:
155
+ 1. Answer all Idea/Draft phase questions
156
+ 2. Plan email structure and sections
157
+ 3. Write content for each section
158
+ 4. Design email layout (or use template)
159
+ 5. Add images and formatting
160
+ 6. Answer Publishing phase questions
161
+ 7. Add all links and CTAs
162
+ 8. Test email rendering (different clients)
163
+ 9. Review on mobile and desktop
164
+ 10. Set up tracking (if applicable)
165
+ 11. Schedule send time
166
+ 12. Send to list
167
+
168
+ **Timeline**: 2-4 hours
169
+
170
+ ---
171
+
172
+ ## Output Document Structure
173
+
174
+ ```markdown
175
+ # Email: [Subject Line]
176
+
177
+ **To**: [Recipient(s)]
178
+ **CC**: [CC recipients if any]
179
+ **BCC**: [BCC recipients if any]
180
+ **From**: [Sender]
181
+ **Subject**: [Subject Line]
182
+ **Date**: [Date]
183
+
184
+ ---
185
+
186
+ ## Body
187
+
188
+ [Opening greeting - Hi [Name], Dear [Name], Hello team, etc.]
189
+
190
+ [Opening paragraph - context or reason for email]
191
+
192
+ [Main content paragraphs - key message, details, explanation]
193
+
194
+ [Call to action paragraph - what you want recipient to do]
195
+
196
+ [Closing - Best regards, Thanks, Sincerely, etc.]
197
+ [Your name]
198
+ [Your title/signature if applicable]
199
+
200
+ ---
201
+
202
+ ## Attachments
203
+ - [Attachment 1 name and description]
204
+ - [Attachment 2 name and description]
205
+
206
+ ---
207
+
208
+ ## Metadata
209
+ - **Purpose**: [Purpose]
210
+ - **Tone**: [Tone]
211
+ - **Urgency**: [Normal/Time-sensitive/Urgent]
212
+ - **Follow-up needed**: [Yes/No - when?]
213
+ - **Sent**: [Date and time]
214
+ ```
215
+
216
+ ---
217
+
218
+ ## Example Use Cases
219
+
220
+ ### Internal Communication
221
+ - Team updates
222
+ - Meeting requests
223
+ - Project status
224
+ - Quick questions
225
+
226
+ ### External Communication
227
+ - Client correspondence
228
+ - Vendor communication
229
+ - Partnership inquiries
230
+ - Sales outreach
231
+
232
+ ### Formal Communication
233
+ - Job applications
234
+ - Official announcements
235
+ - Legal notices
236
+ - Complaint resolution
237
+
238
+ ### Marketing
239
+ - Newsletters
240
+ - Product announcements
241
+ - Event invitations
242
+ - Promotional campaigns
243
+
244
+ ---
245
+
246
+ ## Email Writing Tips
247
+
248
+ ### For Quick Emails
249
+ - Start with the main point
250
+ - Keep sentences short
251
+ - Use bullet points for lists
252
+ - One topic per email
253
+ - Clear subject line
254
+
255
+ ### For Formal Communication
256
+ - Use proper greeting and closing
257
+ - Provide context upfront
258
+ - Be specific and clear
259
+ - Proofread carefully
260
+ - Professional tone throughout
261
+
262
+ ### For Campaign Emails
263
+ - Compelling subject line (avoid spam triggers)
264
+ - Mobile-friendly design
265
+ - Clear call to action
266
+ - Test before sending
267
+ - Include unsubscribe link
268
+
269
+ ---
270
+
271
+ ## Common Pitfalls to Avoid
272
+
273
+ ❌ **Don't**: Forget to add attachments you mentioned
274
+ ✅ **Do**: Attach files before writing email body
275
+
276
+ ❌ **Don't**: Reply All when you mean to Reply
277
+ ✅ **Do**: Double-check recipients before sending
278
+
279
+ ❌ **Don't**: Send when angry or emotional
280
+ ✅ **Do**: Wait and review before sending sensitive emails
281
+
282
+ ❌ **Don't**: Use vague subject lines ("Question" or "Hi")
283
+ ✅ **Do**: Be specific ("Q: Budget approval for Q2 project")
284
+
285
+ ❌ **Don't**: Write walls of text
286
+ ✅ **Do**: Break into short paragraphs with white space
287
+
288
+ ❌ **Don't**: Assume tone is clear
289
+ ✅ **Do**: Be explicit when tone matters
290
+
291
+ ---
292
+
293
+ ## Email Etiquette
294
+
295
+ ### Subject Lines
296
+ - Be specific and descriptive
297
+ - Front-load important info
298
+ - Use [ACTION REQUIRED] or [FYI] tags if helpful
299
+ - Avoid all caps or excessive punctuation
300
+
301
+ ### Greetings
302
+ - Match formality to relationship
303
+ - Use recipient's name when possible
304
+ - "Hi [Name]" for most professional emails
305
+ - "Dear [Name]" for very formal emails
306
+
307
+ ### Body
308
+ - Get to the point quickly
309
+ - Use paragraphs and white space
310
+ - Bold or bullet key points
311
+ - Keep sentences under 20 words
312
+
313
+ ### Closing
314
+ - Match greeting formality
315
+ - "Best regards" is safe default
316
+ - "Thanks" if requesting something
317
+ - Include signature with contact info
318
+
319
+ ### Timing
320
+ - Send during business hours when possible
321
+ - Avoid late night or weekend sends (unless expected)
322
+ - Consider recipient's time zone
323
+ - Use scheduling for optimal send times
324
+
325
+ ---
326
+
327
+ ## Template Notes
328
+
329
+ **Version 2.0 Changes** (2026-01-30):
330
+ - Added CC and BCC fields (was missing in v1.0)
331
+ - Split questions into Idea/Draft and Publishing phases
332
+ - Added three approaches: Quick Email, Formal Communication, Campaign Email
333
+ - Added email etiquette and writing tips
334
+ - Follows canonical template structure from TEMPLATE-STRUCTURE.md
335
+
336
+ **User Feedback Addressed**:
337
+ - CC and BCC fields were missing (Timeline Event 72)
338
+ - Questions now split by when they're answered (upfront vs before sending)
339
+
340
+ ---
341
+
342
+ ## Related Templates
343
+
344
+ - **Blog Post Template**: For longer-form content
345
+ - **Meeting Notes Template**: For meeting follow-ups
346
+ - **Project Plan Template**: For project updates
347
+
348
+ ---
349
+
350
+ ## Version History
351
+
352
+ - **v2.0** (2026-01-30): Added lifecycle phases, approaches, CC/BCC fields
353
+ - **v1.0** (2026-01-XX): Initial template (missing CC/BCC, no phase split)