analyze-issue

analyze-issue

熱門

分析 GitHub issue 並建立詳細的技術規格說明文件

1694星標
158分支
更新於 2026/8/26
SKILL.md
唯讀
名稱
analyze-issue
描述

分析 GitHub issue 並建立詳細的技術規格說明文件

請分析 GitHub issue #$ARGUMENTS 並建立技術規格說明。

請按照以下步驟進行:

  1. 檢查 issue 是否已載入:

    • 在 ./specs/issues/ 資料夾中尋找 issue 檔案
    • 檔案命名格式:<number-padded-to-3-digits>-<kebab-case-title>.md
    • 如果未找到,請從 GitHub 擷取 issue 詳細資訊(參見步驟 2)
  2. 擷取 issue 詳細資訊(若尚未載入):

    • 閱讀 .claude/commands/load-issues.md 以瞭解如何擷取 issue 詳細資訊
    • 按照 load-issues.md 的格式儲存 issue 檔案
  3. 深入理解需求

  4. 審視相關程式碼與專案結構

  5. 使用下方格式建立技術規格說明

Technical Specification for Issue #$ARGUMENTS

Issue Summary

  • Title: [來自 GitHub 的 Issue 標題]
  • Description: [來自 Issue 的簡短說明]
  • Labels: [來自 Issue 的標籤]
  • Priority: [根據 Issue 內容評估為 高/中/低]

Problem Statement

[1-2 段說明問題的文字]

Technical Approach

[詳細的技術做法]

Implementation Plan

  1. [步驟 1]
  2. [步驟 2]
  3. [步驟 3]

Test Plan

  1. Unit Tests:
    • [測試情境]
  2. Component Tests:
    • [測試情境]
  3. Integration Tests:
    • [測試情境]

Files to Modify

Files to Create

Existing Utilities to Leverage

Success Criteria

  • [ ] [成功標準 1]
  • [ ] [成功標準 2]

Out of Scope

  • [非本次範圍項目 1]
  • [非本次範圍項目 2]

請記得遵循我們嚴格的 TDD 原則、KISS 原則以及單一檔案 300 行的限制。

重要提示:完成分析後,請將完整的技術規格說明儲存至:
./specs/issues/<number-padded-to-3-digits>-<kebab-case-title>.specs.md

例如,針對標題為 "Make code review trigger on any *.SQL and .sh file changes" 的 issue #7,請儲存至:
./specs/issues/007-make-code-review-trigger-on-sql-sh-changes.specs.md

儲存完畢後,向使用者提供簡短摘要,確認:

  • 分析的 Issue 編號與標題
  • 規格說明檔案儲存的檔案路徑
  • 規格說明的核心重點(2-3 個項目符號)