file-bug-issue
針對無法修復的錯誤開 GitHub issue,附帶完整重現步驟與除錯記錄
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
針對無法修復的錯誤開 GitHub issue,附帶完整重現步驟與除錯記錄
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
PR merge 後的收尾流程:歸檔 openspec change、更新 docs/product 功能狀態、校準地圖文件。Use when a PR is merged, the user says 合併了/merged/上線了, or after confirming a PR's merge status.
PRD 快速生成、需求補洞、優化顧問三合一工具。從需求產出完整 PRD,多角色檢視缺漏,再優化成工程師友善文件。Use when writing a new PRD, reviewing an existing PRD for gaps, or optimizing PRD readability. Triggered by keywords: PRD, 需求文件, 產品規格, 規格書, user story, acceptance criteria, 驗收條件.
依島島 GTM 策略產出 TA 導向的行銷內容——部落格文章、社群貼文(Threads/IG/FB)、回覆別人的文案。Use when user says "寫一篇文章"、"寫貼文"、"幫我回覆這篇"、"招生文"、"揪團文"、"寫 threads"、"content"、"文案"。自動套用語氣鐵律、TA 痛點語言與模板 CTA。
規劃或實作任何 product 功能前,先用程式碼驗證 docs/product 的狀態標示是否為真。docs/product 的 PRD/FRD 狀態普遍落後於程式碼——直接照文件規劃會重做一個早就上線的功能。Use before planning a feature, estimating scope, writing an OpenSpec change, or answering "這功能做了沒". Triggered by keywords: PRD, FRD, 規劃, 這功能, 還沒做, 規劃中, roadmap, scope, plan feature.
Use when asked to summarize or analyze monthly user activity and interaction data. Queries DB for MAU, DAU trends, check-in counts, reactions, comments, follows, retention rate, and top users/practices. Generates narrative insights via daodao-ai-backend LLM and outputs a markdown report or writes to Notion.
Use when sending personalized congratulation emails to users who completed a practice. Queries the DB for completed practices, generates personalized email content via daodao-ai-backend LLM, previews samples for confirmation, then sends via email API. Always runs in dry-run mode first.
| name | file-bug-issue |
| description | 針對無法修復的錯誤開 GitHub issue,附帶完整重現步驟與除錯記錄 |
| user_invocable | true |
將當前對話中遇到的 bug / 錯誤開成 GitHub issue,讓團隊或未來的自己能追蹤處理。
Input: 可選指定 repo URL 和錯誤摘要。未指定則詢問。
Steps
收集錯誤資訊
從當前對話上下文中整理:
如果上下文不夠完整,用 AskUserQuestion 補問缺少的資訊。
取得目標 repo
詢問使用者要開到哪個 GitHub repo(例如 daodaoedu/daodao-storage)。
用 gh repo view <repo> --json name 驗證存取權限。
確保 label 存在
gh label create bug --repo <repo> --color D73A4A 2>/dev/null || true
草擬 issue 內容
向使用者預覽 issue:
Title: <簡潔描述錯誤>
Labels: bug
## 錯誤描述
<錯誤現象,包含完整錯誤訊息>
## 重現步驟
1. ...
2. ...
## 預期行為
<應該發生什麼>
## 環境
- 環境:CI / Local
- 相關服務版本:...
## 已嘗試的方案
- [ ] 方案 A — 結果:...
- [ ] 方案 B — 結果:...
## 相關檔案
- `path/to/file`
## 補充資訊
<其他有助於除錯的上下文>
用 AskUserQuestion 確認:「要建立這個 issue 嗎?可以先調整內容。」
建立 issue
gh issue create --repo <repo> --title "<title>" --label "bug" --body "$(cat <<'EOF'
<issue body>
EOF
)"
回報結果
顯示建立的 issue 連結:
已建立 issue:
- #123 <title>
<url>
Important notes: