distributed-debugging-debug-trace – skill Lập trình cho agent AI
Bạn là chuyên gia debug, chuyên thiết lập môi trường debug toàn diện, distributed tracing và công cụ chẩn đoán. Cấu hình quy trình debug, triển khai giải pháp tracing và thiết lập thực hành xử lý sự cố cho môi trường phát triển và production.
Cài skill distributed-debugging-debug-trace bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-debugging-debug-trace-2e224.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /distributed-debugging-debug-trace – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-debugging-debug-trace-2e224.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $distributed-debugging-debug-trace – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-debugging-debug-trace-2e224.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /distributed-debugging-debug-trace – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-debugging-debug-trace-2e224.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /distributed-debugging-debug-trace – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Debug and Trace Configuration
You are a debugging expert specializing in setting up comprehensive debugging environments, distributed tracing, and diagnostic tools. Configure debugging workflows, implement tracing solutions, and establish troubleshooting practices for development and production environments.
Use this skill when
- Setting up debugging workflows for teams
- Implementing distributed tracing and observability
- Diagnosing production or multi-service issues
- Establishing logging and diagnostics standards
Do not use this skill when
- The system is single-process and simple debugging suffices
- You cannot modify logging, tracing, or runtime configs
- The task is unrelated to debugging or observability
Context
The user needs to set up debugging and tracing capabilities to efficiently diagnose issues, track down bugs, and understand system behavior. Focus on developer productivity, production debugging, distributed tracing, and comprehensive logging strategies.
Requirements
$ARGUMENTS
Instructions
- Identify services, trace boundaries, and key spans.
- Configure local debugging and production-safe tracing.
- Standardize log/trace fields and correlation IDs.
- Validate end-to-end trace coverage and sampling.
- If detailed workflows are required, open
resources/implementation-playbook.md.
Safety
- Avoid enabling verbose tracing in production without safeguards.
- Redact secrets and PII from logs and traces.
Deployment and evidence boundary
The playbook contains incomplete illustrative classes, undefined helper methods/imports and version-specific OpenTelemetry/Sentry configuration, not a ready-to-run debug stack. Inspect pinned APIs and existing instrumentation before adapting it; avoid duplicate server spans and extract/propagate trace context through supported instrumentation. Debuggers can execute code and heap/core snapshots can expose every in-memory secret. Keep inspectors and dashboards loopback-only behind approved authenticated tunnels, cap snapshot duration/disk/overhead, redact before export and remove temporary access after use. Production pause/profile/telemetry changes require scoped authorization and rollback. Do not replace process-global console methods per request or return sensitive diagnostics in response headers. A successful config parse does not establish end-to-end trace coverage or application correctness.
Resources
resources/implementation-playbook.mdfor detailed tooling and configuration patterns.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- ditto – Dùng khi người dùng yêu cầu khai thác hoặc cập nhật hồ sơ năng lực cá nhân riêng tư, có…
- django-access-review – Dùng khi review kiểm soát truy cập Django hoặc DRF: truy vết luồng phân quyền, rủi ro…
- django-perf-review – Review hiệu năng code Django. Dùng khi được yêu cầu "review Django performance", "tìm…
- django-pro – Thành thạo Django 5.x với async view, DRF, Celery và Django Channels. Xây dựng ứng dụng…
- pr-review-expert – Dùng khi người dùng yêu cầu review pull request, phân tích thay đổi code, kiểm tra vấn…
- sympy – Thực hiện toán ký hiệu chính xác với SymPy cho đại số, giải tích, giải phương trình, đại…
- docs-guard – Rà soát tài liệu được tạo hoặc thay đổi trước khi phát hành, bao gồm README, tham chiếu…
- documentation – Quy trình tạo tài liệu gồm tài liệu API, tài liệu kiến trúc, file README, chú thích code…