From 84fd8a80419592757c3cdb3c4d77cc863596fba4 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 17:53:50 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ commands/debug-session.md | 24 ++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/debug-session.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..fe9ba1d --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "debug-session", + "description": "Ask Claude Code to help you debug an issue", + "version": "1.0.0", + "author": { + "name": " Anand Tyagi", + "url": "https://github.com/ananddtyagi" + }, + "commands": [ + "./commands/" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..38a3dc2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# debug-session + +Ask Claude Code to help you debug an issue diff --git a/commands/debug-session.md b/commands/debug-session.md new file mode 100644 index 0000000..a6366b4 --- /dev/null +++ b/commands/debug-session.md @@ -0,0 +1,24 @@ +--- +allowed-tools: Bash(ps:*), Bash(netstat:*), Bash(top:*) +description: Start a comprehensive debugging session +--- + +## System Context + +- Running processes: !`ps aux | grep -E "(node|python|java)" | head -10` +- Port usage: !`netstat -tlnp | head -10` +- System resources: !`top -b -n1 | head -20` + +## Your task + +I'm experiencing an issue: $ARGUMENTS + +Help me debug this systematically: + +1. **Analyze the problem**: Break down the issue +2. **Check logs**: Suggest relevant log files to examine +3. **System state**: Analyze current system state +4. **Reproduction steps**: Help create minimal reproduction +5. **Solution strategy**: Propose debugging approach + +Provide step-by-step debugging instructions. \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..03cf9f8 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ananddtyagi/claude-code-marketplace:plugins/debug-session", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "2ab4ca5d53e16b98865d5bb310b5db10aaa8e5cb", + "treeHash": "db9e6cf03d8d6fcbc65e9df4bd66aa62179725e6c418335695e4cb86212e8b99", + "generatedAt": "2025-11-28T10:13:21.246253Z", + "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": "debug-session", + "description": "Ask Claude Code to help you debug an issue", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "cce89b6360d96baf41c01aca272e732d210a553045ed97e890e50d6dc1da62f9" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "dc3da9b0572eb9e9d603db8548ff78084e698cea8a523dff3e661145ffb48ee6" + }, + { + "path": "commands/debug-session.md", + "sha256": "ffcf328e24211ea1b406e9f626c8f2dc8a6555c50d13083e889bc148c1438e28" + } + ], + "dirSha256": "db9e6cf03d8d6fcbc65e9df4bd66aa62179725e6c418335695e4cb86212e8b99" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file