triage-issues

作者: clickhouse

一次分析一個 GitHub issue。讀取描述、定義標籤與優先順序、研究額外資訊,並提供簡短但…

npx skills add https://github.com/clickhouse/clickhouse-java --skill triage-issues

Issue Triage Workflow

Stage 1: Preview

  1. Sizes the description into categories: Tiny, Small, Medium, Large. See Description Sizes in references.md for size definitions.
  2. Analyzes based on description size:
    • Tiny: Tries to detect what module is affected. Uses specific terms and method names. JDBC, for example, has very recognizable sets of methods. Remembers or outputs additional information.
    • Small or Medium: Finds what module or functionality is affected and records this information. Small or Medium descriptions just need more technical details.
    • Large: Refines and compacts the issue for further investigation. Large descriptions should have enough data to pinpoint the problem but are often in a form hardly readable by humans, so creates a minimal version.
  3. Checks that there is minimal data available about the problem. See Minimal Issue Details in references.md.

Stage 2: Research

Before exploring the tree, use source-map.md to locate the affected module and area:* labels (module/package boundaries, label → source location, entry-point classes, and stacktrace → module heuristics). Only grep the source once the map has narrowed the scope.

Every issue type has its own research approach.

Question

  1. Looks up documentation first if there is related information. See Module Documentation in references.md.
  2. If the question is about how configuration works - explores source code. See Module Sources in references.md.
  3. If the question is about usage then generates a set of questions to get details about the use-case.
  4. Else, notes that this question needs human attention.

Potential Bug

  1. Finds out scope: determines the module, what configuration parameters are involved, and what classes implement the area.
    1. If there is a stacktrace, adds the call chain of methods for review.
    2. If there is a specific code example given, looks at what functions are called in what order.
  2. Understands the runtime environment more. Generates questions to discover more.
    1. If JDBC, then there could be some framework involved. Finds out what the conditions should be.
    2. If client, then the application environment is important.
  3. When the user provides a data example or use case description, creates a test scenario or code. Keeps code minimal.

What to ask User

  • Asks user about specific version of client or JDBC driver. Asks about specific version of server.
  • Asks about network setup if relevant. For example, issue related network may be affected by proxy in the middle.
  • Asks about reproducibility of the problem if it is network related and looks like have unstable nature.

Stage 3: Summary

When finishing the analysis, outputs the findings using this exact template:

## Triage Report
**Effort to Fix**: [Tiny/Small/Medium/Large]
**Type**: [Question/Bug]
**Affected Module**: [Module Name]
### Summary
[1-2 sentences summarizing the core issue]
### Recommended Labels & Priority
- Labels: [label1, label2]
### Missing Information / Questions for User
1. [Question 1]
2. [Question 2]
### Tests to Add

**Test 1: Scenario**
```
// code
```


**Test 2: Scenario**
```
// code
```

來自 clickhouse 的更多技能

clickhouse-best-practices
clickhouse
我们要求翻译一段文本,目标语言是繁体中文。文本内容是关于ClickHouse最佳实践的规则,包括模式设计、查询优化和数据摄取策略。需要保留名称"clickhouse-best-practices"(但名称不在<text>内,所以不翻译)。注意不要添加额外内容,只翻译<text>内的文字。 翻译时注意专业术语:schema design -> 模式設計,query optimization -> 查詢優化,data ingestion strategy -> 數據攝取策略,primary key -> 主鍵,data type selection -> 數據類型選擇,immutable design decisions -> 不可變設計決策,JOIN -> JOIN(保留),insert batching -> 插入批次處理,mutation avoidance -> 避免突變,columnar storage -> 列式存儲,sparse index mechanics -> 稀疏索引機制,structured review procedures -> 結構化審查程序。 注意繁体中文用词:规则、组织、涵盖、关键、标记、提供等。 文本末尾有"for...",但原文是"for..."后面没有完整
clickhouse-js-node-coding
clickhouse
參考資料:https://clickhouse.com/docs/integrations/javascript
clickhouse-js-node-coding
clickhouse
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`). Use this skill whenever a user is *building* against the Node.js…
clickhousectl-cloud-deploy
clickhouse
當用戶想要將ClickHouse部署到雲端、上線生產環境、使用ClickHouse Cloud、託管受管理的ClickHouse服務,或從本地遷移時使用。
clickstack-otel-collector
clickhouse
當使用者想要將 OpenTelemetry collector 接入 ClickHouse Cloud 上的 Managed ClickStack 服務時使用,無論是透過部署新的本地 collector…
infra-clickhouse
clickhouse
使用clickhousectl CLI設定及管理ClickHouse——安裝並執行本機ClickHouse伺服器以利開發,同時建立受管理的ClickHouse Cloud…
infra-postgres
clickhouse
使用 clickhousectl CLI 設定並管理 Postgres — 執行本機 Docker 支援的 Postgres 以進行開發,並建立及操作受管理的 ClickHouse…
clickhouse-best-practices
clickhouse
審查 ClickHouse 結構、查詢或配置時必須使用。包含 31 條規則,在提供建議前必須檢查。務必閱讀…