agentleFS
ClickHouseClickHouse/clickhouse-go/.claude/skills/issue-priority/SKILL.md

issue-priority

Skill3.4k starsChanged 3 months agoApache-2.0View on GitHub

Decide the priority of a `ClickHouse/clickhouse-go` issue: `Urgent`, `High`, `Medium`, or `Low`, for the org issue field **Priority**. Use this skill when the task is to "prioritize", "set the priority of", "rate", or "triage" an issue, or to explain why an issue has a given priority. It defines the reach tiers of the public API, the severity rows, the base-level matrix, the modifiers, and the confidence.

2 other projects use a version of this, 2 of them edited.

Trending

More talk lately.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 2 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 2 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the ClickHouse/clickhouse-go repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about ClickHouse/clickhouse-go

The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 23

Talked about on GitHub, Stack Overflow and Hacker News (23 times).

On GitHub · 18

13 more on GitHub
  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 2

    1. ClickHouse/clickhouse-js★ 33173% same
    2. ClickHouse/clickhouse-cs★ 10256% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only a deprecated public API reaches the defect (a Deprecated: paragraph in the Go doc comment, or docs that call the API deprecated.

    line 30
  2. Distinctive:

    Write one line with the value:

    line 177
  3. Very specific:

    When the root cause is in ch-go (a ch-go-only program shows the problem, or the defect is in ch-go code), the fix goes into …

    line 186

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Issue priority

This skill is the single source of truth for the Priority of ClickHouse/clickhouse-go issues. People and automated triage use the same rules.

The value goes into the org issue field Priority (Urgent, High, Medium, Low). The field is visible to org members only. An automated tool sets the value once, never changes a value that is already set, and keeps the level and its reason out of public comments.

When to set no priority

Set no priority when one of these is true:

  • A maintainer can close the issue with no further action: it is already fixed on main, a duplicate, works as intended, already supported, answered, or obsolete.
  • Only a deprecated public API reaches the defect (a Deprecated: paragraph in the Go doc comment, or docs that call the API deprecated; for example Conn.AsyncInsert, WithAsync, WithStdAsync, and the Debug and Debugf options). Fixes to deprecated code are not released.
  • The issue is a question, or it is about CI, the release process, or a discussion.

Vulnerabilities that are not public yet

A security issue must not stay public with a description of how to reproduce it. This section applies when a reproduction or code inspection confirms a vulnerability that is not public yet, as the classification skill of this repository defines it (../issue-classification/SKILL.md, "A vulnerability that is not public yet").

  • Report it in a private GitHub vulnerability report for this repository (Security → Report a vulnerability), never in a public issue, comment, or pull request. If a public issue reports it, copy the title, the text, and the comments of the issue into the report first.
  • Set no Priority on the public issue. Close it with a comment that gives no details, and ask a repository administrator to delete it: closing does not hide the text of the issue.
  • Rate the vulnerability with the rules below, and put the level and its reason into the private report as the proposed severity.

A vulnerability that is already public (a published CVE or GHSA, for example in a dependency), and an authentication method that does not work or is missing, get a Priority on the issue as usual.

1. Reach

Reach tells how many applications can hit the defect. It comes from the public API that leads to the code with the defect: an API that almost every application calls has a high reach, an API that few applications use has a low reach. There are four tiers, highest first:

  • Core: almost every application calls this API.
  • Common: many applications use it, but not all.
  • Narrow: few applications use it (rare types, experimental APIs, special setups).
  • Satellite: applications do not import it (examples, tests, docs, tools).

To find the tier, find the most-used public API that reaches the defect, and look it up in the table below. Use the API, not the file that contains the defect: a defect in a helper that only QueryFormat calls is Narrow, and a defect in the same helper that Rows.Scan also calls is Core.

The native interface (clickhouse.Open) and the database/sql driver use the same connection and column code, so a lib/column/ defect that Rows.Scan reaches through either interface has the tier of that column type. Both interfaces use the native protocol by default: a defect that only the HTTP protocol shows is Common. The column codecs and the compression come from ch-go (github.com/ClickHouse/ch-go/proto, github.com/ClickHouse/ch-go/compress): a ch-go defect has the tier of the clickhouse-go path that reaches it.

TierPublic paths
Corethe native interface (clickhouse.Open, driver.Conn: Query, QueryRow, Select, Exec, PrepareBatch with Batch.Append and Batch.Send, Ping) and the database/sql driver (sql.Open("clickhouse", dsn), clickhouse.OpenDB, batches with Begin, Prepare, Exec, Commit) over the native protocol; the connection layer (dial, connection pool, DialTimeout, ReadTimeout, context cancellation); username and password authentication, and TLS; Options and DSN parsing (ParseDSN); error handling (*clickhouse.Exception, *OpError); query parameters and binding (bind.go, query_parameters.go, clickhouse.Named, WithParameters); struct mapping (Select, ScanStruct, AppendStruct); Rows.Scan and these column types (lib/column/): integers up to 64 bits, Float32, Float64, Bool, String, FixedString, Date, Date32, DateTime, DateTime64, Decimal, UUID, Enum8, Enum16, Nullable, LowCardinality, Array, Map, Tuple
Commonthe HTTP protocol (Protocol: clickhouse.HTTP, http:// and https:// DSNs, HttpHeaders); compression (Compression: LZ4, LZ4HC, ZSTD, and GZIP, Deflate, Brotli over HTTP); column-wise append (Batch.Column); failover and load balancing (more than one address, ConnOpenStrategy); the context options WithSettings, WithQueryID, WithQuotaKey, WithProgress, WithLogs, WithProfileInfo, WithProfileEvents; async insert through WithSettings; the logger (Logger); Conn.Stats; the column types JSON, IPv4, IPv6, Int128, Int256, UInt128, UInt256, Nested, SimpleAggregateFunction
Narrowthe other column types: Geo (Point, Ring, LineString, MultiLineString, Polygon, MultiPolygon), Variant, Dynamic, Time, Time64, BFloat16, QBit, Interval, Nothing; external data (ext, WithExternalTable); raw input and output formats (QueryFormat, InsertFormat; experimental, HTTP protocol only); JWT authentication (GetJWT, WithJWT); OpenTelemetry (WithSpan); custom dialers (DialContext, DialStrategy); the HTTP proxy (HTTPProxyURL); ClientInfo, WithColumnNamesAndTypes, WithBlockBufferSize, WithUserLocation
Satelliteexamples/, benchmark/, the test helpers in tests/, docs/, README.md, TYPES.md, the agent skills and agents in .claude/

2. Severity

First name the impacts of the issue with the classification skill of this repository (../issue-classification/SKILL.md): none, one, or more of Security (part vulnerability or part authentication), Data integrity, Stability, and Performance. Most issues have none.

Then use the first severity row that fits. With more than one impact, the highest row applies:

SeverityUse when
Wrong data or securityimpact Data integrity: the client returns or stores wrong or incomplete data with no error, or reports success for a query that failed; or impact Security with a vulnerability (for a vulnerability in a dependency: only when the client calls the vulnerable code)
Broken, no workaroundthe feature fails (an error, a hang, a panic, a leak that ends in a crash or in exhausted connections), and the caller has no reasonable workaround; also a wrong or incomplete error with no workaround: the failure is reported, but its type, code, or message is wrong or lost. The impact Stability (a hang, a panic, such a leak) uses this row when the caller has no reasonable workaround
Workaround existsthe feature fails, but the caller can avoid the failure with a small change in their own code (name the workaround in the reason); also impact Performance of a defect: a result that is correct but slow or uses too much memory (a request to make an operation faster is a feature request: last row)
Cosmetic, docs, featurewrong log or message text, documentation, a feature request; also a request to make an operation faster, and a dependency update (also one for a vulnerability in a dependency, in code that the client does not call)

An issue that has the impact Security with no vulnerability (an authentication method that does not work or is missing) does not use the first row. Rate an authentication method that does not work by its failure ("Broken, no workaround" or "Workaround exists"), and a request for a missing method as a feature request.

3. Base level

Severity ↓ / Reach →CoreCommonNarrowSatellite
Wrong data or securityUrgentUrgentHighMedium
Broken, no workaroundHighHighMediumLow
Workaround existsMediumMediumLowLow
Cosmetic, docs, featureLowLowLowLow

4. Modifiers

Apply them in this order:

  1. Security with a shown path from untrusted input. The issue or a reproduction shows how a value that an application takes from its users reaches the defect: Urgent at any reach. Skip the other modifiers. A defect that puts a caller-supplied value into SQL without quoting or escaping (for example in the client-side binding, bind.go) is a candidate: look for such a path. If none is shown, rate the defect by the failure that it shows. A vulnerability that is not public yet goes to a private vulnerability report, not to a public issue (see "Vulnerabilities that are not public yet").
  2. Panic. The library panics: a Go panic in clickhouse-go or ch-go code, not in the caller's code, and not in examples/, benchmark/, or the tests. The level is at least High, at any reach. Library code must not panic (AGENTS.md), and a panic stops the whole process unless the caller recovers it.
  3. Ingestion. The defect is on the insert path (PrepareBatch, Batch.Append, Batch.AppendStruct, Batch.Column, INSERT through database/sql, async insert), and the client stores data that is lost, corrupted, or different from the given value, with no error. This includes a missing field, and a column that gets a default value in place of the given value, or does not get its DEFAULT when the value is not given: up one level. This can give Urgent. Wrong data in a table stays wrong after the fix; a defect on the read path does not change the stored data.
  4. Regression in the latest published release: up one level. This can give Urgent. It is a regression only when the latest release shows the problem and the release before it does not. The tags are vX.Y.Z (for example v2.51.0).
  5. Customer request in Linear. The issue links (linear.app) a Linear issue for a customer request: up one level, but never to Urgent (High stays High).

A defect on the query path (Query, QueryRow, Select, Rows.Scan) that does not panic gets neither of rules 2 and 3. So at the same reach and severity, a query defect ranks below a panic and below an ingestion defect.

5. Confidence

A missing reproduction lowers the confidence, not the level. Record the confidence with the value when the tool that sets it supports it:

ConfidenceUse when
HIGHa run shows the problem (or, for a feature, code inspection confirms its absence on main)
MEDIUMcode inspection shows a defect, but no reproduction was run (for example, it needs ClickHouse Cloud)
LOWthe report lacks what a reproduction needs, or a run did not show the problem

6. Reason

Write one line with the value:

<tier> (<path>) · <impacts, or "no impact"> · <severity> · <modifiers, or "no modifier"> → <level>.

Name the workaround when the severity is "Workaround exists". When the confidence is LOW, say what is missing.

7. Root cause in ch-go

When the root cause is in ch-go (a ch-go-only program shows the problem, or the defect is in ch-go code), the fix goes into ClickHouse/ch-go. It reaches clickhouse-go users only after a ch-go release and a dependency update in go.mod, so the issue stays open until that update is merged. The priority stays as the table gives it for the clickhouse-go path.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.