跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

triage-issue

项目与协作11k.claude/skills/triage-issue/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/aden-hive/hive/triage-issue/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Triage Issue Skill

Analyze a GitHub issue, verify claims against the codebase, and close invalid issues with a technical response.

Trigger

User provides a GitHub issue URL or number, e.g.:

  • /triage-issue 1970
  • /triage-issue https://github.com/adenhq/hive/issues/1970

Workflow

Step 1: Fetch Issue Details

gh issue view <number> --repo adenhq/hive --json title,body,state,labels,author

Extract:

  • Title
  • Body (the claim/bug report)
  • Current state
  • Labels
  • Author

If issue is already closed, inform user and stop.

Step 2: Analyze the Claim

Read the issue body and identify:

  1. The core claim - What is the user asserting?
  2. Technical specifics - File paths, function names, code snippets mentioned
  3. Expected behavior - What do they think should happen?
  4. Severity claimed - Security issue? Bug? Feature request?

Step 3: Investigate the Codebase

For each technical claim:

  1. Find the referenced code using Grep/Glob/Read
  2. Understand the actual implementation
  3. Check if the claim accurately describes the behavior
  4. Look for related tests, documentation, or design decisions

Step 4: Evaluate Validity

Categorize the issue as one of:

CategoryAction
Valid BugDo NOT close. Inform user this is a real issue.
Valid Feature RequestDo NOT close. Suggest labeling appropriately.
MisunderstandingPrepare technical explanation for why behavior is correct.
Fundamentally FlawedPrepare critique explaining the technical impossibility or design rationale.
DuplicateFind the original issue and prepare duplicate notice.
IncompletePrepare request for more information.

Step 5: Draft Response

For issues to be closed, draft a response that:

  1. Acknowledges the concern - Don't be dismissive
  2. Explains the actual behavior - With code references
  3. Provides technical rationale - Why it works this way
  4. References industry standards - If applicable
  5. Offers alternatives - If there's a better approach for the user

Use this template:

## Analysis

[Brief summary of what was investigated]

## Technical Details

[Explanation with code references]

## Why This Is Working As Designed

[Rationale]

## Recommendation

[What the user should do instead, if applicable]

---
*This issue was reviewed and closed by the maintainers.*

Step 6: User Review

Present the draft to the user with:

## Issue #<number>: <title>

**Claim:** <summary of claim>

**Finding:** <valid/invalid/misunderstanding/etc>

**Draft Response:**
<the markdown response>

---
Do you want me to post this comment and close the issue?

Use AskUserQuestion with options:

  • "Post and close" - Post comment, close issue
  • "Edit response" - Let user modify the response
  • "Skip" - Don't take action

Step 7: Execute Action

If user approves:

# Post comment
gh issue comment <number> --repo adenhq/hive --body "<response>"

# Close issue
gh issue close <number> --repo adenhq/hive --reason "not planned"

Report success with link to the issue.

Important Guidelines

  1. Never close valid issues - If there's any merit to the claim, don't close it
  2. Be respectful - The reporter took time to file the issue
  3. Be technical - Provide code references and evidence
  4. Be educational - Help them understand, don't just dismiss
  5. Check twice - Make sure you understand the code before declaring something invalid
  6. Consider edge cases - Maybe their environment reveals a real issue

Example Critiques

Security Misunderstanding

"The claim that secrets are exposed in plaintext misunderstands the encryption architecture. While SecretStr is used for logging protection, actual encryption is provided by Fernet (AES-128-CBC) at the storage layer. The code path is: serialize → encrypt → write. Only encrypted bytes touch disk."

Impossible Request

"The requested feature would require [X] which violates [fundamental constraint]. This is not a limitation of our implementation but a fundamental property of [technology/protocol]."

Already Handled

"This scenario is already handled by [code reference]. The reporter may be using an older version or misconfigured environment."

相似的 Skill

slack-gif-creator
anthropics/skills180k

slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."

项目与协作

observability-and-instrumentation
addyosmani/agent-skills103k

observability-and-instrumentation

Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

项目与协作

understand-diff
Egonex-AI/Understand-Anything86k

understand-diff

Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks

项目与协作

developer-growth-analysis
ComposioHQ/awesome-claude-skills77k

developer-growth-analysis

Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.

项目与协作

skill-share
ComposioHQ/awesome-claude-skills77k

skill-share

A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

项目与协作

slack-gif-creator
ComposioHQ/awesome-claude-skills77k

slack-gif-creator

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

项目与协作