MCPcopy
hub / github.com/github/github-mcp-server / AllPrompts

Function AllPrompts

pkg/github/prompts.go:10–16  ·  view source on GitHub ↗

AllPrompts returns all prompts with their embedded toolset metadata. Prompt functions return ServerPrompt directly with toolset info.

(t translations.TranslationHelperFunc)

Source from the content-addressed store, hash-verified

8// AllPrompts returns all prompts with their embedded toolset metadata.
9// Prompt functions return ServerPrompt directly with toolset info.
10func AllPrompts(t translations.TranslationHelperFunc) []inventory.ServerPrompt {
11 return []inventory.ServerPrompt{
12 // Issue prompts
13 AssignCodingAgentPrompt(t),
14 IssueToFixWorkflowPrompt(t),
15 }
16}

Callers 4

buildStaticInventoryFunction · 0.92
NewInventoryFunction · 0.85

Calls 2

AssignCodingAgentPromptFunction · 0.85
IssueToFixWorkflowPromptFunction · 0.85

Tested by 2