testing-and-debugging

Diagnose and debug issues across the Vue 3 frontend, Flask backend, and Pandas stack.

1|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/alongor666/daylyreport --skill testing-and-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-and-debugging
Source: https://github.com/alongor666/daylyreport/tree/main/.claude/skills/testing-and-debugging
Command: npx skills add https://github.com/alongor666/daylyreport --skill testing-and-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide for diagnosing and debugging issues across the vehicle insurance data analysis platform's Vue 3 frontend, Flask backend, and Pandas data processing layers. It offers quick diagnostic workflows and proven troubleshooting steps to resolve common problems efficiently.

Core Features & Use Cases

  • Problem Layer Identification: Helps categorize issues as frontend, backend, or integration, guiding the user to the right diagnostic tools.
  • Diagnostic Commands: Provides essential commands for checking service status (lsof, ps aux), viewing logs (tail -f), and testing APIs (curl).
  • Common Issues Reference: Links to a detailed guide for frequent problems like data not refreshing, filters not working, chart display issues, API errors, and performance bottlenecks.
  • Logging Best Practices: Outlines effective logging strategies for both frontend (browser console) and backend (backend.log).
  • Use Case: A user reports that a chart is not displaying data. This skill guides them to check the browser console for ECharts errors, verify the chart container's dimensions, and inspect the data structure being passed to the chart component.

Quick Start

A user reports that the dashboard data is not refreshing. Diagnose the issue by checking backend logs and testing the API endpoint.

Frequently Asked Questions about testing-and-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose why data isn't refreshing in my Vue 3 dashboard?

Check if data is refreshing by inspecting the browser console for Vue errors, verifying the API endpoint responds with fresh data using curl, and confirming the backend service is running. Review Flask logs for failed requests and validate that Pandas data processing completed without errors.

What should I check when API errors occur in my Flask backend?

API errors typically stem from backend service failures, incorrect request formatting, or data processing issues. Check Flask logs for stack traces, verify the service is listening on the correct port with lsof, test the endpoint directly with curl, and inspect Pandas operations for data validation failures.

How do I troubleshoot charts not displaying in Vue 3?

Chart display issues usually involve container sizing, data structure mismatches, or missing dependencies. Check the browser console for ECharts errors, verify the chart container has explicit dimensions, inspect the data structure passed to the chart component, and confirm the API is returning the expected format.

Can I use this debugging approach across Vue frontend, Flask backend, and Pandas data processing?

Yes. This skill covers all three layers with problem-layer identification to categorize issues as frontend, backend, or integration. Use browser console for Vue, backend.log for Flask, and command-line verification for Pandas operations to pinpoint and fix problems across your stack.

What's the best way to identify whether an issue is frontend or backend?

Start by checking the browser console for client-side errors and network requests. If data loads but doesn't display, the issue is frontend. If the network request fails or returns incorrect data, inspect Flask logs and verify the backend service status with ps aux and lsof.

Why would filters stop working on my dashboard?

Filters fail when frontend state doesn't sync with backend, API parameters are malformed, or Pandas query logic has errors. Verify filter parameters are sent correctly in network requests, check Flask logs for query execution errors, and test the filtered API endpoint with curl to isolate the problem.