From a864a334df2b0365d094eaa8b859a77f37a3d9cb Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:05:16 +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..45a40b9 --- /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..bd35a6f --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/debug-session", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "c7daa2e0aca80dfe0528c70b10ac484f28b557d5", + "treeHash": "49e88e17e4a9b26aa554f195001b3db75a5640a16c0e08ca1cf67fc49a876de9", + "generatedAt": "2025-11-28T10:14:34.762947Z", + "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": "c0dc607db8575458c409cbca90b6b16445d5b692ee94e608f102ff87c7cf1f86" + }, + { + "path": "commands/debug-session.md", + "sha256": "ffcf328e24211ea1b406e9f626c8f2dc8a6555c50d13083e889bc148c1438e28" + } + ], + "dirSha256": "49e88e17e4a9b26aa554f195001b3db75a5640a16c0e08ca1cf67fc49a876de9" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file