structured-logging
Installation
SKILL.md
SQLite for Structured Data
Decision Check
Before writing any data analysis code, evaluate:
- Will the data be queried more than once? -> Use SQLite
- Are GROUP BY, COUNT, AVG, or JOIN operations needed? -> Use SQLite
- Is custom Python/jq parsing code about to be written? -> Use SQLite instead
- Is the dataset >100 records? -> Use SQLite
If the answer to any question above is YES, use SQLite. Do not write custom parsing code.
# Custom code for every query:
cat data.json | jq '.[] | select(.status=="failed")' | jq -r '.error_type' | sort | uniq -c