Analyze Issue

NeoLabHQ/context-engineering-kit/antigravity/skills/analyze-issue

作者 NeoLabHQ23e2428e809d77717f8acc9659c374a3a1fcb93e无许可证收录于 2026年10月9日更新于 2026年10月9日

Analyze a GitHub issue and create a detailed technical specification

AI 生成的概览

分析 GitHub issue 并生成保存的技术规格说明,包含方案、计划与测试。

功能
接收 GitHub issue 编号,加载或获取 issue 详情,并查看相关代码与项目结构。随后撰写技术规格说明,涵盖 issue 摘要、问题陈述、技术方案、实施计划、测试计划、需修改与新建的文件、可复用的现有工具、成功标准以及不在范围内的内容。规格说明以编号加短横线命名的文件名保存到 ./specs/issues/,并向用户返回简要总结。
适用场景
适用于在实施前需要把 GitHub issue 转化为可执行技术规格说明的场景。适合希望从 issue 得到包含测试覆盖与文件级改动的结构化计划的团队。也适用于需要先从 GitHub 加载或获取 issue 详情的情况。
运行要求
需要访问 GitHub issue 数据,可来自 ./specs/issues/ 下的本地文件,或按 .claude/commands/load-issues.md 从 GitHub 获取。需要读取项目代码与结构,并具备 ./specs/issues/ 的写入权限。不附带脚本,仅为指令。

Please analyze GitHub issue #$ARGUMENTS and create a technical specification.

Follow these steps:

  1. Check if the issue is already loaded:

    • Look for the issue file in ./specs/issues/ folder
    • File naming pattern: <number-padded-to-3-digits>-<kebab-case-title>.md
    • If not found, fetch the issue details from GitHub (see step 2)
  2. Fetch the issue details (if not already loaded):

    • Read .claude/commands/load-issues.md to understand how to fetch issue details
    • Save the issue file following the load-issues.md format
  3. Understand the requirements thoroughly

  4. Review related code and project structure

  5. Create a technical specification with the format below

Technical Specification for Issue #$ARGUMENTS

Issue Summary

  • Title: [Issue title from GitHub]
  • Description: [Brief description from issue]
  • Labels: [Labels from issue]
  • Priority: [High/Medium/Low based on issue content]

Problem Statement

[1-2 paragraphs explaining the problem]

Technical Approach

[Detailed technical approach]

Implementation Plan

  1. [Step 1]
  2. [Step 2]
  3. [Step 3]

Test Plan

  1. Unit Tests:
    • [test scenario]
  2. Component Tests:
    • [test scenario]
  3. Integration Tests:
    • [test scenario]

Files to Modify

Files to Create

Existing Utilities to Leverage

Success Criteria

  • [criterion 1]
  • [criterion 2]

Out of Scope

  • [item 1]
  • [item 2]

Remember to follow our strict TDD principles, KISS approach, and 300-line file limit.

IMPORTANT: After completing your analysis, SAVE the full technical specification to: ./specs/issues/<number-padded-to-3-digits>-<kebab-case-title>.specs.md

For example, for issue #7 with title "Make code review trigger on any *.SQL and .sh file changes", save to: ./specs/issues/007-make-code-review-trigger-on-sql-sh-changes.specs.md

After saving, provide a brief summary to the user confirming:

  • Issue number and title analyzed
  • File path where the specification was saved
  • Key highlights from the specification (2-3 bullet points)

来源与署名

来源:NeoLabHQ/context-engineering-kit位于antigravity/skills/analyze-issue提交23e2428

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架