Overview
HAI Build integrates with Specif AI to enable seamless execution of AI-generated user stories and development tasks. This powerful integration allows you to:- Load AI-generated tasks directly into HAI Build
- Review task details before execution
- Execute tasks with a single click
- Track task progress and completion
Accessing HAI Tasks
Open the HAI Tasks interface in multiple ways:The HAI Tasks feature provides a centralized interface for managing all AI-generated development tasks.
Understanding the Task Interface
The HAI Tasks page displays:User Stories View
Tasks are organized by user stories, providing high-level context:- Story Title: Overview of the feature or requirement
- Story Description: Detailed context and objectives
- Associated Tasks: List of individual tasks for the story
- Eye Icon: Click to view detailed story information
Task Details
Each task includes:- Task Title: Clear description of the specific work
- Prerequisites: Dependencies or requirements before starting
- Acceptance Criteria: Conditions that define task completion
- Implementation Notes: Additional context or guidance
Executing Tasks
Follow this workflow to execute HAI Tasks:Review the User Story
Click the Eye icon next to a user story to view:
- Detailed story description
- Overall objectives
- List of associated tasks
- Dependencies and context
Select a Task
From the story detail view or task list:
- Click on a specific task to expand details
- Review the task description, prerequisites, and acceptance criteria
- Ensure all prerequisites are met before proceeding
Execute the Task
Click the Execute or Run button to start task execution.HAI Build will:
- Load the task context into the AI agent
- Analyze your codebase for relevant files
- Create an execution plan
- Present the plan for your review
Review and Approve
HAI presents a detailed plan showing:
- Files to be modified or created
- Proposed changes
- Reasoning for each change
Monitor Execution
Watch as HAI executes the task:
- File operations are shown in real-time
- Progress updates appear in the chat
- Proposed diffs are displayed for approval
Task Execution Best Practices
Complete Prerequisites First
Complete Prerequisites First
Before executing a task:
- Ensure all prerequisite tasks are completed
- Verify required dependencies are installed
- Check that your development environment is properly configured
Review Task Context
Review Task Context
Take time to understand:
- What the task is trying to accomplish
- Why it’s part of the larger user story
- How it fits into your application architecture
Execute Tasks Sequentially
Execute Tasks Sequentially
For related tasks within a story:
- Execute them in the order specified
- Complete and verify one task before starting the next
- This maintains logical flow and prevents conflicts
Provide Feedback During Execution
Provide Feedback During Execution
If HAI’s approach doesn’t align with your architecture:
- Pause and provide clarification
- Reference specific files or patterns to follow
- Suggest alternative implementations
Test After Completion
Test After Completion
After task execution:
- Run relevant test suites
- Manually test new functionality
- Ensure acceptance criteria are fully met
- Check for unintended side effects
Managing Multiple Tasks
When working with multiple tasks:Parallel vs Sequential Execution
Sequential Execution (Recommended):- Easier to isolate issues
- Cleaner commit history
- Better code review process
- Reduced risk of conflicts
Task Priority
Prioritize tasks based on:- Dependencies: Complete prerequisite tasks first
- Complexity: Start with simpler tasks to build momentum
- Risk: Address high-risk changes when you have full attention
- Impact: Consider which tasks unlock the most value
Handling Task Execution Issues
- Task Fails to Execute
- Incorrect Implementation
- Breaking Changes
If a task won’t start:
- Check Prerequisites: Verify all dependencies are met
- Review Context: Ensure HAI has necessary file access
- Simplify Request: Break complex tasks into smaller steps
- Provide More Context: Add relevant files or documentation to the chat
Integration with Specif AI
HAI Tasks work seamlessly with the Specif AI workflow:Generate User Stories in Specif AI
Use Specif AI to analyze requirements and generate:
- User stories
- Task breakdowns
- Acceptance criteria
Export to HAI Build
Tasks generated in Specif AI are automatically available in HAI Build’s HAI Tasks interface.
This integration creates a seamless flow from requirements gathering to implementation.
Advanced Task Execution
Custom Task Context
Enhance task execution with additional context:- Opening the task
- Clicking in the chat input
- Pasting or dragging files before execution
Expert Modes
For domain-specific tasks, activate relevant experts:- .NET Expert: For .NET/C# tasks
- Node.js Expert: For Node.js/JavaScript tasks
- Terraform Expert: For infrastructure as code
- Go Expert: For Go language tasks
- Custom Experts: Your own domain-specific guidelines
Next Steps
Code Generation
Learn advanced code generation techniques
Git Integration
Commit task changes with AI-generated messages
Custom Experts
Create experts for your specific tech stack
MCP Integration
Extend capabilities with Model Context Protocol
Questions? Check out our GitHub Discussions or contact us at [email protected]