diff --git a/documentation/src/pages/prompt-library/data/prompts/github-issue-labeler.json b/documentation/src/pages/prompt-library/data/prompts/github-issue-labeler.json new file mode 100644 index 000000000000..784e0c546836 --- /dev/null +++ b/documentation/src/pages/prompt-library/data/prompts/github-issue-labeler.json @@ -0,0 +1,30 @@ +{ + "id": "github-open-issues-analyzer", + "title": "GitHub Open Issues Analyzer", + "description": "Analyze a GitHub repository and summarize all open issues with labels, titles, assignees, and short main problems.", + "category": "technical", + "job": "software-engineering", + "example_prompt": "Analyze the GitHub repository at [REPO_URL] and list all open issues.\n\nFor each issue, provide:\n- Labels\n- Title\n- Assignees\n- Short main problem (3–6 words summary)\n- URL and issue number\n\nOutput formats:\n1. Markdown table with columns: Label | Title | Assignees | Main Problem\n2. JSON\n\nInclude total number of open issues. Keep summaries short, clear, and readable.", + "example_result": "## Open Issues\n\nTotal open issues: 1\n\n### Markdown Table\n\n| Label | Title | Assignees | Main Problem |\n|------------|---------|------------|---------------------|\n| enhancement | Button | Unassigned | Button not showing |", + "extensions": [ + { + "name": "GitHub", + "command": "goose session --with-streamable-http-extension \"https://api.githubcopilot.com/mcp/\"", + "is_builtin": false, + "link": "https://block.github.io/goose/docs/mcp/github-mcp", + "environmentVariables": [ + { + "name": "GITHUB_PERSONAL_ACCESS_TOKEN", + "description": "GitHub personal access token with repo access", + "required": true + } + ] + }, + { + "name": "Developer", + "command": "developer", + "is_builtin": true, + "environmentVariables": [] + } + ] +}