一键导入
debug-session
Start a debugging session with worklog file
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start a debugging session with worklog file
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | debug-session |
| description | Start a debugging session with worklog file |
| user-invocable | true |
| disable-model-invocation | true |
Create a structured debugging session for an issue in the Dynamo ecosystem.
Ask the user how they want to provide the bug:
Option A: Linear ticket
Option B: GitHub issue
gh issue view <url>Option C: Paste
Gather environment information:
!nvidia-smi --query-gpu=name,count --format=csv,noheader 2>/dev/null || echo "No GPU detected"
!uname -a
!which python && python --version
This tells you:
Note: The user's ~/.claude/CLAUDE.md may have more details about their dev environment (paths, aliases, preferences). Check there for additional context.
Create a worklog file to track the investigation:
<issue-slug>.md in current directory# Debug: [Issue Title]
**Date**: [today's date]
**Source**: [Linear ticket / GitHub issue / user report]
**Status**: investigating
**Environment**: [GPU type/count from nvidia-smi]
## Problem
[Description of the issue]
## Reproduction Steps
1. [Step to reproduce]
2. ...
## Expected vs Actual
- **Expected**:
- **Actual**:
## Investigation Log
### [timestamp]
[Notes on what you tried/found]
## Root Cause
[Fill in when found]
## Fix
[Fill in when implemented]
Rebuild Dynamo after making changes:
cd lib/bindings/python && maturin develop --uv && cd ../../.. && uv pip install -e .
If a framework change is required (sglang, vllm, trtllm), check the user's ~/.claude/CLAUDE.md for rebuild instructions specific to that framework.
Examples are located at: /home/ubuntu/dynamo/examples/backends/
Available backends:
sglang/launch/ - SGLang backend examplesvllm/launch/ - vLLM backend examplestrtllm/launch/ - TensorRT-LLM backend examplesBased on the bug report, determine which backend is relevant:
curl localhost:8000/v1/models
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "<model-name-from-above>",
"messages": [{"role": "user", "content": "Hello"}],
"max_tokens": 50
}'
KV cache and routing issues:
lib/llm/src/block_manager/kv_consolidator/tracker.rsZMQ / networking issues:
Multi-node / disaggregated issues:
nvidia-smi on each nodeProcess inspection:
ps aux | grep dynamo - check running processesnvidia-smi - GPU utilization and memoryss -tlnp | grep 8000 - check port bindingsjournalctl -u dynamo - systemd logs if applicablePerformance-critical code - avoid unnecessary abstractions or comments.
Maintain Dynamo Fern docs site -- add, update, move, or remove pages. Use for any documentation changes.
File a GitHub bug issue against ai-dynamo/dynamo using context from the current conversation.
Check CI status, analyze failures, and explain skips for a Dynamo PR
Generate optimized tool call parsers for dynamo from HuggingFace model chat templates. Use this when you need to add support for a new model's tool calling format. Takes a HuggingFace model name, analyzes its chat template, compares with existing parsers, and either maps to existing parser or generates new Rust code with tests for the dynamo tool_calling library.