AgentSkillsCN

debug-logs

帮助调试测试失败问题,并在SnapLogic Robot Framework项目中查看日志。当用户想要查看测试结果、检查容器日志、调试特定的测试失败,或运行环境诊断时使用此功能。

SKILL.md
--- frontmatter
name: debug-logs
description: Helps debug test failures and view logs in the SnapLogic Robot Framework project. Use when the user wants to view test results, check container logs, debug specific test failures, or run environment diagnostics.
user-invocable: true

Debug Logs Skill

Agentic Workflow (Claude: Follow these steps in order)

Step 1: Load the Complete Guide

code
ACTION: Use the Read tool to load:
{{cookiecutter.primary_pipeline_name}}/.claude/skills/debug-logs/SKILL.md

Do not proceed until you have read the complete guide.

Step 2: Understand the User's Request

Parse what the user wants:

  • View test results?
  • Check container/service logs?
  • Debug a specific test failure?
  • Environment diagnostics?
  • Network troubleshooting?

Step 3: Follow the Guide

Use the detailed instructions from the file you loaded in Step 1 to:

  • Provide correct log viewing commands
  • Guide through debugging checklist
  • Help interpret error messages

Step 4: Respond to User

Provide debugging guidance and commands based on the complete guide.


Quick Reference

This guide covers:

  • Quick debugging checklist
  • Viewing test results
  • Container and service logs
  • Environment diagnostics
  • Network troubleshooting
  • Common error patterns