Automates the analysis and classification of ShardingSphere GitHub issues with standardized responses.
Install
mkdir -p .claude/skills/analyze-issue && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4477" && unzip -o skill.zip -d .claude/skills/analyze-issue && rm skill.zipInstalls to .claude/skills/analyze-issue
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Used to analyze Apache ShardingSphere community issues. Emphasizes root-cause-first and evidence-first analysis with issue-type classification before conclusions, and outputs traceable results plus label recommendations in a fixed four- or five-section structure.Key capabilities
- →Classify issues into bug/enhancement/support
- →Draft maintainer responses with project-specific tone
- →Extract evidence IDs and reference documentation
- →Suggest relevant GitHub labels
How it works
Applies a standardized triage checklist to classify issues and generates a structured response using project documentation as the evidence base.
Inputs & outputs
When to use analyze-issue
- →Classify community issues
- →Generate maintainer responses
- →Identify issue root causes
About this skill
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 a two-part, copy-ready GitHub issue comment:
- Maintainer Reply: A concise Apache ShardingSphere maintainer reply written directly to the issue author.
- Reference Analysis: A detailed evidence-based analysis appended after the reply for reviewers, maintainers, and follow-up contributors.
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, or needs more information.
- 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.
After the maintainer reply, add a short bridge sentence before the reference analysis:
The reply above is based on the analysis below; the detailed reasoning is kept here for reference and follow-up contributors.
The default reference analysis must:
- Preserve the detailed four-/five-section structure in
Reference Analysis Output Structure. - Include evidence IDs,
Issue Type,Recommended Labels, andNext Action. - Make the maintainer reply traceable without making the opening reply feel like a report.
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.
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 or prior fix relationship.
Do not use blogs, third-party tutorials, or forum posts as evidence.
Output Mode Selection
Choose output mode before drafting:
- Maintainer Reply + Reference Analysis (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 Only (explicit only): Use only when the user asks for a concise reply/comment only, no detailed analysis, or no appendix.
- 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. In the default output, keep evidence IDs and report sections in the appended Reference Analysis, not in the opening maintainer reply.
Fast Triage Gate
Run this 3-question triage first and record a provisional type:
- Can the behavior be reproduced with version + mode + SQL + config + log evidence?
- Is the expected behavior explicitly documented in official ShardingSphere docs?
- 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:
- Search by the issue's error message, exception class, key SQL token, affected class/method, and module labels.
- 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. - 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. - Record the fixing PR number, merge state, merge commit, linked issue, target milestone/version, and changed module/class evidence when available.
- If a fixing PR or original issue is found and covers the same root cause, classify the new issue as
Duplicateinstead of a freshBugorEnhancement. - 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 branchand keep the primary type asBugorEnhancementas appropriate.
Before classifying an issue as Duplicate, check the evidence against at least one relevant counterexample or negative scenario:
- Same error message but different affected class, SQL token, configuration, or call path -> do not classify as
Duplicate. - Same symptom but the fixing PR is not merged into the upstream target branch -> do not say
already fixed; classify asBug,Enhancement, orNeeds More Infoas appropriate. - 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.
- 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.
Reasonability Gate
Run this gate before asking for more reproduction details:
- Is the request about configuration, usage, rule semantics, SQL support boundaries, or expected feature behavior?
- Do official docs or repository code already define the behavior boundary clearly enough?
- Would the requested behavior require a new semantic contract rather than fixing a mismatch?
If the answer supports invalid usage or unsupported behavior, classify as Misunderstanding / Invalid Usage or Question and answer directly.
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.
Use Needs More Info only when missing facts block the supportability decision or root-cause classification.
Intake Workflow
- Identify the issue number from user input.
- Use the canonical URL:
https://github.com/apache/shardingsphere/issues/${issueNO}. - Try normal browsing first.
- If normal access fails, use curl fallback:
curl -L -sS "https://github.com/apache/shardingsphere/issues/${issueNO}"
- If structured data is needed, use the GitHub API:
curl -sS -H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/apache/shardingsphere/issues/${issueNO}"
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)
- Confirm the reported behavior from issue body and comments.
- Confirm expected behavior from official docs.
- Confirm actual behavior from repository code and tests.
- Classify issue type first:
- Question
- Misunderstanding / Invalid Usage
- Bug
- Duplicate
- Enhancement
- If behavior changes are needed, explain scope and compatibility impact.
Always complete root-cause analysis before recommendations.
Evidence Method
For every issue, keep an internal evidence ledger:
- Distinguish Observation (directly observed) from Inference (reasoned).
- Mar
Content truncated.
When not to use it
- →Non-Apache ShardingSphere projects
- →High-severity security vulnerability reporting
Prerequisites
Limitations
- →Limited to ShardingSphere domain knowledge
- →Requires human review for final issue closure
- →Voice matching relies on static templates
How it compares
Ensures consistency in community communication and enforces a rigorous evidence-based triage process.
Compared to similar skills
analyze-issue side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| analyze-issue (this skill) | 1 | 2mo | Review | Beginner |
| deepwiki-rs | 25 | 9mo | Review | Intermediate |
| python-code-style | 9 | 6mo | Review | Intermediate |
| code-review-excellence | 19 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by apache
View all by apache →You might also like
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
python-code-style
wshobson
Python code style, linting, formatting, naming conventions, and documentation standards. Use when writing new code, reviewing style, configuring linters, writing docstrings, or establishing project standards.
code-review-excellence
wshobson
Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.
code-walk-thru
pchalasani
Use this when user wants you to walk through (code or text) files in a EDITOR to either explain how some code works, or to show the user what changes you made, etc. You would typically use this repeatedly to show the user your changes or code files one by one, sometimes with specific line-numbers. This way the user is easily able to follow along in their favorite EDITOR as you point at various files possibly at specific line numbers within those files.
cookbook-audit
anthropics
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
schema-markup
davila7
When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," or "breadcrumb schema." For broader SEO issues, see seo-audit.