( skill: 'strategy' | 'ideas' | 'review' | 'routine', handle: string, )
| 189 | |
| 190 | /** What a founder can ask their agent, one skill at a time. */ |
| 191 | export const getStartupsSkillPrompt = ( |
| 192 | skill: 'strategy' | 'ideas' | 'review' | 'routine', |
| 193 | handle: string, |
| 194 | ): string => { |
| 195 | const ask: Record<typeof skill, string> = { |
| 196 | strategy: `Plan what @${handle} publishes with ${skillRef( |
| 197 | 'daily-dev-content-strategy', |
| 198 | )}: interview me about our readers and what our team knows, then save the strategy I agree to.`, |
| 199 | ideas: `Suggest three posts for @${handle} with ${skillRef( |
| 200 | 'daily-dev-content-ideas', |
| 201 | )}. Start from what I shipped or wrote recently, and say which numbers in our weekly intel back each one. I write the posts myself, so don't write them or a draft.`, |
| 202 | review: `I'm about to publish a post on @${handle}. Ask me to paste it, then review it with ${skillRef( |
| 203 | 'daily-dev-content-review', |
| 204 | )} and show me what it found. Don't rewrite it for me.`, |
| 205 | routine: `Set up ${skillRef( |
| 206 | 'daily-dev-growth-routine', |
| 207 | )} for @${handle}: ask me how often we want to publish, then schedule its daily report on our page, posts and boosts, with a reminder when the next post is due.`, |
| 208 | }; |
| 209 | |
| 210 | return [connectLine(handle), '', ask[skill]].join('\n'); |
| 211 | }; |
no test coverage detected