Prompt references for Loop Genie

You can use natural language prompts to interact with Loop Genie and perform actions across DevOps Loop capabilities.

Loop Genie uses a reasoning and action workflow to determine the tools and steps required to satisfy a request. Rather than requiring a separate command for each action, Loop Genie can process multi-step requests and coordinate actions across multiple capabilities within a single prompt.

The prompts in this topic are examples only. You can modify them to match your environment, naming conventions, and workflows.

Writing effective prompts

Describe the outcome that you want to achieve rather than each individual step. Loop Genie can determine the required sequence of actions and execute the appropriate tools to complete the request.

For example, instead of submitting multiple requests such as:

  • Create a work item.
  • Assign the work item.
  • Retrieve the work item status.

Use a single request such as:

Create a story named "Implement refund feature", assign it to john@example.com, and then retrieve the work item status.

Using tool references

You can type # in the prompt field to view available tools from enabled MCP connections.

Examples:

  • #plan_create_work_item
  • #control_get_pull_request
  • #analytics_get_work_item_status

Tool references can help direct Loop Genie to a specific capability or operation when multiple tools are available.

Prompt references

You can use the following prompts to interact with Loop Genie, which responds and performs the specified actions on your DevOps Loop platform. These prompts are for reference only and can be customized based on your environment and version.

Loop Genie supports multi-step workflows. A single prompt can involve multiple capabilities, and Loop Genie executes the required actions as part of a single request.

Table 1. Sample prompts for DevOps Loop capabilities
Module Scope Prompt examples
Loop Manage loops, projects, users, test projects, and control repositories within a loop.
  • List all projects under Loop "TeamAlpha".
  • Add user "jane.doe@example.com" to Loop "TeamAlpha".
  • Attach Test Project "QA-Release1" to Loop "TeamAlpha".
  • Add repository "devops-repo" to Loop "TeamAlpha".
Loop Teamspaces Manage teamspaces, teamspace users, and invitations.
  • Show all teamspaces in DevOps Loop.
  • List all users in Teamspace "Engineering".
  • Invite "mark.smith@example.com" to Teamspace "Engineering".
Loop (Plan) Manage planning activities such as components, work items, and applications.
  • List all components for Plan ID "Plan123".
  • What work item types are supported in Plan "Plan123"?
  • Show work items for Project "InventoryApp".
  • List applications under Plan "Release2.0".
  • Create a Bug work item "Fix login issue" in Project "InventoryApp".
  • Delete work item ID "4567" from Plan "Plan123".
Loop (OpenSearch) Search and analyze work items, story points, and statuses.
  • Search for work items containing "API Bug" in Sprint "Sprint7".
  • Show the status of Work Item ID "789".
  • How many open work items exist in Plan "Plan123"?
  • Show total story points for Sprint "Sprint5".
Loop (TestHub) Manage and execute tests and test projects.
  • List all TestHub projects for Loop "QA-Team".
  • List all tests in Project "ReleaseSmokeTests".
  • Run Test ID "T101" in Project "ReleaseSmokeTests".
  • Show results for Test ID "T101" in Project "ReleaseSmokeTests".
  • Get TestHub result for ID "5555".
Loop (Control) Manage repositories, branches, tags, releases, issues, pull requests, and searches.
  • Show details of the authenticated user.
  • List all organizations linked to my account.
  • Fork repository "main-project" to my personal workspace.
  • Show all repositories I own.
  • Create branch "feature-123" in repository "backend-service".
  • List branches in repository "frontend-app".
  • Create release "v1.0" in repository "backend-service".
  • Get details of release "v1.0" in repository "frontend-app".
  • List all releases for repository "api-service".
  • Create tag "v2.0" in repository "frontend-app".
  • Get details of tag "v1.0-beta" in repository "backend-service".
  • List tags in repository "frontend-app".
  • Show commits in repository "backend-service".
  • Get content of "README.md" in repository "frontend-app".
  • Update file "config.yaml" in repository "api-service".
  • Get issue #12 from repository "frontend-app".
  • List all issues in repository "backend-service".
  • Create issue "Fix API bug" in repository "api-service".
  • Edit comment on issue #12 in repository "frontend-app".
  • Show comments for issue #34.
  • List pull requests for repository "backend-service".
  • Create a pull request from branch "feature-123" to "main" in repository "api-service".
  • Search for team "DevOps" in organization "Enterprise".
  • Show current Gitea MCP Server version.

Multi-step prompt examples

Loop Genie can coordinate multiple actions across capabilities within a single request.

  • Create a Bug work item named "Fix login issue", assign it to jane.doe@example.com, and then retrieve its status.
  • Create branch "feature-refund-api" in repository "payment-service" and then show the branch details.
  • Add user "jane.doe@example.com" to Loop "TeamAlpha" and then list all users in the loop.
  • Create a pull request from branch "feature-refund-api" to "main" and then show the pull request details.

Depending on configuration, Loop Genie can display tool activity during execution, including tool names, parameters, execution status, and results. This information helps you understand how requests are processed and provides visibility into actions performed by Loop Genie.