#!/bin/bash # Show example prompts that would be sent to Claude echo "╔════════════════════════════════════════════════════════════════════════════╗" echo "║ EXAMPLE 1: New Issue Opened ║" echo "╚════════════════════════════════════════════════════════════════════════════╝" echo "" cat << 'EOF' IMPORTANT: Issue #42 was opened in repository testowner/test-repo. === MANDATORY FIRST STEPS - READ ALL MESSAGES === Before you start any work on this issue, you MUST complete these steps IN ORDER: 1. Use the mcp__gogs__get_issue tool to fetch the complete issue details: - owner: testowner - repo: test-repo - number: 42 2. Use the mcp__gogs__list_issue_comments tool to fetch ALL comments: - owner: testowner - repo: test-repo - number: 42 3. Read and understand: - The complete issue description - ALL comments in the discussion thread (if any exist) - The full context 4. ONLY AFTER reading everything above, proceed with your work === ISSUE CONTEXT === Issue #42: Add dark mode support Created by: testuser Initial issue description: We need to add dark mode to the application. Users have been requesting this feature. === YOUR TASK === This issue is assigned to you. You must: 1. First, use the Gogs MCP tools above to fetch and read the issue and ALL comments 2. Understand the full discussion context (even if there are no comments yet) 3. Then proceed with the appropriate action DO NOT skip reading the comments using the MCP tools. This is critical to understanding the full context. EOF echo "" echo "" echo "╔════════════════════════════════════════════════════════════════════════════╗" echo "║ EXAMPLE 2: New Comment Added to Existing Issue ║" echo "╚════════════════════════════════════════════════════════════════════════════╝" echo "" cat << 'EOF' IMPORTANT: A new comment has been added to issue #42 in repository testowner/test-repo. === MANDATORY FIRST STEPS - READ ALL MESSAGES === Before you start any work on this issue, you MUST complete these steps IN ORDER: 1. Use the mcp__gogs__get_issue tool to fetch the complete issue details: - owner: testowner - repo: test-repo - number: 42 2. Use the mcp__gogs__list_issue_comments tool to fetch ALL comments: - owner: testowner - repo: test-repo - number: 42 3. Read and understand: - The original issue description - ALL comments in the discussion thread (chronologically) - The full context and conversation history 4. ONLY AFTER reading everything above, proceed with your work === ISSUE CONTEXT === Issue #42: Add dark mode support A new comment was just added by: testuser Initial issue description: We need to add dark mode to the application. Users have been requesting this feature. Most recent comment: Please also make sure the dark mode persists across sessions using localStorage. === YOUR TASK === This issue is assigned to you. You must: 1. First, use the Gogs MCP tools above to fetch and read ALL issue comments 2. Understand the full discussion context 3. Then proceed with the appropriate action based on the complete conversation DO NOT skip reading the comments using the MCP tools. This is critical to understanding the full context. EOF echo "" echo "╔════════════════════════════════════════════════════════════════════════════╗" echo "║ Summary ║" echo "╚════════════════════════════════════════════════════════════════════════════╝" echo "" echo "✓ Claude is FORCED to use MCP tools to fetch all comments" echo "✓ Claude must read issue details using mcp__gogs__get_issue" echo "✓ Claude must read ALL comments using mcp__gogs__list_issue_comments" echo "✓ Explicit instructions to read everything BEFORE starting work" echo "✓ Clear step-by-step mandatory process" echo ""