|
| 1 | +name: Prompt Request |
| 2 | +description: Propose a change via an AI prompt that can be reviewed and executed |
| 3 | +title: "[Prompt]: " |
| 4 | +labels: ["prompt-request", "ai-assisted"] |
| 5 | +body: |
| 6 | + - type: markdown |
| 7 | + attributes: |
| 8 | + value: | |
| 9 | + ## What is a Prompt Request? |
| 10 | +
|
| 11 | + Instead of submitting code directly, share the **AI prompt** that generates the changes you want. This allows maintainers to: |
| 12 | + - Understand the **intent** behind changes |
| 13 | + - Review the **reasoning** before code is generated |
| 14 | + - Run the prompt themselves to verify and merge |
| 15 | + - Iterate on the prompt before implementation |
| 16 | +
|
| 17 | + This is especially useful for AI-assisted development where the prompt often captures intent better than the resulting code diff. |
| 18 | +
|
| 19 | + - type: checkboxes |
| 20 | + id: existing-issue |
| 21 | + attributes: |
| 22 | + label: Is there an existing issue or PR for this? |
| 23 | + description: Please search to see if this has already been addressed. |
| 24 | + options: |
| 25 | + - label: I have searched the existing issues and PRs |
| 26 | + required: true |
| 27 | + |
| 28 | + - type: textarea |
| 29 | + id: context |
| 30 | + attributes: |
| 31 | + label: Context & Motivation |
| 32 | + description: What problem does this prompt solve? Why should this change be made? |
| 33 | + placeholder: | |
| 34 | + Describe the motivation for this change. Link to related issues if applicable. |
| 35 | + Ex: "The current search doesn't handle empty results gracefully..." |
| 36 | + validations: |
| 37 | + required: true |
| 38 | + |
| 39 | + - type: textarea |
| 40 | + id: prompt |
| 41 | + attributes: |
| 42 | + label: AI Prompt |
| 43 | + description: | |
| 44 | + The exact prompt to run with an AI coding assistant (GitHub Copilot, Claude, Cursor, etc.). |
| 45 | + Include all necessary context the AI would need. |
| 46 | + placeholder: | |
| 47 | + Add graceful empty state handling to SearchView.swift. |
| 48 | + |
| 49 | + Requirements: |
| 50 | + - Show an illustration when search returns no results |
| 51 | + - Display helpful message suggesting different search terms |
| 52 | + - Follow existing empty state patterns in LibraryView |
| 53 | + - Use SF Symbols for the illustration |
| 54 | + - Ensure VoiceOver accessibility |
| 55 | + validations: |
| 56 | + required: true |
| 57 | + |
| 58 | + - type: dropdown |
| 59 | + id: ai-tool |
| 60 | + attributes: |
| 61 | + label: Recommended AI Tool |
| 62 | + description: Which AI tool is this prompt designed for? |
| 63 | + options: |
| 64 | + - GitHub Copilot (Agent Mode) |
| 65 | + - Claude (via Cursor/Claude Code) |
| 66 | + - Any compatible AI assistant |
| 67 | + - Not sure / Tool-agnostic |
| 68 | + validations: |
| 69 | + required: true |
| 70 | + |
| 71 | + - type: textarea |
| 72 | + id: files |
| 73 | + attributes: |
| 74 | + label: Target Files (Optional) |
| 75 | + description: List specific files the prompt should modify, if known. |
| 76 | + placeholder: | |
| 77 | + - Views/macOS/Search/SearchView.swift |
| 78 | + - Views/macOS/Components/EmptyStateView.swift (new) |
| 79 | +
|
| 80 | + - type: textarea |
| 81 | + id: acceptance |
| 82 | + attributes: |
| 83 | + label: Acceptance Criteria |
| 84 | + description: How will we know the prompt produced correct results? |
| 85 | + placeholder: | |
| 86 | + - [ ] Empty state appears when search returns 0 results |
| 87 | + - [ ] Message is helpful and not generic |
| 88 | + - [ ] VoiceOver reads the empty state correctly |
| 89 | + - [ ] Unit tests pass |
| 90 | + - [ ] No SwiftLint warnings |
| 91 | + validations: |
| 92 | + required: true |
| 93 | + |
| 94 | + - type: dropdown |
| 95 | + id: area |
| 96 | + attributes: |
| 97 | + label: Feature Area |
| 98 | + description: Which part of the app does this affect? |
| 99 | + options: |
| 100 | + - Playback / Audio |
| 101 | + - Library / Playlists |
| 102 | + - Search |
| 103 | + - Home / Browse |
| 104 | + - Now Playing / Player Bar |
| 105 | + - UI / Visual |
| 106 | + - Performance |
| 107 | + - Documentation |
| 108 | + - Testing |
| 109 | + - Build / CI |
| 110 | + - Other |
| 111 | + validations: |
| 112 | + required: true |
| 113 | + |
| 114 | + - type: textarea |
| 115 | + id: alternatives |
| 116 | + attributes: |
| 117 | + label: Alternative Approaches |
| 118 | + description: Other prompts or approaches you considered. |
| 119 | + placeholder: Describe other ways this could be achieved. |
| 120 | + |
| 121 | + - type: checkboxes |
| 122 | + id: verification |
| 123 | + attributes: |
| 124 | + label: Verification |
| 125 | + description: Please confirm the following. |
| 126 | + options: |
| 127 | + - label: I have tested this prompt locally (or explained why I couldn't) |
| 128 | + - label: The prompt follows project conventions in AGENTS.md |
| 129 | + - label: No secrets, API keys, or sensitive data are included in the prompt |
| 130 | + required: true |
| 131 | + |
| 132 | + - type: textarea |
| 133 | + id: additional |
| 134 | + attributes: |
| 135 | + label: Additional Context |
| 136 | + description: Any other information that would help when running the prompt. |
| 137 | + placeholder: Screenshots, expected behavior, edge cases to consider, etc. |
0 commit comments