analyze-issue
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.
Install
mkdir -p .claude/skills/analyze-issue && curl -L -o skill.zip "https://mcp.directory/api/skills/download/4477" && unzip -o skill.zip -d .claude/skills/analyze-issue && rm skill.zipInstalls to .claude/skills/analyze-issue
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.
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).
Do not use blogs, third-party tutorials, or forum posts as evidence.
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
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 root-cause conclusion, 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, classify as Needs More Info and stop short of definitive root-cause claims.
Topology Check
Always record topology 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 and request missing info first.
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
- Enhancement
- If behavior changes are needed, explain scope and compatibility impact.
Always complete root-cause analysis before recommendations.
Evidence Method
For every issue:
- Distinguish Observation (directly observed) from Inference (reasoned).
- Mark inferences explicitly.
- Every conclusion must bind to at least one traceable source (see Source Policy).
- If evidence conflicts, state the conflict explicitly and avoid forced certainty.
- Use stable evidence IDs for key statements:
OBS-<n>for directly observed facts.INF-<n>for inferences.
- Every
INFmust reference one or moreOBS. - Every conclusion in
Problem Conclusionmust reference at least one evidence ID. - Include source URL/path near each
OBS. - For each key conclusion, output Confidence: High / Medium / Low.
- If confidence is Low, do not give a hard conclusion; switch to missing-info request flow.
Conflict Resolution Rule
When evidence conflicts, apply this order:
- Official docs define expected behavior boundaries.
- Repository code/tests define actual current behavior.
- 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 examplein: SQL parse,db: SQLServer) - Enhancement: recommend
type: enhancement, and optionallystatus: volunteer wantedto invite community contribution
When type is Bug/Enhancement, add module/database labels when evidence is sufficient:
- Parser-related ->
in: SQL parse - 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 riskS1: major functionality blockedS2: partial impact with workaroundS3: minor impact or low-frequency edge case
- Impact scope:
- single SQL / single module / single database / cross-module / cross-database
Response Strategy by Type
Type-specific rules:
- Question
- Answer directly and provide verifiable evidence.
- Use the four-section structure (see Mandatory Output Structure).
- Misunderstanding / Invalid Usage
- Clearly identify the misunderstanding or misuse.
- Explain why (documentation constraints, code behavior, or configuration facts).
- Use the four-section structure (see Mandatory Output Structure).
- Bug / Enhancement
- Provide code-level design suggestions (module boundaries, key classes, test scope, compatibility).
- Invite community contributors to submit PRs (including code and tests).
- Do not provide temporary workarounds.
- Use the five-section structure (see Mandatory Output Structure).
- Add a mandatory regression scope subsection covering:
- Affected modules
- Compatibility impact (API/config/behavior)
- Required test scope (unit/integration/e2e boundaries)
- Backward-compatibility notes and rollback hint
- Add a mandatory compatibility checklist:
- Behavior compatibility
- Configuration compatibility
- API/SPI compatibility
- SQL compatibility (dialect/version scope)
- If incompatibility exists, document migration note and rollback hint.
Mandatory Output Structure
Four-section structure (Question, Misunderstanding / Invalid Usage):
- Problem Understanding
- Root Cause
- Problem Analysis
- Problem Conclusion
Five-section structure (Bug, Enhancement):
- Problem Understanding
- Root Cause
- Problem Analysis
- Code-Level Design Suggestions
- Problem Conclusion
At the end of Problem Conclusion, append:
Evidence Confidence: High/Medium/LowSeverity: S0/S1/S2/S3(Bug/Enhancement required)Impact Scope: ...Topology: JDBC/Proxy + Standalone/ClusterIssue Type: ...Recommended Labels: ...Next Action: ...
For Bug/Enhancement, also append:
Compatibility: Behavior/Config/API-SPI/SQLRegression Scope: ...
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 must include concrete URLs.
- Code behavior references must include concrete repository paths or class names.
- 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 follow Mandatory Output Structure and include labels and next action.
Lightweight Lint Recommendation
Add a local checker (script or CI step) for analysis output quality:
- Verify required sections exist.
- Verify required conclusion fields exist.
- Verify evidence IDs are present and referenced.
- Verify label format and type-label consistency.
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.
- Source and workaround restrictions are governed by Source Policy and Response Strategy by Type.
More by apache
View all skills by apache →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversIntegrate with Hacker News to track ai trends, analyze artificial intelligence trends, and engage with top tech stories
Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
Unlock seamless Figma to code: streamline Figma to HTML with Framelink MCP Server for fast, accurate design-to-code work
MCP server for Ghidra reverse engineering. Enables AI assistants to decompile binaries, analyze functions, rename variab
Create modern React UI components instantly with Magic AI Agent. Integrates with top IDEs for fast, stunning design and
Official Laravel-focused MCP server for augmenting AI-powered local development. Provides deep context about your Larave
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.