Agent skill

Analyze Issue

by apache in apache/shardingsphere

Used to analyze Apache ShardingSphere community issues. An agent skill from apache/shardingsphere.

Apache-2.0Auto-check passedDatabases

Install Analyze Issue

skills CLI
$ npx skills add apache/shardingsphere --skill analyze-issue -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install apache/shardingsphere analyze-issue --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/apache/shardingsphere.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/analyze-issue .claude/skills/analyze-issue && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
analyze-issue
GitHub stars
21k
Token cost
~6.5k tokens
SKILL.md length
3,539 words
Files
3 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Used to analyze Apache ShardingSphere community issues. An agent skill from apache/shardingsphere.

  • Works in 7 steps: Inspect the challenger-provided evidence… → Determine whether the discrepancy comes… → Retain the prior conclusion only when… → …
  • Tasks that involve Root cause analysis
  • SKILL.md covers Objective, Default Output Contract, Community Role and Document Hygiene, plus 23 more sections
  • Calls git; needs GH_TOKEN and GITHUB_TOKEN

What it does

Analyze Issue is an agent skill from apache/shardingsphere. Used to analyze Apache ShardingSphere community issues. Emphasizes root-cause-first and evidence-first classification before conclusions, and produces copy-ready GitHub issue replies in the voice of an Apache ShardingSphere community maintainer.

