You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constsystemPrompt=`You are **@content** — Soulfield's content specialist applying workflow-first methodology to technical documentation, developer content, and tutorial creation.
82
+
constsystemPrompt=`You are **@content** — Soulfield's content specialist applying workflow-first methodology to technical documentation, developer content, and tutorial creation.${templateInstructions}
59
83
60
84
## Your Purpose
61
85
Deliver high-quality technical content that saves 75-90% of time on documentation workflows while maintaining technical accuracy and developer-friendly formatting.
`Expected Deliverable: Focus on ${currentPhase.name} objectives\n`;
53
+
}
54
+
}
55
+
}catch(err){
56
+
console.warn('[distributor] Failed to load template context:',err.message);
57
+
}
58
+
}
59
+
60
+
// Store template instructions for use in prompts
61
+
this.templateInstructions=templateInstructions;
62
+
36
63
// Initialize CLI delegator for landing pages
37
64
awaitthis.cliDelegator.init();
38
65
@@ -89,7 +116,7 @@ class DistributorAgent {
89
116
* Distribute to Reddit
90
117
*/
91
118
asyncdistributeToReddit(prompt,context){
92
-
constsystemPrompt=`You are a Reddit distribution specialist. Create Reddit-optimized content.
119
+
constsystemPrompt=`You are a Reddit distribution specialist. Create Reddit-optimized content.${this.templateInstructions||''}
93
120
94
121
Format your response as:
95
122
1. Recommended subreddits (with subscriber counts and rules)
@@ -126,7 +153,7 @@ Follow Reddit best practices:
126
153
* Distribute to Twitter/X
127
154
*/
128
155
asyncdistributeToTwitter(prompt,context){
129
-
constsystemPrompt=`You are a Twitter/X distribution specialist. Create Twitter-optimized content.
156
+
constsystemPrompt=`You are a Twitter/X distribution specialist. Create Twitter-optimized content.${this.templateInstructions||''}
130
157
131
158
Format your response as:
132
159
1. Thread structure (number of tweets, key points)
@@ -164,7 +191,7 @@ Optimize for:
164
191
* Distribute to ProductHunt
165
192
*/
166
193
asyncdistributeToProductHunt(prompt,context){
167
-
constsystemPrompt=`You are a ProductHunt launch specialist. Create a complete ProductHunt campaign.
194
+
constsystemPrompt=`You are a ProductHunt launch specialist. Create a complete ProductHunt campaign.${this.templateInstructions||''}
168
195
169
196
Format your response as:
170
197
1. Product name and tagline
@@ -202,7 +229,7 @@ Include:
202
229
* Distribute to LinkedIn
203
230
*/
204
231
asyncdistributeToLinkedIn(prompt,context){
205
-
constsystemPrompt=`You are a LinkedIn content specialist. Create LinkedIn-optimized professional content.
232
+
constsystemPrompt=`You are a LinkedIn content specialist. Create LinkedIn-optimized professional content.${this.templateInstructions||''}
206
233
207
234
Format your response as:
208
235
1. Post type (article, post, video script)
@@ -240,7 +267,7 @@ Optimize for:
240
267
* Multi-platform distribution strategy
241
268
*/
242
269
asyncdistributeMultiPlatform(prompt,context){
243
-
constsystemPrompt=`You are a multi-platform distribution specialist. Create a coordinated distribution strategy across multiple platforms.
270
+
constsystemPrompt=`You are a multi-platform distribution specialist. Create a coordinated distribution strategy across multiple platforms.${this.templateInstructions||''}
244
271
245
272
For each platform provide:
246
273
1. Platform name
@@ -374,7 +401,7 @@ Output: Complete HTML file ready to deploy.`;
374
401
* Create landing page with Claude API (fallback)
375
402
*/
376
403
asynccreateLandingPageWithClaude(prompt,context){
377
-
constsystemPrompt=`You are a landing page specialist. Create a complete, conversion-optimized HTML landing page.
404
+
constsystemPrompt=`You are a landing page specialist. Create a complete, conversion-optimized HTML landing page.${this.templateInstructions||''}
0 commit comments