AI Agent
TODO Comments
Tembo actively scans your codebase for TODO comments and implements the requested functionality, helping you clear technical debt without manual intervention.
How It Works
-
Discovery Phase
- Tembo scans your entire codebase to locate TODO comments
- Supports multiple TODO formats (
// TODO:
,# TODO:
,<!-- TODO -->
, etc.) - Prioritizes TODOs based on age, importance markers, and context
-
Analysis Phase
- Parses the TODO description to understand the requested implementation
- Examines surrounding code context to grasp the intended functionality
- Builds a mental model of how the feature should be implemented
-
Implementation Phase
- Writes code that fulfills the TODO request
- Follows your project’s coding standards and patterns
- Integrates with existing functionality seamlessly
-
Review Phase
- Creates a pull request with the implemented solution
- Provides explanations for the implementation choices
- Awaits your approval before merging
Supported TODO Formats
Tembo recognizes various TODO comment formats across different programming languages:
Configuration Options
You can customize Tembo’s TODO comment handling:
- Prioritization - Tag TODOs with priority markers (e.g.,
TODO(high):
,TODO(P1):
) - Assignees - Specify ownership with
TODO(username):
format - Exclusions - Configure patterns or directories to exclude from TODO scanning
- Custom Formats - Define project-specific TODO formats for Tembo to recognize
Best Practices for Writing Actionable TODOs
For optimal results with Tembo’s automation:
- Be Specific - Clearly state what needs to be implemented
- Provide Context - Include relevant details about the expected behavior
- Reference Resources - Link to documentation or examples when applicable
- Set Boundaries - Define constraints or limitations for the implementation
Example TODOs That Tembo Can Implement
Tembo turns these comments into working code, helping you maintain momentum and reduce technical debt without manual intervention.