flexport-debug-bundle

Featured

Collect Flexport API debug evidence for support tickets and troubleshooting. Use when encountering persistent API issues, preparing support tickets, or collecting diagnostic information for Flexport logistics problems. Trigger: "flexport debug", "flexport support bundle", "flexport diagnostic".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Flexport Debug Bundle ## Overview Collect all necessary diagnostic information for Flexport support tickets. The bundle captures API connectivity, authentication status, recent shipment data, and error logs while automatically redacting secrets. ## Instructions ### Step 1: Create Debug Bundle Script ```bash #!/bin/bash # flexport-debug.sh — run with: bash flexport-debug.sh set -euo pipefail BUNDLE="flexport-debug-$(date +%Y%m%d-%H%M%S)" mkdir -p "$BUNDLE" echo "=== Flexport Debug Bundle ===" | tee "$BUNDLE/summary.txt" echo "Generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "$BUNDLE/summary.txt" echo "Node: $(node --version 2>/dev/null || echo 'not found')" >> "$BUNDLE/summary.txt" echo "API Key set: ${FLEXPORT_API_KEY:+YES}" >> "$BUNDLE/summary.txt" ``` ### Step 2: Test API Connectivity ```bash # API health and auth check echo -e "\n--- API Connectivity ---" >> "$BUNDLE/summary.txt" RESPONSE=$(curl -s -w "\n%{http_code}" \ -H "Authorization: Bearer $FLEXPORT_API_KEY" \ -H "Flexport-Version: 2" \ https://api.flexport.com/shipments?per=1 2>&1) HTTP_CODE=$(echo "$RESPONSE" | tail -1) BODY=$(echo "$RESPONSE" | head -n -1) echo "HTTP Status: $HTTP_CODE" >> "$BUNDLE/summary.txt" echo "$BODY" | jq '{total_count: .data.total_count, has_records: (.data.records | length > 0)}' \ >> "$BUNDLE/api-test.json" 2>/dev/null || echo "Parse failed" >> "$BUNDLE/api-test.json" ``` ### Step 3: Capture Recent Errors ```bash # Collect recent error logs (redacted) echo -e "\n--- R...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category