Create Code Review
Initiate a new code review for a specified branch or pull request.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CODE_REVIEW])
Analyze Code Snippet
Perform static analysis on a given code snippet to identify potential issues or improvements.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANALYZE_CODE_SNIPPET])
Generate Unit Test
Automatically generate unit tests for a specified function or class.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_UNIT_TEST])
Explain Code
Provide a detailed explanation of a selected code snippet or function.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPLAIN_CODE])
Suggest Code Refactoring
Analyze code and provide suggestions for potential refactoring to improve quality and maintainability.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUGGEST_REFACTORING])
Generate Documentation
Automatically generate documentation for a specified code module or function.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_DOCUMENTATION])
Find Security Vulnerabilities
Scan code for potential security vulnerabilities and provide a detailed report.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FIND_SECURITY_VULNERABILITIES])
Convert Code To Different Language
Translate a code snippet from one programming language to another.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONVERT_CODE_LANGUAGE])
Implement Design Pattern
Suggest implementation of a specific design pattern for a given code structure.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.IMPLEMENT_DESIGN_PATTERN])
Generate API Endpoint
Automatically generate code for a new API endpoint based on specifications.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_API_ENDPOINT])
Create Database Schema
Generate SQL schema based on provided entity relationships or specifications.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_DATABASE_SCHEMA])
Lint Code
Run a linter on the codebase and provide a report of style and syntax issues.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LINT_CODE])
Generate Code Coverage Report
Create a detailed code coverage report for the project's test suite.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_CODE_COVERAGE_REPORT])
Generate Release Notes
Automatically generate release notes based on recent commits and closed issues.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_RELEASE_NOTES])
Code Review Requested
Trigger when a new code review is requested by a team member.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_REVIEW_REQUESTED])
Pull Request Created
Trigger when a new pull request is created in the repository.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PULL_REQUEST_CREATED])
Code Commit Detected
Trigger when a new commit is pushed to the repository.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_COMMIT_DETECTED])
Build Failed
Trigger when a build fails in the CI/CD pipeline.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BUILD_FAILED])
New Issue Created
Trigger when a new issue is created in the project issue tracker.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_ISSUE_CREATED])
Code Quality Threshold Breached
Trigger when code quality metrics fall below a specified threshold.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_QUALITY_THRESHOLD_BREACHED])
Security Scan Completed
Trigger when a security scan of the codebase is completed.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SECURITY_SCAN_COMPLETED])
New Team Member Added
Trigger when a new developer is added to the project team.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_TEAM_MEMBER_ADDED])
Code Duplication Detected
Trigger when significant code duplication is detected in the codebase.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_DUPLICATION_DETECTED])
API Documentation Updated
Trigger when the API documentation for the project is updated.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.API_DOCUMENTATION_UPDATED])
Dependency Update Available
Trigger when updates are available for project dependencies.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DEPENDENCY_UPDATE_AVAILABLE])
Code Review Completed
Trigger when a code review is marked as completed by a reviewer.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_REVIEW_COMPLETED])
New Branch Created
Trigger when a new branch is created in the repository.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_BRANCH_CREATED])
Merge Conflict Detected
Trigger when a merge conflict is detected during a pull request or merge operation.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MERGE_CONFLICT_DETECTED])
Code Complexity Increased
Trigger when the cyclomatic complexity of the codebase increases significantly.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CODE_COMPLEXITY_INCREASED])