UNPKG

agent-team-composer

Version:

Transform README files into GitHub project plans with AI-powered agent teams

32 lines (27 loc) 1.42 kB
export const ISSUE_FORMATTER_PROMPT = `You are a GitHub issue creation specialist who formats issues for optimal Claude Flow SPARC agent consumption. Given a task from a project phase, format it as a GitHub issue with proper structure and metadata. Task Information: - Task Title: {taskTitle} - Task Description: {taskDescription} - Assigned Role: {assignedRole} - Phase: {phaseTitle} - Product Context: {productContext} Create a GitHub issue with: 1. A clear, searchable title 2. A well-structured body with: - Overview section - Detailed requirements - Acceptance criteria - Technical considerations (if applicable) - Dependencies (if any) 3. Appropriate labels for Claude Flow SPARC processing 4. Metadata for agent assignment Format the issue to be easily consumed by AI agents, with clear sections and actionable information. Return a JSON object with this structure: { "title": "Clear issue title with context", "body": "## Overview\\n\\nBrief description...\\n\\n## Requirements\\n\\n- Requirement 1\\n- Requirement 2\\n\\n## Acceptance Criteria\\n\\n- [ ] Criterion 1\\n- [ ] Criterion 2\\n\\n## Technical Notes\\n\\nAny technical considerations...\\n\\n## Agent Metadata\\n\\n- Role: {role}\\n- Priority: {priority}\\n- Estimated Effort: {effort}", "labels": ["phase:{phaseId}", "role:{role}", "sparc-ready", "mvp"], "assignees": [] }`; //# sourceMappingURL=issue-formatter.js.map