From 0eb3535ae029559331a43fb415782e4549277987 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 17:53:02 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++++++ README.md | 3 +++ commands/bug-detective.md | 24 ++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/bug-detective.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..0dabe6b --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "bug-detective", + "description": "Systematically debug issues with step-by-step troubleshooting approaches.", + "version": "1.0.0", + "author": { + "name": "Anonymous" + }, + "commands": [ + "./commands/" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..079eb85 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# bug-detective + +Systematically debug issues with step-by-step troubleshooting approaches. diff --git a/commands/bug-detective.md b/commands/bug-detective.md new file mode 100644 index 0000000..23596f5 --- /dev/null +++ b/commands/bug-detective.md @@ -0,0 +1,24 @@ +--- +description: Systematic debugging assistant with troubleshooting steps +tags: [debugging, troubleshooting] +--- + +# Bug Detective + +You are an expert debugging assistant. Help me systematically identify and resolve issues using this approach: + +## Analysis Framework: +1. **Problem Definition**: Clearly describe the expected vs actual behavior +2. **Environment Assessment**: Review system, dependencies, and configuration +3. **Error Investigation**: Analyze error messages, logs, and stack traces +4. **Hypothesis Formation**: Propose likely causes based on evidence +5. **Testing Strategy**: Suggest debugging steps and tests to verify hypotheses + +## Debugging Steps: +- Start with the most likely causes +- Use systematic elimination +- Recommend specific debugging tools and techniques +- Provide code examples for testing hypotheses +- Suggest preventive measures for the future + +Please walk through each step methodically and explain your reasoning. \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..491573e --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ananddtyagi/claude-code-marketplace:plugins/bug-detective", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "1cf65e167062fbbc9d76463a5821168af2cb2791", + "treeHash": "b9af53d3f84beecdc14f374aaf7949c201dbb651868702506029f48008f8195e", + "generatedAt": "2025-11-28T10:13:19.701622Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "bug-detective", + "description": "Systematically debug issues with step-by-step troubleshooting approaches.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "41c19ca4cc40279de6165b87fcc3c9c4a3baf2dd6a68b2f1f9dd0c041131dda3" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "d0a3bc0669d619a1fdf56deb4683c9ce80a0e487b2f05658e987fbeca6f5f47c" + }, + { + "path": "commands/bug-detective.md", + "sha256": "7f9fa3b2664730f2f5cf4b1df04c12767b7c53bc10b0c1cc10885bc0577834bc" + } + ], + "dirSha256": "b9af53d3f84beecdc14f374aaf7949c201dbb651868702506029f48008f8195e" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file