share.ts
699 bytes
| 1 | export const VOICETASK_URL = 'https://github.com/rasmusjy/voicetask' |
|---|---|
| 2 | |
| 3 | function cleanProjectName(projectName: string): string { |
| 4 | return projectName.trim().replace(/\s+/g, ' ') || 'your project' |
| 5 | } |
| 6 | |
| 7 | export function createHandoffMessage(projectName: string): string { |
| 8 | return [ |
| 9 | `Here is the build brief for ${cleanProjectName(projectName)}.`, |
| 10 | 'It includes the requirements, implementation plan, task list, checks, and notes from my interview.', |
| 11 | 'Start with HANDOFF.md, then use the other files in the package.', |
| 12 | ].join(' ') |
| 13 | } |
| 14 | |
| 15 | export function createRecommendationMessage(): string { |
| 16 | return `I used VoiceTask to turn a conversation about my idea into a build brief: ${VOICETASK_URL}` |
| 17 | } |
| 18 | |