Inspiration
Developers spend a significant amount of time understanding issues, breaking them into tasks, estimating effort, and identifying risks before writing any code. This process is repetitive, time-consuming, and often inconsistent across teams. I wanted to build a solution that could automatically convert any GitLab issue into a clear,
What it does
AutoDev Issue Helper Flow is an AI-powered GitLab Duo Flow that:
- Reads the issue title and description
- Understands requirements and technical scope
- Generates a complete development plan including:
- Summary
- Step-by-step implementation checklist
- Risk assessment
- Dependencies
- Testing strategy
- Suggested branch name
- Summary
- Posts the plan directly as a comment on the issue
How we built it
The project is built using the GitLab Duo Agent Platform with an ambient flow configuration.
Key components include:
- AgentComponent for intelligent planning
- Prompt engineering to ensure structured and consistent outputs
- GitLab Duo tools:
- get_work_item to fetch issue details
- create_work_item_note to post the generated plan
- list_work_items to identify related dependencies
- update_work_item to set issue health status
The flow logic is defined in autodev_flow.yml and synced using the AI Catalog mapping system.
- get_work_item to fetch issue details
Challenges we ran into
- Understanding the GitLab Duo Flow schema and configuration
- Debugging CI/CD pipeline validation issues
- Handling catalog sync delays where updates were not immediately visible
- Designing prompts that consistently generate structured, high-quality outputs
Accomplishments that we're proud of
- Successfully built a working AI flow that performs real GitLab actions
- Reduced development planning time from minutes to seconds
- Achieved consistent and structured outputs for different types of issues
- Fully integrated the solution within GitLab’s ecosystem
What we learned
- How to design and structure AI workflows using GitLab Duo
- The importance of prompt engineering for reliable AI outputs
- How to integrate automation directly into developer workflows
- Debugging and optimizing CI/CD pipelines for AI-based systems
What's next for AutoPilot AI: Autonomous Enterprise Workflow Engine
- Automatic label and priority assignment
- Effort estimation using story points
- Deeper dependency mapping across issues
- Integration with CI/CD pipelines for automated execution
- Multi-agent collaboration for complex workflows
Built With
- ai
- gitlab-apis
- gitlab-duo-agent-platform
- prompt-engineering
- yaml
Log in or sign up for Devpost to join the conversation.