Core Features•7 min read
Work Items Workflow
Master the complete workflow from creating a Work Item to applying generated output - the core of AI-assisted development.
Work Items Workflow
A Work Item is a task you submit for AI-assisted generation. This guide covers the complete workflow from creating a Work Item to applying generated output.
What Is a Work Item?
A Work Item contains:
- Description: Your request explaining what to generate
- Context: Files, knowledge, media, and meetings that inform the AI
- Artifact: The generated output
- Iterations: Multiple rounds of generation with history preserved
What Can Work Items Generate?
Work Items produce three types of output:
- Source Code: Code files, configuration files, and other text-based project files
- Knowledge: Structured documentation, requirements, specifications, and technical references
- Personalities: AI behavior configurations for different roles and contexts
This flexibility supports the full development lifecycle—from turning meeting notes into structured requirements (Knowledge), to generating implementation code (Source Code), to creating specialized AI assistants for your team (Personalities).
Creating a Work Item
From the Sidebar
- Click New Work Item in the sidebar
- The new Work Item page opens with the Chat Panel ready for input
Quick Start
- Type your description in the message input
- Click Create to generate code immediately
For better results, add context before generating.
Writing Effective Prompts
Clear prompts produce better code. Include:
What You Want
Describe the feature, component, or change:
Create a React hook called useDebounce that delays updating
a value until the user stops typing for a specified duration.
Technical Requirements
Specify technologies, patterns, or constraints:
Create a REST API endpoint for user authentication using
Express.js with JWT tokens. Include input validation with Zod
and rate limiting with express-rate-limit.
Context References
Mention existing code to match:
Add a delete button to the UserCard component that matches
the style of existing buttons in the codebase.
Generation Modes
AngenAI offers two generation modes:
Plan Mode
Click Plan to generate an execution plan before writing code.
Use Plan mode when:
- The task is complex or unclear
- You want to review the approach before implementation
- Multiple solutions exist and you want AI recommendation
The plan appears in markdown format. Review it, then click Create to generate actual code.
Create Mode
Click Create to generate code directly.
Use Create mode when:
- The task is straightforward
- You have a clear understanding of what you want
- You want to iterate quickly
Providing Context
Context helps AI understand your codebase and generate fitting code.
Selecting Source Files
- Open the Context Panel on the right
- Browse your project file tree
- Check files relevant to your task:
- Files the AI should read for reference
- Files the AI might modify
- Related components or utilities
Tip: Select 5-15 relevant files. Too few files means missing context; too many files dilutes focus.
Attaching Knowledge
- Expand the Knowledge section
- Select relevant Knowledge articles:
- Coding standards
- API documentation
- Architecture guidelines
Adding Images
- Expand the Media section
- Select images that help explain your request:
- UI mockups
- Error screenshots
- Design references
Including Meetings
- Expand the Meetings section
- Select meeting transcripts with relevant discussions
Submitting for Generation
- Verify your prompt is complete
- Check that context files are selected
- Choose your preferred AI model
- Optionally select a Personality
- Click Create (or Plan for planning mode)
Generation status appears in the Chat Panel. Wait for completion before reviewing output.
Reviewing Generated Code
Browse Files
- Open the Changes Panel
- Click files to view their contents
- Files are organized by type (Code, Docs, etc.)
Use Diff View
- Toggle Diff View in the Code Viewer toolbar
- Compare generated code against existing files
- Review additions (green) and deletions (red)
Check the Plan
If you generated a plan, review it in the Code Viewer before generating code.
Editing Before Applying
Modify generated code before applying:
- Select a file in the Changes Panel
- Click Edit in the Code Viewer toolbar
- Make your changes
- Click Save to update the iteration
Edits persist in the current iteration.
Applying Changes
Apply All Files
Click Apply All to write all generated files to your Source Folder.
Apply Individual Files
- Select a file in the Changes Panel
- Click Apply for that specific file
What Happens
- New files are created in your project
- Modified files overwrite existing versions
- Deleted files are removed from your project
Warning: Applied changes overwrite existing files. Review diffs carefully before applying.
Iterating on Results
Follow-Up Prompts
If output needs adjustment:
- Type a follow-up message explaining what to change
- Click Create to generate a new iteration
- New iteration builds on previous context
Examples:
- "Add error handling to the API endpoint"
- "Use async/await instead of promises"
- "Include unit tests for the new component"
Viewing Iteration History
Use the iteration selector in the Chat Panel to:
- Switch between iterations
- Compare different versions
- Understand how code evolved
Reverting to Previous Iterations
If a new iteration introduces problems:
- Select an earlier iteration
- Review its contents
- Apply that iteration instead
Your iteration history remains intact. Reverting creates a new iteration based on the selected version.
Example Workflows
Generating Source Code
The most common workflow—generate implementation code:
- Describe the feature or change you need
- Select relevant source files as context
- Attach coding standards from Knowledge Base
- Choose a developer-focused Personality
- Click Create to generate code
- Review and apply to your project
Generating Requirements from Meetings
Transform meeting discussions into structured documentation:
- Add meeting transcript to the Meetings section
- Create a Work Item referencing that meeting
- Select a "Requirements Analyst" or "Project Manager" Personality
- Prompt: "Analyze the attached meeting and create structured requirements documentation"
- AI generates Knowledge articles with organized requirements
- Review and save to your Knowledge Base
Generating Personalities
Create custom AI assistants for your team:
- Create a Work Item describing the role you need
- Prompt: "Create a Personality for a senior React developer who follows our coding standards"
- Attach your coding standards from Knowledge Base as context
- AI generates a Personality with appropriate instructions
- Review and save for team use
Tips for Better Results
Be Specific
Instead of: "Make it better"
Write: "Improve performance by memoizing the expensive calculation in the render function"
Provide Examples
Include examples of similar code in your context selection. AI matches existing patterns.
Iterate Incrementally
Build complex features in steps:
- Generate basic structure
- Add error handling
- Include validation
- Add tests
Use Personalities
Select a Personality matching your task:
- Senior Developer for architecture decisions
- Code Reviewer for quality improvements
- Documentation Writer for comments and docs
- Requirements Analyst for structuring requirements from meetings
Review Before Applying
Always use Diff View to understand changes before applying them to your project.
What's Next?
- Knowledge Base - Create reusable context
- Personalities - Tune AI behavior
- Meetings - Add meeting context for requirements
- The Workbench - Interface reference