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

issue-priority

Skill331 starsChanged 4 days agoApache-2.0View on GitHub

Decide the priority of a `ClickHouse/clickhouse-js` 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 packages, the severity rows, the base-level matrix, the modifiers, and the confidence.

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

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    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 JSDoc tag, or docs that call the API deprecated).

    line 30
  2. Distinctive:

    Write one line with the value:

    line 142

≈ “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-js 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 JSDoc tag, or docs that call the API deprecated). 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

The reach is the tier of the most-used public path that reaches the defect, not the tier of the file that contains it. packages/client-common/src is linked into both clients as src/common, so the same file can be Core through the Node.js client and Common through the Web client. ResultSet.json() on a streamable JSON format goes through stream(), so a stream() defect that json() reaches is Core.

TierPublic paths
Core@clickhouse/client (Node.js) query(), insert(), and command() with JSON formats; the connection layer (packages/client-node/src/connection/: socket pool, keep-alive, abort); auth and TLS; error handling and the result set (result_set.ts); query parameters; code in packages/client-common/src that the Node.js client reaches
Commoncompression; ResultSet.stream(); insert() from a stream or with a non-JSON format (CSV, TSV, Parquet); sessions and roles; the tracer; multipart parameters (use_multipart_params); @clickhouse/client-web
Narrowexec() with raw formats; edge runtimes; rare types (Geo, Dynamic, Variant)
Satellite@clickhouse/rowbinary (skills/clickhouse-js-node-rowbinary/), @clickhouse/datatype-parser (packages/datatype-parser/), the other agent skills (skills/), examples/, demo/, docs/

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 crash, a leak that ends in a crash or in exhausted sockets), 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 crash, 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 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. Regression in the latest published release of the package that has the problem: 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 per package: client-X.Y.Z (Node.js client), client-web-X.Y.Z, datatype-parser-vX.Y.Z, rowbinary-vX.Y.Z.
  3. 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).

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. @clickhouse/rowbinary codecs

The clickhouse-js-node-rowbinary skill copies the reader and writer code into the codecs that it generates in the user's project. A new release does not change code that users already generated. A fix for a defect in that code, or for a @clickhouse/datatype-parser defect that changes the generated code, needs a line in skills/clickhouse-js-node-rowbinary/CHANGELOG.md that tells users to regenerate their codecs. The priority stays as the table gives it.

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.