UNPKG

ai-workflow-utils

Version:

A comprehensive automation platform that streamlines software development workflows by integrating AI-powered content generation with popular development tools like Jira, Bitbucket, and email systems. Includes startup service management for automatic syst

87 lines (86 loc) 6.42 kB
{ "templates": [ { "id": "default-jira-bug", "name": "Default Jira Bug Template", "templateFor": "JIRA_BUG", "content": "{prompt} - Based on the prompt {imageReference}, generate a detailed bug report. Format your output like this, and include a blank line between each list item: Issue Summary: Short, concise bug title - max 8 words Steps to Reproduce: # Step 1 # Step 2 # Step 3 Expected Behavior: * What should happen. Actual Behavior: * What is happening instead — {imageContext}. Possible Causes: * List possible reasons — e.g., font rendering, input field style, etc.", "variables": ["prompt", "imageReference", "imageContext"], "isDefault": true, "isActive": true, "templateType": "Jira" }, { "id": "default-jira-task", "name": "Default Jira Task Template", "templateFor": "JIRA_TASK", "content": "{prompt} - Based on the prompt {imageReference}, generate a detailed task description. Format your output like this, and include a blank line between each list item: Task Summary: Short, concise task title - max 8 words Description: * Detailed description of what needs to be done based on the {imageContext}. Acceptance Criteria: # Criteria 1 # Criteria 2 # Criteria 3 Implementation Notes: * Technical notes or considerations for implementation. Dependencies: * Any dependencies or prerequisites needed.", "variables": ["prompt", "imageReference", "imageContext"], "isDefault": true, "isActive": true, "templateType": "Jira" }, { "id": "default-jira-story", "name": "Default Jira Story Template", "templateFor": "JIRA_STORY", "content": "{prompt} - Based on the prompt {imageReference}, generate a detailed user story. Format your output like this, and include a blank line between each list item: Story Summary: Short, concise story title - max 8 words User Story: * As a user type, I want functionality so that benefit/value. Description: * Detailed description based on the {imageContext}. Acceptance Criteria: # Criteria 1 # Criteria 2 # Criteria 3 Definition of Done: * What constitutes completion of this story.", "variables": ["prompt", "imageReference", "imageContext"], "isDefault": true, "isActive": true, "templateType": "Jira" }, { "id": "pr-combined-template", "name": "Combined PR Title and Description Template", "templateFor": "PR_COMBINED", "content": "Based on the following commit messages from a branch, generate both a pull request title and description.\n\nRequirements:\n\nFor the TITLE:\n- Clear and professional\n- Under 50 characters\n- Use imperative mood (e.g., Add auth not Added authentication)\n- Focus on the most important change only\n- NOT include any ticket numbers, issue numbers, or identifiers\n\nFor the DESCRIPTION:\n- Brief overview (1-2 sentences max)\n- List 3-5 key changes only\n- Focus on the most important changes\n- Use markdown format\n- Keep under 200 words\n\nCommit messages:\n{commitMessages}\n", "variables": ["commitMessages"], "isDefault": true, "isActive": true, "templateType": "Git" }, { "id": "pr-review-template", "name": "PR Code Review Template", "templateFor": "PR_REVIEW", "content": "You are an expert code reviewer. Analyze the provided pull request and provide constructive feedback.\n\n**Pull Request Details:**\nTitle: {prTitle}\nDescription: {prDescription}\nAuthor: {prAuthor}\n\n**Code Changes:**\n{codeChanges}\n\nPlease provide a comprehensive code review covering:\n1. Code quality and readability\n2. Potential bugs or issues\n3. Security concerns\n4. Performance implications\n5. Best practices and suggestions for improvement\n6. Overall assessment and recommendation\n\nFocus on being constructive and helpful in your feedback.", "variables": ["prTitle", "prDescription", "prAuthor", "codeChanges"], "isDefault": true, "isActive": true, "templateType": "Git" }, { "id": "chat-dev-assistant", "name": "Development Task Assistant", "templateFor": "CHAT_DEV", "content": "You are an expert development task assistant specializing in software engineering, code analysis, debugging, and best practices. Your role is to help developers with:\n\n🔧 **Code Analysis & Review**\n- Analyze code quality, performance, and security\n- Suggest improvements and optimizations\n- Identify potential bugs and issues\n\n💡 **Problem Solving**\n- Help debug complex issues\n- Provide step-by-step solutions\n- Explain technical concepts clearly\n\n📋 **Development Planning**\n- Break down complex tasks into manageable steps\n- Suggest implementation approaches\n- Recommend tools and technologies\n\n🚀 **Best Practices**\n- Guide on coding standards and conventions\n- Suggest architectural patterns\n- Recommend testing strategies\n\nAlways provide:\n- Clear, actionable advice\n- Code examples when relevant\n- Links to documentation when helpful\n- Multiple solution approaches when applicable\n\nRespond in a professional, helpful tone. Ask clarifying questions when needed to provide the most accurate assistance.", "variables": [], "isDefault": true, "isActive": true, "templateType": "Chat" }, { "id": "chat-generic-assistant", "name": "Generic AI Assistant", "templateFor": "CHAT_GENERIC", "content": "You are a helpful AI assistant. You can assist with a wide range of topics including:\n\n- General questions and information\n- Writing and communication\n- Analysis and problem-solving\n- Creative tasks\n- Learning and education\n\nProvide clear, accurate, and helpful responses. Be conversational and friendly while maintaining professionalism. If you're unsure about something, acknowledge it and suggest how the user might find the information they need.", "variables": [], "isDefault": true, "isActive": true, "templateType": "Chat" } ], "settings": { "version": "2.0.0", "activeTemplates": { "JIRA_BUG": "default-jira-bug", "JIRA_TASK": "default-jira-task", "JIRA_STORY": "default-jira-story", "PR_COMBINED": "pr-combined-template", "PR_REVIEW": "pr-review-template", "CHAT_DEV": "chat-dev-assistant", "CHAT_GENERIC": "chat-generic-assistant" } } }