Its SKILL.md is about 6.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/output-contract.md`).

It sits in Databases, covering Root cause analysis. It works with GitHub and SQL. The repository describes itself as: Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Root cause analysis

Example prompts

  • “/analyze-issue”

Requirements

  • A credential in GITHUB_TOKEN

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the challenger-provided evidence first, then rebuild the evidence chain from the applicable official documentation, repository…
  2. Determine whether the discrepancy comes from new evidence, previously missed evidence, an unsupported assumption, or an incorrect inference.
  3. Retain the prior conclusion only when every required assumption remains supported.
  4. If the prior conclusion is unsupported, withdraw or correct it immediately and update the classification, label recommendation…
  5. If the failure exposes a reusable gap in this Skill's rules, checklist, template, lint expectations, or regression examples, report that…
  6. Do not modify this Skill or another policy artifact unless the user explicitly authorizes that exact change.
  7. Rerun the applicable evidence, conflict-resolution, output, and lint checks before returning the corrected result.

What it can do on your machine

Read from SKILL.md and the folder at commit 44e364e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GH_TOKEN
    • GITHUB_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Analyze Issue loads about 6.5k tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 3,539 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~6.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from apache/shardingsphere at commit 44e364e, republished under its Apache-2.0 licence (© apache). 3,539 words, ~6,506 tokens.

Download SKILL.mdSave it as .claude/skills/analyze-issue/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
analyze-issue
description
Used to analyze Apache ShardingSphere community issues. Emphasizes root-cause-first and evidence-first classification before conclusions, and produces copy-ready GitHub issue replies in the voice of an Apache ShardingSphere community maintainer.

Analyze Issue

Objective

Provide a consistent, traceable, and reviewable issue analysis workflow. Prioritize identifying the real root cause and aligning with official ShardingSphere conventions.

Default Output Contract

Default to one concise, copy-ready GitHub issue comment written directly to the issue author. Complete the evidence analysis internally, but do not append the detailed Reference Analysis unless the user explicitly requests it.

The default maintainer reply must:

  • Start by addressing the issue author when the author is known, for example Hi @user, thanks for the question.
  • State the supportability decision in the first paragraph: supported, not supported, bug, enhancement, invalid usage, duplicate, out of scope, or needs more information or maintainer discussion.
  • Explain the reason from the ShardingSphere project point of view using official docs, repository code, or issue evidence.
  • Give the next action: correct usage, label/close recommendation, required missing facts, or PR/design expectations.
  • Read like a community member helping in the issue thread, not an external analyst summarizing the issue.

When returning the reply in Codex chat, wrap only the copyable GitHub-facing body in one fenced markdown block and keep any copy instruction outside it. Tell the user to copy only the content inside the fenced block. When posting directly through an API or tool, submit only the inner body.

Community Role

For every GitHub-facing response, act as an Apache ShardingSphere community maintainer or committer-facing reviewer. Use direct community language such as we, current ShardingSphere, this configuration is not supported, and please configure. Be polite and helpful, but make supportability judgments clearly when evidence is sufficient.

Do not self-identify as an AI, bot, analyzer, or neutral third party. Avoid default third-person phrasing such as the reporter wants, the user asks, or this issue reports in GitHub-facing maintainer replies.

Document Hygiene

Keep section titles production-ready:

  • Do not keep editorial markers such as "Add New Section" or "Add Before ...".
  • Section names must describe stable workflow behavior, not editing intent.

Execution Boundary

Default mode is analysis-only:

  • Do not modify repository files or submit code changes.
  • Do not provide patch-ready implementation content unless the user explicitly asks for implementation.
  • If implementation is requested, finish issue analysis first and explicitly state that execution has switched from analysis mode to implementation mode.

Challenged Conclusions

When an analysis conclusion, issue classification, or recommended label is challenged or disproved by stronger evidence, treat the prior conclusion as a hypothesis to disprove.

  1. Inspect the challenger-provided evidence first, then rebuild the evidence chain from the applicable official documentation, repository code and tests, and issue evidence allowed by Source Policy.
  2. Determine whether the discrepancy comes from new evidence, previously missed evidence, an unsupported assumption, or an incorrect inference.
  3. Retain the prior conclusion only when every required assumption remains supported.
  4. If the prior conclusion is unsupported, withdraw or correct it immediately and update the classification, label recommendation, confidence, and next action consistently.
  5. If the failure exposes a reusable gap in this Skill's rules, checklist, template, lint expectations, or regression examples, report that gap separately.
  6. Do not modify this Skill or another policy artifact unless the user explicitly authorizes that exact change.
  7. Rerun the applicable evidence, conflict-resolution, output, and lint checks before returning the corrected result.

Source Policy

Use only the following sources:

  • Apache ShardingSphere official documentation.
  • Apache ShardingSphere official repository code and tests.
  • Target GitHub issue content (body, comments, and linked PRs in the same repository).
  • Same-repository GitHub issues/PRs needed to verify a duplicate, prior fix, explicit project-responsibility decision, or accepted behavior boundary.

Do not use blogs, third-party tutorials, or forum posts as evidence.

Output Mode Selection

Choose output mode before drafting:

  • Maintainer Reply Only (default): Use for requests to reply to an issue, draft an issue comment, answer a community question, classify an issue, or when the user gives only an issue URL.
  • Maintainer Reply + Reference Analysis (explicit only): Use only when the user asks for the reply plus detailed analysis, evidence IDs, traceability appendix, or follow-up contributor notes.
  • Reference Analysis Only (explicit only): Use only when the user asks for detailed analysis only, evidence IDs only, triage report only, root-cause report only, or the fixed four-/five-section structure only.

Internal evidence gathering is always required. Do not expose the evidence ledger in the default reply unless it improves clarity or the user explicitly requests it. Read output-contract.md when the user requests Reference Analysis, a two-part response, a reusable template, or multi-line code whose Markdown fences require special handling.

Fast Triage Gate

Run this 3-question triage first and record a provisional type:

  1. Can the behavior be reproduced with version + mode + SQL + config + log evidence?
  2. Is the expected behavior explicitly documented in official ShardingSphere docs?
  3. Do repository code/tests confirm a mismatch with the documented expectation?

Triage decision:

  • Mostly Q&A -> Question
  • Misconfigured or unsupported usage -> Misunderstanding / Invalid Usage
  • Reproducible mismatch between expected and actual behavior -> Bug
  • Intended new capability or behavior evolution -> Enhancement
  • Same root cause already fixed or tracked by an earlier issue/PR -> Duplicate

Duplicate / Prior Fix Check

Before finalizing Bug or Enhancement, check whether the same root cause has already been fixed or tracked in the Apache ShardingSphere repository:

  1. Search by the issue's error message, exception class, key SQL token, affected class/method, and module labels.
  2. Use same-repository evidence only: target issue links/comments, GitHub issues/PRs in apache/shardingsphere, git log --grep, git log -S, and relevant file history.
  3. If the current upstream target branch, normally apache/master, or the release branch matching the reporter's version already contains an explicit fix, identify the fixing PR or original tracked issue whenever possible.
  4. Record the fixing PR number, merge state, merge commit, linked issue, target milestone/version, and changed module/class evidence when available.
  5. If a fixing PR or original issue is found and covers the same root cause, classify the new issue as Duplicate instead of a fresh Bug or Enhancement.
  6. If the current upstream target branch appears fixed but no fixing PR/issue can be identified after a reasonable search, say already fixed on the current upstream target branch and keep the primary type as Bug or Enhancement as appropriate.

Before classifying an issue as Duplicate, check the evidence against at least one relevant counterexample or negative scenario:

  1. Same error message but different affected class, SQL token, configuration, or call path -> do not classify as Duplicate.
  2. Same symptom but the fixing PR is not merged into the upstream target branch -> do not say already fixed; classify as Bug, Enhancement, or Needs More Info as appropriate.
  3. Same root cause fixed on the upstream target branch but not available in the reporter's release version -> state the fixed branch/version clearly and ask the reporter to verify with a version that includes the fix.
  4. Same linked issue/PR exists but does not cover the same trigger condition and root-cause chain -> do not close as duplicate.

For Duplicate, the maintainer reply should link the original PR/issue, recommend type: duplicate, and close as duplicate unless the reporter can still reproduce on a version that includes the fix.

Problem Validity and Project Commitment Gate

Run this gate before asking for more reproduction details, accepting a new behavior, or inviting implementation:

  1. Does the evidence establish a real problem and a coherent expected behavior, or do official docs and repository code already identify invalid or unsupported usage?
  2. Is the requested behavior owned by ShardingSphere's database upper layer rather than by a database engine, driver, application, or external operational tool?
  3. Would the resolution preserve an existing supported contract or add a project commitment such as new semantics, configuration, API or SPI, compatibility, topology, database, dialect, or cross-module support?
  4. What is the narrowest user-visible behavior justified by the reported scenario, and does the proposed solution add hypothetical reuse, unsupported generalization, or commitments beyond that behavior?
  5. Do official project positioning, maintained contracts, or an explicit public maintainer decision accept every new commitment?

If the evidence supports invalid or unsupported usage, classify the issue as Misunderstanding / Invalid Usage or Question and answer directly. Classify Out of Scope / Won't Fix only when official project positioning, maintained contracts, or an explicit public maintainer decision proves that another owner is responsible or that the request conflicts with the project boundary. When project responsibility or acceptance of a new commitment remains a maintainer choice, classify the request as an Enhancement that requires maintainer discussion rather than declaring it accepted or out of scope. When the problem is valid but the proposed solution is broader than the evidenced behavior, retain the supported issue classification and require a narrower behavior contract instead of rejecting the problem. An open issue, labels, popularity, available contributors, or submitted code do not establish project acceptance, and an exact existing behavior or special case does not authorize a broader generalization. Do not invite a PR or recommend status: volunteer wanted until public evidence establishes ShardingSphere ownership and acceptance of the requested behavior boundary. Do not default to Needs More Info only because the issue lacks a full SQL, database version, or stack trace when the current evidence is already enough to judge supportability or project responsibility. Use Needs More Info only when missing facts block the supportability, project-responsibility, or root-cause classification.

GitHub Access Preflight

Complete this gate before the first GitHub request:

  1. Resolve the target repository and endpoints, then apply the GitHub access contract in AGENTS.md: check GH_TOKEN, then GITHUB_TOKEN, without exposing their values; record only the selected route.
  2. When a token is configured, call the GitHub REST or GraphQL API directly. Do not invoke a browser, search, connector, gh, or anonymous HTTP route first.
  3. Only when neither token is configured, use an authenticated read-only connector or app when it can obtain the required endpoint, then gh or anonymous API or HTML as needed.

For a known private target, a 404 Not Found before authenticated repository access is confirmed does not prove absence. Retry through the selected authenticated route. If access cannot be confirmed, classify the GitHub evidence as unavailable, report the gap to the user, and stop without drafting a GitHub-facing maintainer reply. Only after access is confirmed may an endpoint 404 establish absence.

Intake Workflow

  1. Identify the issue number from user input.
  2. Use the canonical URL: https://github.com/apache/shardingsphere/issues/${issueNO}.
  3. Complete GitHub Access Preflight, then follow AGENTS.md for pagination, sensitive-data handling, and read-only boundaries.
  4. Fetch the issue body, all relevant comments, linked same-repository issues or PRs, and any other pages required by the selected evidence checks.

Minimum Evidence Package

Before a Bug root-cause conclusion, or when facts are genuinely insufficient to classify supportability, verify:

  • ShardingSphere version and deployment mode (JDBC / Proxy)
  • Database type and version
  • Minimal reproducible SQL
  • Related YAML / DistSQL config
  • Expected result vs actual result
  • Error stack trace and key log snippet

If any required item is missing and it blocks classification, classify as Needs More Info and stop short of definitive root-cause claims. If docs and code already show the request is unsupported or invalid usage, do not ask for this package just to complete a checklist.

Topology Check

Always record topology internally before root-cause analysis:

  • Access mode: JDBC / Proxy
  • Governance mode: Standalone / Cluster
  • Registry/config center: ZooKeeper / Etcd / Consul / N/A

If topology is unknown, lower confidence only when topology affects classification. Mention topology in the default maintainer reply only when it changes the supportability decision.

Analysis Method (Classify First)

  1. Confirm the reported behavior from issue body and comments.
  2. Confirm expected behavior from official docs.
  3. Confirm actual behavior from repository code and tests.
  4. Classify issue type first:
    • Question
    • Misunderstanding / Invalid Usage
    • Bug
    • Duplicate
    • Enhancement
    • Out of Scope / Won't Fix
  5. Separate the problem classification from acceptance of the proposed solution.
  6. If behavior changes are needed, explain project responsibility, the narrowest accepted behavior, compatibility impact, and every new project commitment.

Complete root-cause analysis before Bug recommendations; for Question, Misunderstanding / Invalid Usage, and Out of Scope / Won't Fix, establish the decisive supportability or ownership evidence without inventing a code-level root cause.

Evidence Method

For every issue, keep an internal evidence ledger:

  1. Distinguish Observation (directly observed) from Inference (reasoned).
  2. Mark inferences explicitly.
  3. Every conclusion must bind to at least one traceable source (see Source Policy).
  4. If evidence conflicts, state the conflict explicitly and avoid forced certainty.
  5. Use stable evidence IDs for key statements:
    • OBS-<n> for directly observed facts.
    • INF-<n> for inferences.
  6. Every INF must reference one or more OBS internally.
  7. In the appended Reference Analysis, every conclusion in Problem Conclusion must reference at least one evidence ID.
  8. Include source URL/path near each OBS.
  9. For each key conclusion, output Confidence: High / Medium / Low.
  10. If confidence is Low, do not give a hard conclusion; switch to missing-info request flow.

In the maintainer reply portion, do not expose the evidence ledger unless it improves clarity or the user explicitly asks for evidence IDs.

Show full SKILL.md (1,409 more words)Show less

Conflict Resolution Rule

When evidence conflicts, apply this order:

  1. Official docs define expected behavior boundaries.
  2. Repository code/tests define actual current behavior.
  3. Issue statements/comments describe reported symptoms.

If docs and code conflict:

  • Infer Bug when code violates documented behavior.
  • Infer Documentation Gap when code is intentional but docs are outdated/unclear. Always mark this as Inference and cite both sources.

Type and Label Recommendation

Before final conclusion, provide issue type and label recommendations:

  • Question: recommend type: question
  • Misunderstanding / Invalid Usage: recommend type: question, status: invalid
  • Bug: recommend type: bug, optionally with module/database labels (for example in: SQL parse, db: SQLServer)
  • Enhancement: recommend type: enhancement; recommend status: volunteer wanted only after public evidence establishes project acceptance of the requested behavior boundary
  • Duplicate: recommend type: duplicate, optionally with module/database labels when the duplicate scope is clear
  • Out of Scope / Won't Fix: recommend closure with only an existing project label supported by repository or target-issue evidence; do not invent a label

When type is Bug/Enhancement/Duplicate, add module/database labels when evidence is sufficient:

  • Parser-related -> in: SQL parse
  • SQL bind-related -> in: SQL bind
  • Routing/rewrite/execution core -> in: Kernel
  • Proxy runtime/protocol -> in: Proxy
  • JDBC driver behavior -> in: JDBC
  • Database specific behavior -> db: <engine>

If module ownership is unclear, use only type/status labels first.

For Bug/Enhancement, provide severity and impact scope:

  • Severity:
    • S0: critical outage or severe data risk
    • S1: major functionality blocked
    • S2: partial impact with workaround
    • S3: minor impact or low-frequency edge case
  • Impact scope:
    • single SQL / single module / single database / cross-module / cross-database

Response Strategy by Type

Default to maintainer replies shaped by the issue type:

  1. Question
  • Answer directly in community voice.
  • Briefly cite the relevant docs/code behavior when needed.
  • Invite community members to share related experience, confirmations, alternative usage examples, or documentation improvements when appropriate.
  • Avoid making questions look like only maintainers may respond.
  • Recommend type: question and a close/follow-up action when appropriate.
  1. Misunderstanding / Invalid Usage
  • State clearly that the usage/configuration is not supported by current ShardingSphere.
  • Explain the violated rule, semantic boundary, or unsupported assumption.
  • Provide the correct usage when available.
  • Recommend type: question and status: invalid.
  • Do not ask for more reproduction details when docs/code already prove the usage is unsupported.
  1. Bug
  • Acknowledge the likely bug and summarize the verified mismatch.
  • Name affected module(s), key class(es), compatibility scope, and required test scope.
  • Invite a PR with code and tests if appropriate.
  • Recommend type: bug plus module/database labels.
  • Do not provide temporary workarounds.
  1. Duplicate
  • State that the issue is covered by the earlier fixing PR or original tracked issue.
  • Briefly explain the shared root cause using issue evidence and repository code/PR evidence.
  • Recommend verifying with a version that includes the fixing PR.
  • Recommend type: duplicate plus clear module/database labels, then close as duplicate.
  • Do not invite a new PR unless the reporter can still reproduce on a version that includes the fix.
  1. Enhancement
  • Acknowledge the requested behavior as new or changed capability.
  • State that classification as an Enhancement does not by itself accept implementation or expand the supported contract.
  • Explain ShardingSphere ownership, the narrowest requested behavior, new project commitments, compatibility impact, and expected tests before accepting implementation.
  • When acceptance remains a maintainer choice, request that decision and do not invite implementation yet.
  • Invite community contribution and recommend status: volunteer wanted only after public evidence establishes acceptance of the behavior boundary.
  • Recommend type: enhancement.
  1. Needs More Info
  • Ask only for facts that block classification or root-cause judgment.
  • Use one concise consolidated list and set a 7-14 day follow-up window.
  • Recommend status: need more info.
  1. Out of Scope / Won't Fix
  • Identify the official project-positioning, maintained-contract, or explicit public maintainer evidence that assigns the behavior to another owner or conflicts with the project boundary.
  • Explain why local usefulness, popularity, available implementation, or a superficially small change does not establish a ShardingSphere commitment.
  • Recommend closure without inviting a PR, and use only an existing label supported by repository or target-issue evidence.

For explicit Maintainer Reply + Reference Analysis and Reference Analysis Only modes, use the detailed four-/five-section structures in the output reference.

Detailed Output Resources

Read output-contract.md only when its trigger in Output Mode Selection applies. It contains reusable maintainer-reply templates, the Reference Analysis schemas, Codex chat delivery rules, and Markdown fence safety checks. Its templates guide structure; they do not replace evidence-based wording for the current issue.

Community Voice Guardrails

In the maintainer reply portion:

  • Do not start with Problem Understanding, Root Cause, Problem Analysis, or Problem Conclusion.
  • Do not expose OBS-* / INF-* evidence IDs unless the user explicitly asks for evidence IDs in the reply.
  • Do not write from a detached observer perspective such as the reporter wants or the issue asks.
  • Do not over-request reproduction details after the Problem Validity and Project Commitment Gate has enough evidence to classify unsupported, invalid, or out-of-scope behavior.
  • Do not recommend a PR for invalid usage unless reframed as a clearly justified enhancement.
  • Do not present an Enhancement classification, issue label, contributor interest, or available patch as proof that the project accepted a new behavior.
  • Do not generalize an exact existing behavior or special case into a wider database, dialect, topology, module, API, or SPI commitment without direct acceptance evidence.
  • For questions, invite broader community participation when it can help the issue author or improve documentation.

Before final output, run this self-check:

  • Role Check: The reply reads like a ShardingSphere maintainer answering in the issue thread.
  • Audience Check: The reply addresses the issue author directly when the author is known.
  • Decision Check: The first paragraph states the supportability/classification decision.
  • Reason Check: The explanation is grounded in official docs, repository code/tests, or issue content.
  • Traceability Check: The reply is supported by the internal evidence ledger; explicit two-part output includes the bridge sentence and Reference Analysis.
  • Action Check: The reply gives a clear next action, label recommendation, close recommendation, or PR expectation.

Missing Information Handling

If evidence is insufficient, do not guess. Explicitly list missing details and request them, for example:

  • ShardingSphere version and deployment mode (JDBC / Proxy)
  • Database type and version
  • Minimal reproducible SQL and configuration
  • Expected result vs actual result
  • Error stack trace and full log snippets
  • Related DistSQL / YAML configuration
  • Stable reproduction or intermittent behavior

When classified as Needs More Info:

  • Ask for the minimum missing evidence in one consolidated list.
  • Set a follow-up window: 7-14 days.
  • If no response after the window, recommend close with status: invalid (or project-default stale policy).

Documentation and Code Citation Rules

  • Documentation references in Reference Analysis mode must include concrete URLs.
  • Code behavior references in Reference Analysis mode must include concrete repository paths or class names.
  • In the maintainer reply portion, cite only the concise docs/code references needed to make the community answer trustworthy.
  • All references must comply with Source Policy.

If Java examples are included, use fenced java code blocks.

Extended Issue Types (First-Class Outcomes)

Extended types are valid final classifications when evidence supports them:

  • Duplicate
  • Needs More Info
  • Documentation Gap
  • Out of Scope / Won't Fix
  • Security (use responsible security disclosure workflow)

Each must still include a clear maintainer reply by default, with labels and next action. Append Reference Analysis only when the user explicitly requests a detailed or two-part output mode.

For a suspected undisclosed vulnerability, do not reproduce or deepen sensitive details in a public issue reply. Direct the reporter to the responsible disclosure process in docs/community/content/security/_index.en.md and keep the public reply limited to that safe next action.

Lightweight Lint Recommendation

For Maintainer Reply output, verify:

  • The reply addresses the issue author or community directly.
  • The first paragraph contains the decision.
  • The maintainer reply does not contain detailed report headings.
  • The reply includes a next action and label/close recommendation when appropriate.
  • For questions, the reply invites community participation when appropriate.

For explicit Reference Analysis output, also verify:

  • The bridge sentence appears before Reference Analysis in two-part mode.
  • Required detailed sections exist.
  • Required conclusion fields exist.
  • Evidence IDs are present and referenced.
  • Label format and type-label consistency are valid.

If lint fails, mark analysis as incomplete.

Prohibited Content

  • Do not recommend behavior that conflicts with official ShardingSphere conventions.
  • Do not provide certainty when evidence is insufficient.
  • Do not accept or invite implementation of a new project commitment before its ownership and narrow behavior boundary are established by public evidence.
  • Do not output a neutral machine-style report when the user asked for a reply to an issue author.
  • Do not append Reference Analysis unless the user explicitly requests it.
  • Source and workaround restrictions are governed by Source Policy and Response Strategy by Type.

© apache, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .codex/skills/analyze-issue of apache/shardingsphere.

  • SKILL.md
  • agents/openai.yaml
  • references/output-contract.md

Open the folder on GitHubat commit 44e364e

Compare with similar skills

Analyze Issue next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Analyze Issue compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyze Issue this skillapache/shardingsphere21k—~6.5kAutomated safety check: PassApache-2.0
Releaserogerpadilla/uql125—~842Automated safety check: PassMIT
Logfire Querypydantic/skills140—~2.2kAutomated safety check: PassMIT
Diagnose Clickhouse ErrorsFrankChen021/datastoria327—~610Automated safety check: PassCustom licence
Investigate CIClickHouse/ClickHouse50k—~11kAutomated safety check: NotesApache-2.0
Bigquery Troubleshootinggoogle/skills21k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Release

    rogerpadilla/uql

    Cut and publish a uql release - review the change, changelog entry, commit, version bump and tag, GitHub Release, npm publish, docs site.

    125 GitHub stars~842 tokensUpdated today
    DatabasesAuto-check passed
  • Logfire Query

    pydantic/skills

    Official

    Query and analyze Logfire telemetry data — traces, logs, spans, metrics, summaries, and SQL results.

    140 GitHub stars~2.2k tokensUpdated 6 days ago
    DatabasesAuto-check passed
  • Diagnose Clickhouse Errors

    FrankChen021/datastoria

    Diagnose ClickHouse runtime query failures when the user wants database-level cause and fix guidance from an error or numeric error code, not source-code root cause analysis.

    327 GitHub stars~610 tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Investigate CI

    ClickHouse/ClickHouse

    Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL.

    50k GitHub stars~11k tokensUpdated today
    DatabasesAuto-check: notes
  • Official

    Provides diagnostic workflows and step-by-step root-cause analysis procedures for actively broken, failing, or slow BigQuery jobs, execution graph and query plan stage bottlenecks, system…

    21k GitHub stars~2.5k tokensUpdated today
    DatabasesAuto-check passed

More from apache/shardingsphere

  • Review PR

    apache/shardingsphere

    Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.

    21k GitHub stars~6.4k tokensUpdated today
    Auto-check passed
  • Code Implementation

    apache/shardingsphere

    Implement, fix, refactor, or remove repository code under required scope, non-regression, verification, and review gates.

    21k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Coding Standards

    apache/shardingsphere

    Apply Apache ShardingSphere's written coding standards when explicitly requested, or when code-implementation routes task-changed production, test, script, build, generated, or Maven POM artifacts…

    21k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Gen Ut

    apache/shardingsphere

    Generate standard unit tests for one or more target classes in Apache ShardingSphere; cover requested behavior and every affected SUT-owned branch, enforce an explicitly requested numeric coverage…

    21k GitHub stars~3k tokensUpdated today
    Auto-check passed

Works with

Questions about Analyze Issue

What does Analyze Issue do?

Used to analyze Apache ShardingSphere community issues. An agent skill from apache/shardingsphere. Analyze Issue is an agent skill from apache/shardingsphere. Used to analyze Apache ShardingSphere community issues.

When should I use Analyze Issue?

Analyze Issue fits situations like: tasks that involve Root cause analysis.

How do I install Analyze Issue in Claude Code?

Run `npx skills add apache/shardingsphere --skill analyze-issue -a claude-code`. Or copy the skill folder (.codex/skills/analyze-issue in apache/shardingsphere) into .claude/skills/analyze-issue in your project. Claude Code loads it when a task matches its description.

How do I install Analyze Issue in Codex?

Run `npx skills add apache/shardingsphere --skill analyze-issue -a codex`. Or copy the skill folder (.codex/skills/analyze-issue in apache/shardingsphere) into .agents/skills/analyze-issue in your project. Codex loads it when a task matches its description.

Can I use Analyze Issue in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add apache/shardingsphere --skill analyze-issue -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analyze-issue, .gemini/skills/analyze-issue, .github/skills/analyze-issue and .opencode/skills/analyze-issue in your project.

What does Analyze Issue need to run?

Going by SKILL.md and its folder, Analyze Issue needs the command-line tools its instructions call (git) and credentials named GH_TOKEN and GITHUB_TOKEN. Our summary lists: A credential in GITHUB_TOKEN.

Does Analyze Issue access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Analyze Issue safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Analyze Issue use?

Analyze Issue is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analyze Issue use?

About 6.5k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Analyze Issue?

Skills that share tags, products or a category with Analyze Issue: Release (rogerpadilla/uql, 125 stars), Logfire Query (pydantic/skills, 140 stars), Diagnose Clickhouse Errors (FrankChen021/datastoria, 327 stars) and Investigate CI (ClickHouse/ClickHouse, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyze Issue?

apache (a GitHub organization) maintains it in apache/shardingsphere, which has 20,804 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: apache/shardingsphere on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.